• Home
  • Raw
  • Download

Lines Matching defs:p

2218 #define chunk2mem(p)        ((void*)((char*)(p)       + TWO_SIZE_T_SIZES))  argument
2256 #define cinuse(p) ((p)->head & CINUSE_BIT) argument
2257 #define pinuse(p) ((p)->head & PINUSE_BIT) argument
2258 #define flag4inuse(p) ((p)->head & FLAG4_BIT) argument
2259 #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT) argument
2260 #define is_mmapped(p) (((p)->head & INUSE_BITS) == 0) argument
2262 #define chunksize(p) ((p)->head & ~(FLAG_BITS)) argument
2264 #define clear_pinuse(p) ((p)->head &= ~PINUSE_BIT) argument
2265 #define set_flag4(p) ((p)->head |= FLAG4_BIT) argument
2266 #define clear_flag4(p) ((p)->head &= ~FLAG4_BIT) argument
2269 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) argument
2270 #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) argument
2273 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS))) argument
2274 #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) argument
2277 #define next_pinuse(p) ((next_chunk(p)->head) & PINUSE_BIT) argument
2280 #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) argument
2281 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) argument
2284 #define set_size_and_pinuse_of_free_chunk(p, s)\ argument
2288 #define set_free_with_pinuse(p, s, n)\ argument
2292 #define overhead_for(p)\ argument
2297 #define calloc_must_clear(p) (!is_mmapped(p)) argument
2299 #define calloc_must_clear(p) (1) argument
2774 #define USAGE_ERROR_ACTION(m, p) argument
2783 #define USAGE_ERROR_ACTION(m,p) ABORT argument
3013 #define ok_next(p, n) ((char*)(p) < (char*)(n)) argument
3015 #define ok_inuse(p) is_inuse(p) argument
3017 #define ok_pinuse(p) pinuse(p) argument
3022 #define ok_inuse(p) (1) argument
3023 #define ok_pinuse(p) (1) argument
3048 #define mark_inuse_foot(M,p,s) argument
3053 #define set_inuse(M,p,s)\ argument
3058 #define set_inuse_and_pinuse(M,p,s)\ argument
3063 #define set_size_and_pinuse_of_inuse_chunk(M, p, s)\ argument
3069 #define mark_inuse_foot(M,p,s)\ argument
3072 #define get_mstate_for(p)\ argument
3076 #define set_inuse(M,p,s)\ argument
3081 #define set_inuse_and_pinuse(M,p,s)\ argument
3086 #define set_size_and_pinuse_of_inuse_chunk(M, p, s)\ argument
3233 static void do_check_any_chunk(mstate m, mchunkptr p) { in do_check_any_chunk()
3239 static void do_check_top_chunk(mstate m, mchunkptr p) { in do_check_top_chunk()
3253 static void do_check_mmapped_chunk(mstate m, mchunkptr p) { in do_check_mmapped_chunk()
3267 static void do_check_inuse_chunk(mstate m, mchunkptr p) { in do_check_inuse_chunk()
3278 static void do_check_free_chunk(mstate m, mchunkptr p) { in do_check_free_chunk()
3303 mchunkptr p = mem2chunk(mem); in do_check_malloced_chunk() local
3379 mchunkptr p = b->bk; in do_check_smallbin() local
3407 mchunkptr p = b; in bin_find() local
3852 mchunkptr p = (mchunkptr)(mm + offset); in mmap_alloc() local
3910 static void init_top(mstate m, mchunkptr p, size_t psize) { in init_top()
3956 mchunkptr p = align_as_chunk(newbase); in prepend_alloc() local
4009 mchunkptr p = tnext; in add_segment() local
4253 mchunkptr p = m->top; in sys_alloc() local
4281 mchunkptr p = align_as_chunk(base); in release_unused_segments() local
4385 static void dispose_chunk(mstate m, mchunkptr p, size_t psize) { in dispose_chunk()
4605 mchunkptr b, p; in dlmalloc() local
4619 mchunkptr b, p, r; in dlmalloc() local
4662 mchunkptr p = gm->dv; in dlmalloc() local
4682 mchunkptr p = gm->top; in dlmalloc() local
4712 mchunkptr p = mem2chunk(mem); in dlfree() local
4833 static mchunkptr try_realloc_chunk(mstate m, mchunkptr p, size_t nb, in try_realloc_chunk()
4931 mchunkptr p = mem2chunk(mem); in internal_memalign() local
5003 mchunkptr p; /* corresponding chunk */ in ialloc() local
5127 mchunkptr p = mem2chunk(mem); in internal_bulk_free() local
5410 mchunkptr p = mem2chunk(mem); in dlmalloc_usable_size() local
5541 mchunkptr b, p; in mspace_malloc() local
5555 mchunkptr b, p, r; in mspace_malloc() local
5598 mchunkptr p = ms->dv; in mspace_malloc() local
5618 mchunkptr p = ms->top; in mspace_malloc() local
5640 mchunkptr p = mem2chunk(mem); in mspace_free() local
5986 mchunkptr p = mem2chunk(mem); in mspace_usable_size() local