Lines Matching defs:oldmem
1978 static void* internal_realloc(mstate m, void* oldmem, size_t bytes) {
1984 mchunkptr oldp = mem2chunk(oldmem);
2018 USAGE_ERROR_ACTION(m, oldmem);
2036 MEMCPY(newmem, oldmem, (oc < bytes)? oc : bytes);
2037 internal_free(m, oldmem);
2372 void* mspace_realloc(mspace msp, void* oldmem, size_t bytes) {
2373 if (oldmem == 0)
2377 mspace_free(msp, oldmem);
2383 mchunkptr p = mem2chunk(oldmem);
2392 return internal_realloc(ms, oldmem, bytes);