Home
last modified time | relevance | path

Searched refs:RESERVE_SIZE (Results 1 – 1 of 1) sorted by relevance

/external/libxml2/
Dxmlmemory.c109 #define RESERVE_SIZE (((HDR_SIZE + (ALIGN_SIZE-1)) \ macro
114 #define CLIENT_2_HDR(a) ((void *) (((char *) (a)) - RESERVE_SIZE))
115 #define HDR_2_CLIENT(a) ((void *) (((char *) (a)) + RESERVE_SIZE))
175 if (size > (MAX_SIZE_T - RESERVE_SIZE)) { in xmlMallocLoc()
182 p = (MEMHDR *) malloc(RESERVE_SIZE+size); in xmlMallocLoc()
251 if (size > (MAX_SIZE_T - RESERVE_SIZE)) { in xmlMallocAtomicLoc()
258 p = (MEMHDR *) malloc(RESERVE_SIZE+size); in xmlMallocAtomicLoc()
362 if (size > (MAX_SIZE_T - RESERVE_SIZE)) { in xmlReallocLoc()
369 tmp = (MEMHDR *) realloc(p,RESERVE_SIZE+size); in xmlReallocLoc()
516 if (size > (MAX_SIZE_T - RESERVE_SIZE)) { in xmlMemStrdupLoc()
[all …]