Home
last modified time | relevance | path

Searched refs:mem2chunk (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/common/
Ddlmalloc.c363 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ)) macro
1534 p = mem2chunk(mem);
1692 newp = oldp = mem2chunk(oldmem);
1819 if ( (newp = mem2chunk(newmem)) == next_chunk(oldp))
1957 p = mem2chunk(m);
1977 brk = (char*)mem2chunk(((unsigned long)(m + alignment - 1)) & -((signed) alignment));
2094 p = mem2chunk(mem);
2243 p = mem2chunk(mem);
Ddlmalloc.src1282 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ))
2382 p = mem2chunk(mem);
2530 newp = oldp = mem2chunk(oldmem);
2656 if ( (newp = mem2chunk(newmem)) == next_chunk(oldp))
2746 p = mem2chunk(m);
2766 brk = (char*)mem2chunk(((unsigned long)(m + alignment - 1)) & -((signed) alignment));
2875 p = mem2chunk(mem);
3022 p = mem2chunk(mem);
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1694 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) macro
2691 mchunkptr p = mem2chunk(mem); in do_check_malloced_chunk()
3563 mchunkptr mn = next_chunk(mem2chunk(m)); in sys_alloc()
3845 mchunkptr oldp = mem2chunk(oldmem); in internal_realloc()
3933 mchunkptr p = mem2chunk(mem); in internal_memalign()
3945 char* br = (char*)mem2chunk((size_t)(((size_t)(mem + in internal_memalign()
4066 p = mem2chunk(mem); in ialloc()
4112 check_inuse_chunk(m, mem2chunk(marray)); in ialloc()
4115 check_inuse_chunk(m, mem2chunk(marray[i])); in ialloc()
4268 mchunkptr p = mem2chunk(mem); in dlfree()
[all …]
/external/libffi/src/
Ddlmalloc.c1689 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) macro
2686 mchunkptr p = mem2chunk(mem); in do_check_malloced_chunk()
3558 mchunkptr mn = next_chunk(mem2chunk(m)); in sys_alloc()
3840 mchunkptr oldp = mem2chunk(oldmem); in internal_realloc()
3928 mchunkptr p = mem2chunk(mem); in internal_memalign()
3940 char* br = (char*)mem2chunk((size_t)(((size_t)(mem + in internal_memalign()
4061 p = mem2chunk(mem); in ialloc()
4107 check_inuse_chunk(m, mem2chunk(marray)); in ialloc()
4110 check_inuse_chunk(m, mem2chunk(marray[i])); in ialloc()
4263 mchunkptr p = mem2chunk(mem); in dlfree()
[all …]
/external/dlmalloc/
Dmalloc.c2219 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) macro
3303 mchunkptr p = mem2chunk(mem); in do_check_malloced_chunk()
4216 mchunkptr mn = next_chunk(mem2chunk(m)); in sys_alloc()
4714 mchunkptr p = mem2chunk(mem); in dlfree()
4826 mchunkptr p = mem2chunk(mem); in dlcalloc()
4938 mchunkptr p = mem2chunk(mem); in internal_memalign()
4950 char* br = (char*)mem2chunk((size_t)(((size_t)((char*)mem + alignment - in internal_memalign()
5062 p = mem2chunk(mem); in ialloc()
5108 check_inuse_chunk(m, mem2chunk(marray)); in ialloc()
5111 check_inuse_chunk(m, mem2chunk(marray[i])); in ialloc()
[all …]