Lines Matching refs:oldmem
2495 Void_t* rEALLOc(Void_t* oldmem, size_t bytes)
2497 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes;
2502 mchunkptr oldp; /* chunk corresponding to oldmem */
2522 if (bytes == 0) { fREe(oldmem); return 0; }
2528 if (oldmem == 0) return mALLOc(bytes);
2530 newp = oldp = mem2chunk(oldmem);
2544 if(oldsize - SIZE_SZ >= nb) return oldmem; /* do nothing */
2548 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2613 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2629 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2641 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2664 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2665 fREe(oldmem);