casa
5.7.0-16
|
#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 | ) |
Referenced by casa::ExpCache< CF_TYPE >::build(), asdm::TableStreamReader< T, R >::close(), casacore::casacore_allocator< T, ALIGNMENT >::deallocate(), casa::SynthesisImagerMixin< T >::getCFCacheList(), casa::sdfiller::Deleter::operator()(), casatools::State::setDataPath(), casa::CExp3< CF_TYPE >::~CExp3(), casa::ExpCache< CF_TYPE >::~ExpCache(), and casacore::MultiFileBuffer::~MultiFileBuffer().
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(), casa::vi::chunk(), casa::SubChunkPair::chunk(), casa::NRO2MSReader::convertEndian(), casa::SubChunkPair::incrementChunk(), casa::SubChunkPair::operator<(), casa::SubChunkPair::operator==(), and casa::SubChunkPair::resetToOrigin().