#include <stl_alloc.h>
Collaboration diagram for std::__default_alloc_template< __threads, inst >:
Static Public Member Functions | |
static void * | allocate (size_t n) |
static void | deallocate (void *__p, size_t n) |
static void * | reallocate (void *__p, size_t __old_sz, size_t new_sz) |
Private Types | |
enum | { ALIGN } |
enum | { MAXBYTES } |
enum | { NFREELISTS } |
Static Private Member Functions | |
static size_t | S_round_up (size_t __bytes) |
static size_t | S_freelist_index (size_t __bytes) |
static void * | S_refill (size_t n) |
static char * | S_chunk_alloc (size_t size, int &nobjs) |
Static Private Attributes | |
static Obj *volatile | S_free_list [NFREELISTS] |
static char * | S_start_free |
static char * | S_end_free |
static size_t | S_heap_size |
static STL_mutex_lock | S_node_allocator_lock |
static Atomic_word | S_force_new |
Friends | |
struct | Lock |
Classes | |
struct | Lock |
union | Obj |
Definition at line 333 of file stl_alloc.h.
anonymous enum [private] |
anonymous enum [private] |
anonymous enum [private] |