Geant4_10
|
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | mallinfo |
Macros | |
#define | MSPACES 1 |
#define | ONLY_MSPACES 0 /* define to a value */ |
#define | NO_MALLINFO 0 |
#define | dlcalloc mycalloc |
#define | dlfree myfree |
#define | dlmalloc mymalloc |
#define | dlmemalign mymemalign |
#define | dlrealloc myrealloc |
#define | dlvalloc myvalloc |
#define | dlpvalloc mypvalloc |
#define | dlmallinfo mymallinfo |
#define | dlmallopt mymallopt |
#define | dlmalloc_trim mymalloc_trim |
#define | dlmalloc_stats mymalloc_stats |
#define | dlmalloc_usable_size mymalloc_usable_size |
#define | dlmalloc_footprint mymalloc_footprint |
#define | dlindependent_calloc myindependent_calloc |
#define | dlindependent_comalloc myindependent_comalloc |
#define | MALLINFO_FIELD_TYPE size_t |
#define | STRUCT_MALLINFO_DECLARED 1 |
#define | M_TRIM_THRESHOLD (-1) |
#define | M_GRANULARITY (-2) |
#define | M_MMAP_THRESHOLD (-3) |
Typedefs | |
typedef void * | mspace |
#define dlcalloc mycalloc |
Definition at line 47 of file mymalloc.h.
#define dlfree myfree |
Definition at line 48 of file mymalloc.h.
#define dlindependent_calloc myindependent_calloc |
Definition at line 60 of file mymalloc.h.
#define dlindependent_comalloc myindependent_comalloc |
Definition at line 61 of file mymalloc.h.
#define dlmallinfo mymallinfo |
Definition at line 54 of file mymalloc.h.
#define dlmalloc mymalloc |
Definition at line 49 of file mymalloc.h.
#define dlmalloc_footprint mymalloc_footprint |
Definition at line 59 of file mymalloc.h.
void dlmalloc_stats mymalloc_stats |
Definition at line 57 of file mymalloc.h.
#define dlmalloc_trim mymalloc_trim |
Definition at line 56 of file mymalloc.h.
#define dlmalloc_usable_size mymalloc_usable_size |
Definition at line 58 of file mymalloc.h.
#define dlmallopt mymallopt |
Definition at line 55 of file mymalloc.h.
#define dlmemalign mymemalign |
Definition at line 50 of file mymalloc.h.
#define dlpvalloc mypvalloc |
Definition at line 53 of file mymalloc.h.
#define dlrealloc myrealloc |
Definition at line 51 of file mymalloc.h.
#define dlvalloc myvalloc |
Definition at line 52 of file mymalloc.h.
#define M_GRANULARITY (-2) |
Definition at line 185 of file mymalloc.h.
#define M_MMAP_THRESHOLD (-3) |
Definition at line 186 of file mymalloc.h.
#define M_TRIM_THRESHOLD (-1) |
Definition at line 184 of file mymalloc.h.
#define MALLINFO_FIELD_TYPE size_t |
Definition at line 67 of file mymalloc.h.
#define MSPACES 1 |
Definition at line 28 of file mymalloc.h.
#define NO_MALLINFO 0 |
Definition at line 40 of file mymalloc.h.
Definition at line 37 of file mymalloc.h.
#define STRUCT_MALLINFO_DECLARED 1 |
Definition at line 70 of file mymalloc.h.
Definition at line 419 of file mymalloc.h.
Definition at line 5005 of file mymalloc.cc.
size_t destroy_mspace | ( | mspace | msp | ) |
Definition at line 5034 of file mymalloc.cc.
void * dlcalloc | ( | size_t | n_elements, |
size_t | elem_size | ||
) |
Definition at line 4837 of file mymalloc.cc.
Definition at line 4728 of file mymalloc.cc.
Definition at line 4923 of file mymalloc.cc.
void * dlmalloc | ( | size_t | bytes | ) |
Definition at line 4592 of file mymalloc.cc.
size_t dlmalloc_footprint | ( | void | ) |
Definition at line 4914 of file mymalloc.cc.
void dlmalloc_stats | ( | ) |
int dlmalloc_trim | ( | size_t | pad | ) |
Definition at line 4904 of file mymalloc.cc.
size_t dlmalloc_usable_size | ( | void * | mem | ) |
Definition at line 4938 of file mymalloc.cc.
Definition at line 4932 of file mymalloc.cc.
void * dlmemalign | ( | size_t | alignment, |
size_t | bytes | ||
) |
Definition at line 4875 of file mymalloc.cc.
void * dlpvalloc | ( | size_t | bytes | ) |
Definition at line 4897 of file mymalloc.cc.
Definition at line 4852 of file mymalloc.cc.
void * dlvalloc | ( | size_t | bytes | ) |
Definition at line 4890 of file mymalloc.cc.
size_t mspace_footprint | ( | mspace | msp | ) |
Definition at line 5375 of file mymalloc.cc.
void ** mspace_independent_calloc | ( | mspace | msp, |
size_t | n_elements, | ||
size_t | elem_size, | ||
void * | chunks[] | ||
) |
Definition at line 5329 of file mymalloc.cc.
void ** mspace_independent_comalloc | ( | mspace | msp, |
size_t | n_elements, | ||
size_t | sizes[], | ||
void * | chunks[] | ||
) |
Definition at line 5340 of file mymalloc.cc.
Definition at line 5402 of file mymalloc.cc.
Definition at line 5365 of file mymalloc.cc.
Definition at line 5420 of file mymalloc.cc.
Definition at line 5320 of file mymalloc.cc.
Definition at line 5296 of file mymalloc.cc.
Definition at line 5019 of file mymalloc.cc.
Definition at line 5350 of file mymalloc.cc.
size_t mspace_usable_size | ( | void * | mem | ) |
Definition at line 5411 of file mymalloc.cc.