#include <stl_alloc.h>
Collaboration diagram for std::__default_alloc_template< threads, inst >:
Static Public Methods | |
void * | allocate (size_t __n) |
void | deallocate (void *__p, size_t __n) |
void * | reallocate (void *__p, size_t __old_sz, size_t __new_sz) |
Private Types | |
enum | { _ALIGN = 8 } |
enum | { _MAX_BYTES = 128 } |
enum | { _NFREELISTS = 16 } |
Static Private Methods | |
size_t | _S_round_up (size_t __bytes) |
size_t | _S_freelist_index (size_t __bytes) |
void * | _S_refill (size_t __n) |
char * | _S_chunk_alloc (size_t __size, int &__nobjs) |
Static Private Attributes | |
_Obj *__STL_VOLATILE | _S_free_list [] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, } |
char * | _S_start_free = 0 |
char * | _S_end_free = 0 |
size_t | _S_heap_size = 0 |
Friends | |
class | _Lock |
|
Definition at line 276 of file stl_alloc.h. |
|
Definition at line 277 of file stl_alloc.h. |
|
Definition at line 278 of file stl_alloc.h. |
|
|
Definition at line 290 of file stl_alloc.h. References std::__default_alloc_template< threads, inst >::_ALIGN. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(), std::__default_alloc_template< threads, inst >::_S_refill(), std::__default_alloc_template< threads, inst >::allocate(), and std::__default_alloc_template< threads, inst >::deallocate(). |
|
Definition at line 470 of file stl_alloc.h. References std::__default_alloc_template< threads, inst >::_S_chunk_alloc(), std::__default_alloc_template< threads, inst >::_S_free_list, and std::__default_alloc_template< threads, inst >::_S_freelist_index(). Referenced by std::__default_alloc_template< threads, inst >::allocate(). |
|
Definition at line 280 of file stl_alloc.h. References std::__default_alloc_template< threads, inst >::_ALIGN. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(), std::__default_alloc_template< threads, inst >::allocate(), and std::__default_alloc_template< threads, inst >::reallocate(). |
|
|
Definition at line 353 of file stl_alloc.h. References std::__default_alloc_template< threads, inst >::_MAX_BYTES, std::__default_alloc_template< threads, inst >::_S_free_list, std::__default_alloc_template< threads, inst >::_S_freelist_index(), and deallocate(). Referenced by std::__default_alloc_template< threads, inst >::reallocate(). |
|
|
Definition at line 313 of file stl_alloc.h. |
|
Definition at line 531 of file stl_alloc.h. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(). |
|
Definition at line 540 of file stl_alloc.h. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(), std::__default_alloc_template< threads, inst >::_S_refill(), std::__default_alloc_template< threads, inst >::allocate(), and std::__default_alloc_template< threads, inst >::deallocate(). |
|
Definition at line 534 of file stl_alloc.h. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(). |
|
Definition at line 528 of file stl_alloc.h. Referenced by std::__default_alloc_template< threads, inst >::_S_chunk_alloc(). |