Searched refs:mchunkptr (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/common/ |
D | dlmalloc.c | 227 typedef struct malloc_chunk* mchunkptr; typedef 363 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ)) 399 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) )) 404 ((mchunkptr)( ((char*)(p)) - ((p)->prev_size) )) 409 #define chunk_at_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) 421 ((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE) 434 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE 437 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE) 442 (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE) 445 (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE) [all …]
|
D | dlmalloc.src | 1142 typedef struct malloc_chunk* mchunkptr; 1282 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ)) 1318 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) )) 1323 ((mchunkptr)( ((char*)(p)) - ((p)->prev_size) )) 1328 #define chunk_at_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) 1340 ((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE) 1353 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE 1356 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE) 1361 (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE) 1364 (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE) [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 1667 typedef struct malloc_chunk* mchunkptr; typedef 1694 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) 1696 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) 1737 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) 1738 #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) 1741 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~INUSE_BITS))) 1742 #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) 1748 #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) 1749 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) 2080 mchunkptr dv; [all …]
|
/external/libffi/src/ |
D | dlmalloc.c | 1662 typedef struct malloc_chunk* mchunkptr; typedef 1689 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) 1691 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) 1732 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) 1733 #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) 1736 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~INUSE_BITS))) 1737 #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) 1743 #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) 1744 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) 2075 mchunkptr dv; [all …]
|
/external/dlmalloc/ |
D | malloc.c | 2192 typedef struct malloc_chunk* mchunkptr; typedef 2219 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) 2221 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) 2269 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) 2270 #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) 2273 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS))) 2274 #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) 2280 #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) 2281 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) 2585 mchunkptr dv; [all …]
|