casacore
|
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | mallinfo |
Macros | |
#define | MALLOC_280_H |
#define | ONLY_MSPACES |
#define | NO_MALLINFO |
#define | dlcalloc |
#define | dlfree |
#define | dlmalloc |
#define | dlmemalign |
#define | dlrealloc |
#define | dlvalloc |
#define | dlpvalloc |
#define | dlmallinfo |
#define | dlmallopt |
#define | dlmalloc_trim |
#define | dlmalloc_stats |
#define | dlmalloc_usable_size |
#define | dlmalloc_footprint |
#define | dlindependent_calloc |
#define | dlindependent_comalloc |
#define | MALLINFO_FIELD_TYPE |
#define | STRUCT_MALLINFO_DECLARED |
#define | M_TRIM_THRESHOLD |
#define | M_GRANULARITY |
#define | M_MMAP_THRESHOLD |
Typedefs | |
typedef void * | mspace |
Functions | |
void * | dlmalloc (size_t) |
void | dlfree (void *) |
void * | dlcalloc (size_t, size_t) |
void * | dlrealloc (void *, size_t) |
void * | dlmemalign (size_t, size_t) |
void * | dlvalloc (size_t) |
int | dlmallopt (int, int) |
size_t | dlmalloc_footprint () |
struct mallinfo | dlmallinfo (void) |
for (i=0;i< n-1;++i) pool[i]-> next=pool[i+1] | |
free (pool) | |
*void ** | dlindependent_calloc (size_t, size_t, void **) |
void * | dlpvalloc (size_t) |
int | dlmalloc_trim (size_t) |
void | dlmalloc_stats () |
size_t | dlmalloc_usable_size (void *) |
mspace | create_mspace (size_t capacity, int locked) |
size_t | destroy_mspace (mspace msp) |
mspace | create_mspace_with_base (void *base, size_t capacity, int locked) |
int | mspace_track_large_chunks (mspace msp, int enable) |
void * | mspace_malloc (mspace msp, size_t bytes) |
void | mspace_free (mspace msp, void *mem) |
void * | mspace_realloc (mspace msp, void *mem, size_t newsize) |
void * | mspace_calloc (mspace msp, size_t n_elements, size_t elem_size) |
void * | mspace_memalign (mspace msp, size_t alignment, size_t bytes) |
void ** | mspace_independent_calloc (mspace msp, size_t n_elements, size_t elem_size, void *chunks[]) |
void ** | mspace_independent_comalloc (mspace msp, size_t n_elements, size_t sizes[], void *chunks[]) |
size_t | mspace_footprint (mspace msp) |
struct mallinfo | mspace_mallinfo (mspace msp) |
size_t | mspace_usable_size (void *mem) |
void | mspace_malloc_stats (mspace msp) |
int | mspace_trim (mspace msp, size_t pad) |
int | mspace_mallopt (int, int) |
Variables | |
struct Node * | first |
In general | though |
mspace create_mspace | ( | size_t | capacity, |
int | locked | ||
) |
mspace create_mspace_with_base | ( | void * | base, |
size_t | capacity, | ||
int | locked | ||
) |
size_t destroy_mspace | ( | mspace | msp | ) |
void* dlcalloc | ( | size_t | , |
size_t | |||
) |
void dlfree | ( | void * | ) |
* void** dlindependent_calloc | ( | size_t | , |
size_t | , | ||
void ** | |||
) |
struct mallinfo dlmallinfo | ( | void | ) |
void* dlmalloc | ( | size_t | ) |
size_t dlmalloc_footprint | ( | ) |
void dlmalloc_stats | ( | ) |
int dlmalloc_trim | ( | size_t | ) |
size_t dlmalloc_usable_size | ( | void * | ) |
int dlmallopt | ( | int | , |
int | |||
) |
void* dlmemalign | ( | size_t | , |
size_t | |||
) |
void* dlpvalloc | ( | size_t | ) |
void* dlrealloc | ( | void * | , |
size_t | |||
) |
void* dlvalloc | ( | size_t | ) |
for | ( | ) |
free | ( | pool | ) |
void* mspace_calloc | ( | mspace | msp, |
size_t | n_elements, | ||
size_t | elem_size | ||
) |
size_t mspace_footprint | ( | mspace | msp | ) |
void mspace_free | ( | mspace | msp, |
void * | mem | ||
) |
void** mspace_independent_calloc | ( | mspace | msp, |
size_t | n_elements, | ||
size_t | elem_size, | ||
void * | chunks[] | ||
) |
void** mspace_independent_comalloc | ( | mspace | msp, |
size_t | n_elements, | ||
size_t | sizes[], | ||
void * | chunks[] | ||
) |
void* mspace_malloc | ( | mspace | msp, |
size_t | bytes | ||
) |
void mspace_malloc_stats | ( | mspace | msp | ) |
int mspace_mallopt | ( | int | , |
int | |||
) |
void* mspace_memalign | ( | mspace | msp, |
size_t | alignment, | ||
size_t | bytes | ||
) |
void* mspace_realloc | ( | mspace | msp, |
void * | mem, | ||
size_t | newsize | ||
) |
int mspace_track_large_chunks | ( | mspace | msp, |
int | enable | ||
) |
int mspace_trim | ( | mspace | msp, |
size_t | pad | ||
) |
size_t mspace_usable_size | ( | void * | mem | ) |
return first |
Definition at line 330 of file malloc.h.
Referenced by casacore::accumulateFalse(), casacore::accumulateTrue(), ao::uvector< value_t >::assign(), ao::uvector< value_t >::assign_from_range(), ao::uvector< value_t >::construct_from_range(), ao::uvector< value_t >::erase(), ao::uvector< value_t >::insert(), ao::uvector< value_t >::insert_from_range(), ao::uvector< value_t >::push_back(), ao::uvector< value_t >::push_back_range(), and ao::uvector< value_t >::uvector().