Lines Matching refs:realloc
4 A version of malloc/free/realloc written by Doug Lea and released to the
32 realloc(Void_t* p, size_t n);
37 #define REALLOC_ZERO_BYTES_FREES below is set, realloc with a
155 Define this if you think that realloc(p, 0) should be equivalent
157 malloc(0), so does realloc(p, 0).
164 memcpy called in realloc and calloc (otherwise macro versions are used).
171 Define to non-zero to optionally make realloc() use mremap() to
309 realloc with zero bytes should be the same as a call to free.
311 returns a unique pointer for malloc(0), so does realloc(p, 0).
347 and want to use them in calloc and realloc. Otherwise simple
477 Define HAVE_MREMAP to make realloc() use mremap() to re-allocate
800 semaphore could be used across malloc, realloc, and free (which is
864 #pragma weak realloc = __libc_realloc
887 #define rEALLOc realloc
2477 Unless the #define REALLOC_ZERO_BYTES_FREES is set, realloc with a
2484 The old unix realloc convention of allowing the last-free'd chunk
2485 to be used as an argument to realloc is no longer supported.
2488 usages of realloc to be sensible.
2527 /* realloc of null is supposed to be same as malloc */
3086 of bytes allocated via malloc (or realloc, etc) but not yet
3200 * Support another case of realloc via move into top
3235 * realloc: try to expand in both directions
3237 * realloc: only conditionally expand backwards
3248 * Propagate failure in realloc if malloc returns 0