Lines Matching defs:oldmem
3764 Void_t* rEALLOc(Void_t* oldmem, size_t bytes)
3766 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes;
3773 mchunkptr oldp; /* chunk corresponding to oldmem */
3797 fREe(oldmem);
3803 if (oldmem == 0) return mALLOc(bytes);
3807 oldp = mem2chunk(oldmem);
3883 MALLOC_COPY(chunk2mem(newp), oldmem, oldsize - SIZE_SZ, 1);
3912 s = (INTERNAL_SIZE_T*)oldmem;
3938 fREe(oldmem);
3987 return oldmem;
4014 newmem = oldmem; /* do nothing */
4019 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ, 0);
4020 fREe(oldmem);