Lines Matching refs:oldsize
3875 size_t oldsize = chunksize(oldp); in mmap_resize() local
3880 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize()
3881 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3885 size_t oldmmsize = oldsize + offset + MMAP_FOOT_PAD; in mmap_resize()
4838 size_t oldsize = chunksize(p); in try_realloc_chunk() local
4839 mchunkptr next = chunk_plus_offset(p, oldsize); in try_realloc_chunk()
4845 else if (oldsize >= nb) { /* already big enough */ in try_realloc_chunk()
4846 size_t rsize = oldsize - nb; in try_realloc_chunk()
4856 if (oldsize + m->topsize > nb) { in try_realloc_chunk()
4857 size_t newsize = oldsize + m->topsize; in try_realloc_chunk()
4869 if (oldsize + dvs >= nb) { in try_realloc_chunk()
4870 size_t dsize = oldsize + dvs - nb; in try_realloc_chunk()
4881 size_t newsize = oldsize + dvs; in try_realloc_chunk()
4891 if (oldsize + nextsize >= nb) { in try_realloc_chunk()
4892 size_t rsize = oldsize + nextsize - nb; in try_realloc_chunk()
4895 size_t newsize = oldsize + nextsize; in try_realloc_chunk()