Data Structures |
| struct | MEMHDR |
Defines |
| #define | IN_LIBXML |
| #define | MEMTAG 0x5aa5 |
| #define | MALLOC_TYPE 1 |
| #define | REALLOC_TYPE 2 |
| #define | STRDUP_TYPE 3 |
| #define | MALLOC_ATOMIC_TYPE 4 |
| #define | REALLOC_ATOMIC_TYPE 5 |
| #define | ALIGN_SIZE sizeof(double) |
| #define | HDR_SIZE sizeof(MEMHDR) |
| #define | RESERVE_SIZE |
| #define | CLIENT_2_HDR(a) ((MEMHDR *) (((char *) (a)) - RESERVE_SIZE)) |
| #define | HDR_2_CLIENT(a) ((void *) (((char *) (a)) + RESERVE_SIZE)) |
| #define | Mem_Tag_Err(a) debugmem_tag_error(a); |
| #define | TEST_POINT |
| #define | bottom_xmlmemory |
Functions |
| void | xmlMallocBreakpoint (void) |
| static void | debugmem_tag_error (void *addr) |
| void * | xmlMallocLoc (size_t size, const char *file, int line) |
| void * | xmlMallocAtomicLoc (size_t size, const char *file, int line) |
| void * | xmlMemMalloc (size_t size) |
| void * | xmlReallocLoc (void *ptr, size_t size, const char *file, int line) |
| void * | xmlMemRealloc (void *ptr, size_t size) |
| void | xmlMemFree (void *ptr) |
| char * | xmlMemStrdupLoc (const char *str, const char *file, int line) |
| char * | xmlMemoryStrdup (const char *str) |
| int | xmlMemUsed (void) |
| int | xmlMemBlocks (void) |
| void | xmlMemDisplayLast (FILE *fp, long nbBytes) |
| void | xmlMemDisplay (FILE *fp) |
| void | xmlMemShow (FILE *fp, int nr ATTRIBUTE_UNUSED) |
| void | xmlMemoryDump (void) |
| int | xmlInitMemory (void) |
| void | xmlCleanupMemory (void) |
| int | xmlMemSetup (xmlFreeFunc freeFunc, xmlMallocFunc mallocFunc, xmlReallocFunc reallocFunc, xmlStrdupFunc strdupFunc) |
| int | xmlMemGet (xmlFreeFunc *freeFunc, xmlMallocFunc *mallocFunc, xmlReallocFunc *reallocFunc, xmlStrdupFunc *strdupFunc) |
| int | xmlGcMemSetup (xmlFreeFunc freeFunc, xmlMallocFunc mallocFunc, xmlMallocFunc mallocAtomicFunc, xmlReallocFunc reallocFunc, xmlStrdupFunc strdupFunc) |
| int | xmlGcMemGet (xmlFreeFunc *freeFunc, xmlMallocFunc *mallocFunc, xmlMallocFunc *mallocAtomicFunc, xmlReallocFunc *reallocFunc, xmlStrdupFunc *strdupFunc) |
Variables |
| static int | xmlMemInitialized = 0 |
| static unsigned long | debugMemSize = 0 |
| static unsigned long | debugMemBlocks = 0 |
| static unsigned long | debugMaxMemSize = 0 |
| static xmlMutexPtr | xmlMemMutex = NULL |
| static unsigned int | block = 0 |
| static unsigned int | xmlMemStopAtBlock = 0 |
| static void * | xmlMemTraceBlockAt = NULL |