Home
last modified time | relevance | path

Searched refs:oldmem (Results 1 – 1 of 1) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dmallocr.c2747 Void_t* rEALLOc(Void_t* oldmem, size_t bytes) in rEALLOc() argument
2749 Void_t* rEALLOc(oldmem, bytes) RDECL Void_t* oldmem; size_t bytes; in rEALLOc()
2754 realloc (oldmem, bytes);
2780 if (bytes == 0) { fREe(oldmem); return 0; }
2785 if (oldmem == 0) return mALLOc(bytes);
2789 newp = oldp = mem2chunk(oldmem);
2817 return oldmem; /* do nothing */
2826 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2893 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2910 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
[all …]