Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c2192 #define TOP_FOOT_SIZE\ macro
2635 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE); in do_check_top_chunk()
2829 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2894 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2937 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3294 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
3388 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in add_segment()
3466 asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3480 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3492 asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { in sys_alloc()
[all …]
/external/libffi/src/
Ddlmalloc.c2187 #define TOP_FOOT_SIZE\ macro
2630 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE); in do_check_top_chunk()
2824 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2889 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2932 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3289 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
3383 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in add_segment()
3461 asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3475 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3487 asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { in sys_alloc()
[all …]
/external/dlmalloc/
Dmalloc.c2686 #define SYS_ALLOC_PADDING (TOP_FOOT_SIZE + MALLOC_ALIGNMENT)
2730 #define TOP_FOOT_SIZE\ macro
3247 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE); in do_check_top_chunk()
3441 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
3508 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
3555 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3922 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
4015 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in add_segment()
4187 if (ssize > nb + TOP_FOOT_SIZE) { in sys_alloc()
4211 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in sys_alloc()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dlibffi.diff179 if (capacity > msize + TOP_FOOT_SIZE &&
180 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {