Lines Matching refs:oldsize
3871 size_t oldsize = chunksize(oldp); in mmap_resize() local
3876 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize()
3877 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3881 size_t oldmmsize = oldsize + offset + MMAP_FOOT_PAD; in mmap_resize()
4834 size_t oldsize = chunksize(p); in try_realloc_chunk() local
4835 mchunkptr next = chunk_plus_offset(p, oldsize); in try_realloc_chunk()
4841 else if (oldsize >= nb) { /* already big enough */ in try_realloc_chunk()
4842 size_t rsize = oldsize - nb; in try_realloc_chunk()
4852 if (oldsize + m->topsize > nb) { in try_realloc_chunk()
4853 size_t newsize = oldsize + m->topsize; in try_realloc_chunk()
4865 if (oldsize + dvs >= nb) { in try_realloc_chunk()
4866 size_t dsize = oldsize + dvs - nb; in try_realloc_chunk()
4877 size_t newsize = oldsize + dvs; in try_realloc_chunk()
4887 if (oldsize + nextsize >= nb) { in try_realloc_chunk()
4888 size_t rsize = oldsize + nextsize - nb; in try_realloc_chunk()
4891 size_t newsize = oldsize + nextsize; in try_realloc_chunk()