Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1737 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro
2650 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk()
2651 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk()
2668 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk()
3231 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc()
3232 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc()
3267 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3268 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3294 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
3333 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc()
[all …]
/external/libffi/src/
Ddlmalloc.c1732 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro
2645 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk()
2646 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk()
2663 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk()
3226 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc()
3227 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc()
3262 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3263 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3289 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
3328 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc()
[all …]
/external/dlmalloc/
Dmalloc.c2269 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro
3249 assert(!pinuse(chunk_plus_offset(p, sz))); in do_check_top_chunk()
3262 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk()
3263 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk()
3280 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk()
3858 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc()
3859 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc()
3894 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3895 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3922 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
[all …]