Nugget
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MallocAllocator Class Reference

Public Member Functions

 MallocAllocator (const char *=EASTL_NAME_VAL("MallocAllocator"))
 
 MallocAllocator (const MallocAllocator &x)
 
 MallocAllocator (const MallocAllocator &x, const char *)
 
MallocAllocatoroperator= (const MallocAllocator &x)
 
void * allocate (size_t n, int=0)
 
void * allocate (size_t n, size_t, size_t, int=0)
 
void deallocate (void *p, size_t n)
 
const char * get_name () const
 
void set_name (const char *)
 

Static Public Member Functions

static void reset_all ()
 

Public Attributes

int mAllocCount
 
int mFreeCount
 
size_t mAllocVolume
 

Static Public Attributes

static int mAllocCountAll = 0
 
static int mFreeCountAll = 0
 
static size_t mAllocVolumeAll = 0
 
static void * mpLastAllocation = NULL
 

The documentation for this class was generated from the following files: