/external/jemalloc/src/ |
pages.c | 88 pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size) 90 void *ret = (void *)((uintptr_t)addr + leadsize); 92 assert(alloc_size >= leadsize + size); 107 size_t trailsize = alloc_size - leadsize - size; 109 if (leadsize != 0) 110 pages_unmap(addr, leadsize);
|
chunk_mmap.c | 18 size_t leadsize; local 22 leadsize = ALIGNMENT_CEILING((uintptr_t)pages, alignment) - 24 ret = pages_trim(pages, alloc_size, leadsize, size);
|
chunk.c | 207 size_t alloc_size, leadsize, trailsize; local 238 leadsize = ALIGNMENT_CEILING((uintptr_t)extent_node_addr_get(node), 240 assert(new_addr == NULL || leadsize == 0); 241 assert(extent_node_size_get(node) >= leadsize + size); 242 trailsize = extent_node_size_get(node) - leadsize - size; 243 ret = (void *)((uintptr_t)extent_node_addr_get(node) + leadsize); 251 if (leadsize != 0 && 253 extent_node_size_get(node), leadsize, size, false, arena->ind)) { 261 if (leadsize != 0) { 263 extent_node_size_set(node, leadsize); [all...] |
arena.c | 2502 size_t alloc_size, leadsize, trailsize; local [all...] |
/external/jemalloc/include/jemalloc/internal/ |
pages.h | 14 void *pages_trim(void *addr, size_t alloc_size, size_t leadsize,
|
/external/dlmalloc/ |
malloc.c | 4956 size_t leadsize = pos - (char*)(p); local [all...] |
/external/v8/test/mjsunit/ |
unicode-test.js | [all...] |