mchunkptr 2121 compat/nedmalloc/malloc.c.h typedef struct malloc_chunk* mchunkptr; mchunkptr 2148 compat/nedmalloc/malloc.c.h #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) mchunkptr 2150 compat/nedmalloc/malloc.c.h #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) mchunkptr 2195 compat/nedmalloc/malloc.c.h #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) mchunkptr 2196 compat/nedmalloc/malloc.c.h #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) mchunkptr 2199 compat/nedmalloc/malloc.c.h #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS))) mchunkptr 2200 compat/nedmalloc/malloc.c.h #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) mchunkptr 2206 compat/nedmalloc/malloc.c.h #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) mchunkptr 2207 compat/nedmalloc/malloc.c.h #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) mchunkptr 2511 compat/nedmalloc/malloc.c.h mchunkptr dv; mchunkptr 2512 compat/nedmalloc/malloc.c.h mchunkptr top; mchunkptr 2516 compat/nedmalloc/malloc.c.h mchunkptr smallbins[(NSMALLBINS+1)*2]; mchunkptr 2725 compat/nedmalloc/malloc.c.h static void do_check_any_chunk(mstate m, mchunkptr p); mchunkptr 2726 compat/nedmalloc/malloc.c.h static void do_check_top_chunk(mstate m, mchunkptr p); mchunkptr 2727 compat/nedmalloc/malloc.c.h static void do_check_mmapped_chunk(mstate m, mchunkptr p); mchunkptr 2728 compat/nedmalloc/malloc.c.h static void do_check_inuse_chunk(mstate m, mchunkptr p); mchunkptr 2729 compat/nedmalloc/malloc.c.h static void do_check_free_chunk(mstate m, mchunkptr p); mchunkptr 2735 compat/nedmalloc/malloc.c.h static int bin_find(mstate m, mchunkptr x); mchunkptr 2970 compat/nedmalloc/malloc.c.h ((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT) mchunkptr 2975 compat/nedmalloc/malloc.c.h ((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT) mchunkptr 2985 compat/nedmalloc/malloc.c.h (((mchunkptr)((char*)(p) + (s)))->prev_foot = ((size_t)(M) ^ mparams.magic)) mchunkptr 2988 compat/nedmalloc/malloc.c.h ((mstate)(((mchunkptr)((char*)(p) +\ mchunkptr 2993 compat/nedmalloc/malloc.c.h (((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT), \ mchunkptr 2998 compat/nedmalloc/malloc.c.h (((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT),\ mchunkptr 3126 compat/nedmalloc/malloc.c.h static void do_check_any_chunk(mstate m, mchunkptr p) { mchunkptr 3132 compat/nedmalloc/malloc.c.h static void do_check_top_chunk(mstate m, mchunkptr p) { mchunkptr 3146 compat/nedmalloc/malloc.c.h static void do_check_mmapped_chunk(mstate m, mchunkptr p) { mchunkptr 3160 compat/nedmalloc/malloc.c.h static void do_check_inuse_chunk(mstate m, mchunkptr p) { mchunkptr 3171 compat/nedmalloc/malloc.c.h static void do_check_free_chunk(mstate m, mchunkptr p) { mchunkptr 3173 compat/nedmalloc/malloc.c.h mchunkptr next = chunk_plus_offset(p, sz); mchunkptr 3196 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 3221 compat/nedmalloc/malloc.c.h do_check_any_chunk(m, ((mchunkptr)u)); mchunkptr 3272 compat/nedmalloc/malloc.c.h mchunkptr p = b->bk; mchunkptr 3279 compat/nedmalloc/malloc.c.h mchunkptr q; mchunkptr 3294 compat/nedmalloc/malloc.c.h static int bin_find(mstate m, mchunkptr x) { mchunkptr 3300 compat/nedmalloc/malloc.c.h mchunkptr p = b; mchunkptr 3336 compat/nedmalloc/malloc.c.h mchunkptr q = align_as_chunk(s->base); mchunkptr 3337 compat/nedmalloc/malloc.c.h mchunkptr lastq = 0; mchunkptr 3404 compat/nedmalloc/malloc.c.h mchunkptr q = align_as_chunk(s->base); mchunkptr 3447 compat/nedmalloc/malloc.c.h mchunkptr q = align_as_chunk(s->base); mchunkptr 3478 compat/nedmalloc/malloc.c.h mchunkptr B = smallbin_at(M, I);\ mchunkptr 3479 compat/nedmalloc/malloc.c.h mchunkptr F = B;\ mchunkptr 3496 compat/nedmalloc/malloc.c.h mchunkptr F = P->fd;\ mchunkptr 3497 compat/nedmalloc/malloc.c.h mchunkptr B = P->bk;\ mchunkptr 3516 compat/nedmalloc/malloc.c.h mchunkptr F = P->fd;\ mchunkptr 3538 compat/nedmalloc/malloc.c.h mchunkptr DV = M->dv;\ mchunkptr 3736 compat/nedmalloc/malloc.c.h mchunkptr p = (mchunkptr)(mm + offset); mchunkptr 3756 compat/nedmalloc/malloc.c.h static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb) { mchunkptr 3771 compat/nedmalloc/malloc.c.h mchunkptr newp = (mchunkptr)(cp + offset); mchunkptr 3792 compat/nedmalloc/malloc.c.h static void init_top(mstate m, mchunkptr p, size_t psize) { mchunkptr 3795 compat/nedmalloc/malloc.c.h p = (mchunkptr)((char*)p + offset); mchunkptr 3838 compat/nedmalloc/malloc.c.h mchunkptr p = align_as_chunk(newbase); mchunkptr 3839 compat/nedmalloc/malloc.c.h mchunkptr oldfirst = align_as_chunk(oldbase); mchunkptr 3841 compat/nedmalloc/malloc.c.h mchunkptr q = chunk_plus_offset(p, nb); mchunkptr 3888 compat/nedmalloc/malloc.c.h mchunkptr sp = (mchunkptr)csp; mchunkptr 3890 compat/nedmalloc/malloc.c.h mchunkptr tnext = chunk_plus_offset(sp, ssize); mchunkptr 3891 compat/nedmalloc/malloc.c.h mchunkptr p = tnext; mchunkptr 3895 compat/nedmalloc/malloc.c.h init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); mchunkptr 3908 compat/nedmalloc/malloc.c.h mchunkptr nextp = chunk_plus_offset(p, SIZE_T_SIZE); mchunkptr 3920 compat/nedmalloc/malloc.c.h mchunkptr q = (mchunkptr)old_top; mchunkptr 3922 compat/nedmalloc/malloc.c.h mchunkptr tn = chunk_plus_offset(q, psize); mchunkptr 4073 compat/nedmalloc/malloc.c.h init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); mchunkptr 4078 compat/nedmalloc/malloc.c.h mchunkptr mn = next_chunk(mem2chunk(m)); mchunkptr 4117 compat/nedmalloc/malloc.c.h mchunkptr p = m->top; mchunkptr 4118 compat/nedmalloc/malloc.c.h mchunkptr r = m->top = chunk_plus_offset(p, nb); mchunkptr 4145 compat/nedmalloc/malloc.c.h mchunkptr p = align_as_chunk(base); mchunkptr 4300 compat/nedmalloc/malloc.c.h mchunkptr r = chunk_plus_offset(v, nb); mchunkptr 4338 compat/nedmalloc/malloc.c.h mchunkptr r = chunk_plus_offset(v, nb); mchunkptr 4365 compat/nedmalloc/malloc.c.h mchunkptr oldp = mem2chunk(oldmem); mchunkptr 4367 compat/nedmalloc/malloc.c.h mchunkptr next = chunk_plus_offset(oldp, oldsize); mchunkptr 4368 compat/nedmalloc/malloc.c.h mchunkptr newp = 0; mchunkptr 4382 compat/nedmalloc/malloc.c.h mchunkptr remainder = chunk_plus_offset(newp, nb); mchunkptr 4392 compat/nedmalloc/malloc.c.h mchunkptr newtop = chunk_plus_offset(oldp, nb); mchunkptr 4453 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 4471 compat/nedmalloc/malloc.c.h mchunkptr newp = (mchunkptr)pos; mchunkptr 4492 compat/nedmalloc/malloc.c.h mchunkptr remainder = chunk_plus_offset(p, nb); mchunkptr 4535 compat/nedmalloc/malloc.c.h mchunkptr p; /* corresponding chunk */ mchunkptr 4538 compat/nedmalloc/malloc.c.h mchunkptr array_chunk; /* chunk for malloced ptr array */ mchunkptr 4688 compat/nedmalloc/malloc.c.h mchunkptr b, p; mchunkptr 4702 compat/nedmalloc/malloc.c.h mchunkptr b, p, r; mchunkptr 4745 compat/nedmalloc/malloc.c.h mchunkptr p = gm->dv; mchunkptr 4747 compat/nedmalloc/malloc.c.h mchunkptr r = gm->dv = chunk_plus_offset(p, nb); mchunkptr 4765 compat/nedmalloc/malloc.c.h mchunkptr p = gm->top; mchunkptr 4766 compat/nedmalloc/malloc.c.h mchunkptr r = gm->top = chunk_plus_offset(p, nb); mchunkptr 4793 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 4807 compat/nedmalloc/malloc.c.h mchunkptr next = chunk_plus_offset(p, psize); mchunkptr 4818 compat/nedmalloc/malloc.c.h mchunkptr prev = chunk_minus_offset(p, prevsize); mchunkptr 4998 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 5011 compat/nedmalloc/malloc.c.h mchunkptr mn; mchunkptr 5012 compat/nedmalloc/malloc.c.h mchunkptr msp = align_as_chunk(tbase); mchunkptr 5124 compat/nedmalloc/malloc.c.h mchunkptr b, p; mchunkptr 5138 compat/nedmalloc/malloc.c.h mchunkptr b, p, r; mchunkptr 5181 compat/nedmalloc/malloc.c.h mchunkptr p = ms->dv; mchunkptr 5183 compat/nedmalloc/malloc.c.h mchunkptr r = ms->dv = chunk_plus_offset(p, nb); mchunkptr 5201 compat/nedmalloc/malloc.c.h mchunkptr p = ms->top; mchunkptr 5202 compat/nedmalloc/malloc.c.h mchunkptr r = ms->top = chunk_plus_offset(p, nb); mchunkptr 5223 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 5237 compat/nedmalloc/malloc.c.h mchunkptr next = chunk_plus_offset(p, psize); mchunkptr 5248 compat/nedmalloc/malloc.c.h mchunkptr prev = chunk_minus_offset(p, prevsize); mchunkptr 5353 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(oldmem); mchunkptr 5459 compat/nedmalloc/malloc.c.h mchunkptr p = mem2chunk(mem); mchunkptr 142 compat/nedmalloc/nedmalloc.c mchunkptr p=mem2chunk(mem); mchunkptr 481 compat/nedmalloc/nedmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 665 compat/nedmalloc/nedmalloc.c mchunkptr mcp=mem2chunk(mem);