Searched defs:MALLOC_GUARD_SIZE (Results 1 - 1 of 1) sorted by relevance

/forgerock/web-agents-v4/cmocka/
H A Dcmocka.c61 #define MALLOC_GUARD_SIZE 16 macro
1582 const size_t allocate_size = size + (MALLOC_GUARD_SIZE * 2) +
1588 ptr = (char*)(((size_t)block + MALLOC_GUARD_SIZE + sizeof(*block_info) +
1592 memset(ptr - MALLOC_GUARD_SIZE, MALLOC_GUARD_PATTERN, MALLOC_GUARD_SIZE);
1593 memset(ptr + size, MALLOC_GUARD_PATTERN, MALLOC_GUARD_SIZE);
1596 block_info = (MallocBlockInfo*)(ptr - (MALLOC_GUARD_SIZE +
1631 block_info = (MallocBlockInfo*)(block - (MALLOC_GUARD_SIZE +
1635 char *guards[2] = {block - MALLOC_GUARD_SIZE,
1640 for (j = 0; j < MALLOC_GUARD_SIZE;
[all...]

Completed in 45 milliseconds