Searched refs:chunk_plus_offset (Results 1 – 2 of 2) sorted by relevance
/external/libffi/src/ |
D | dlmalloc.c | 1675 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro 2583 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk() 2584 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk() 2601 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk() 3164 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc() 3165 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc() 3200 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize() 3201 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize() 3227 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top() 3266 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
D | SDL_malloc.c | 1721 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro 2593 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk() 2594 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk() 2611 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk() 3176 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc() 3177 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc() 3212 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize() 3213 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize() 3239 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top() 3278 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc() [all …]
|