Lines Matching refs:mchunkptr
5130 "typedef struct malloc_chunk* mchunkptr;\n" +
5226 "#define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ))\n" +
5300 "#define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) ))\n" +
5303 "#define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_size) ))\n" +
5306 "#define chunk_at_offset(p, s) ((mchunkptr)(((char*)(p)) + (s)))\n" +
5310 "((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE)\n" +
5314 "((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE\n" +
5317 "((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE)\n" +
5322 " (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE)\n" +
5325 " (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE)\n" +
5328 " (((mchunkptr)(((char*)(p)) + (s)))->size &= ~(PREV_INUSE))\n" +
5338 "#define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_size = (s))\n" +
5398 "#define next_bin(b) ((mbinptr)((char*)(b) + (sizeof(mchunkptr)<<1)))\n" +
5678 " mchunkptr top;\n" +
5681 " mchunkptr last_remainder;\n" +
5684 " mchunkptr bins[NBINS * 2];\n" +
5829 "static void do_check_chunk(mchunkptr p)\n" +
5831 "static void do_check_chunk(p) mchunkptr p;\n" +
5879 "static void do_check_free_chunk(mchunkptr p)\n" +
5881 "static void do_check_free_chunk(p) mchunkptr p;\n" +
5887 " mchunkptr next = chunk_at_offset(p, sz);\n" +
5919 "static void do_check_inuse_chunk(mchunkptr p)\n" +
5921 "static void do_check_inuse_chunk(p) mchunkptr p;\n" +
5925 " mchunkptr next;\n" +
5943 " mchunkptr prv = prev_chunk(p);\n" +
5961 "static void do_check_remalloced_chunk(mchunkptr p, INTERNAL_SIZE_T s)\n" +
5963 "static void do_check_remalloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s;\n" +
5985 "static void do_check_malloced_chunk(mchunkptr p, INTERNAL_SIZE_T s)\n" +
5987 "static void do_check_malloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s;\n" +
6022 " mchunkptr p;\n" +
6023 " mchunkptr q;\n" +
6150 " mchunkptr old_top; /* incoming value of av->top */\n" +
6164 " mchunkptr p; /* the allocated/returned chunk */\n" +
6165 " mchunkptr remainder; /* remainder from allocation */\n" +
6226 " p = (mchunkptr)(mm + correction);\n" +
6231 " p = (mchunkptr)mm;\n" +
6488 " av->top = (mchunkptr)aligned_brk;\n" +
6661 " mchunkptr victim; /* inspected/selected chunk */\n" +
6665 " mchunkptr remainder; /* remainder from a split */\n" +
6672 " mchunkptr fwd; /* misc temp for linking */\n" +
6673 " mchunkptr bck; /* misc temp for linking */\n" +
7012 " mchunkptr p; /* chunk corresponding to mem */\n" +
7015 " mchunkptr nextchunk; /* next contiguous chunk */\n" +
7019 " mchunkptr bck; /* misc temp for linking */\n" +
7020 " mchunkptr fwd; /* misc temp for linking */\n" +
7181 " mchunkptr p; /* current chunk being consolidated */\n" +
7182 " mchunkptr nextp; /* next chunk to consolidate */\n" +
7183 " mchunkptr unsorted_bin; /* bin header */\n" +
7184 " mchunkptr first_unsorted; /* chunk to link to */\n" +
7187 " mchunkptr nextchunk;\n" +
7192 " mchunkptr bck;\n" +
7193 " mchunkptr fwd;\n" +
7286 " mchunkptr oldp; /* chunk corresponding to oldmem */\n" +
7289 " mchunkptr newp; /* chunk to return */\n" +
7293 " mchunkptr next; /* next contiguous chunk after oldp */\n" +
7295 " mchunkptr remainder; /* extra space at end of newp */\n" +
7298 " mchunkptr bck; /* misc temp for linking */\n" +
7299 " mchunkptr fwd; /* misc temp for linking */\n" +
7459 " newp = (mchunkptr)(cp + offset);\n" +
7512 " mchunkptr p; /* corresponding chunk */\n" +
7514 " mchunkptr newp; /* chunk to return */\n" +
7517 " mchunkptr remainder; /* spare room at end to split off */\n" +
7567 " newp = (mchunkptr)brk;\n" +
7615 " mchunkptr p;\n" +
7742 " mchunkptr p; /* corresponding chunk */\n" +
7745 " mchunkptr array_chunk; /* chunk for malloced ptr array */\n" +
7918 " mchunkptr p;\n" +
7940 " mchunkptr p;\n" +