Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching defs:oldp

3874 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) {
3875 size_t oldsize = chunksize(oldp);
3882 return oldp;
3884 size_t offset = oldp->prev_foot;
3887 char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
5224 mchunkptr oldp = mem2chunk(oldmem);
5228 mstate m = get_mstate_for(oldp);
5235 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 1);
5244 size_t oc = chunksize(oldp) - overhead_for(oldp);
5262 mchunkptr oldp = mem2chunk(oldmem);
5266 mstate m = get_mstate_for(oldp);
5273 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 0);
5275 if (newp == oldp) {
5783 mchunkptr oldp = mem2chunk(oldmem);
5787 mstate m = get_mstate_for(oldp);
5794 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 1);
5803 size_t oc = chunksize(oldp) - overhead_for(oldp);
5821 mchunkptr oldp = mem2chunk(oldmem);
5825 mstate m = get_mstate_for(oldp);
5833 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 0);
5835 if (newp == oldp) {