Home | History | Annotate | Download | only in src

Lines Matching full:realloc

2   This is a version (aka dlmalloc) of malloc/free/realloc written by
153 a size_t, not counting any clearing in calloc or copying in realloc,
258 realloc are ignored. And all bookkeeping information is zeroed out
329 If true realloc() uses mremap() to re-allocate large blocks and
366 This should be set if a call to realloc with zero bytes should
369 realloc(p, 0).
646 #define dlrealloc realloc
680 allocated using malloc or a related routine such as realloc.
694 realloc(void* p, size_t n)
703 If p is null, realloc is equivalent to malloc.
705 If space is not available, realloc returns null, errno is set (if on
709 space is lopped off and freed if possible. realloc with a size
712 The old unix realloc convention of allowing the last-free'd chunk
713 to be used as an argument to realloc is not supported.
762 number of bytes allocated by malloc, realloc etc., is less than this
775 by malloc, realloc etc., is less than this value. Unlike mallinfo,
816 realloc'ed etc. The elements are guaranteed to be adjacently
869 independently freed, realloc'ed etc. The elements are guaranteed to
976 number of bytes allocated via malloc (or realloc, etc) but not yet
1051 mspace_realloc behaves as realloc, but operates within
1055 needed. realloc may be called instead of mspace_realloc because
1556 inuse. This redundancy enables usage checks within free and realloc,
2358 that is checked upon calls to free() and realloc(). This is
3123 /* Relays to internal calls to malloc/free from realloc, memalign etc */
3179 /* Realloc using mmap */
3770 /* --------------------------- realloc support --------------------------- */
3988 free/realloc space internal to a segregated mmap region.
4985 * realloc: don't try to shift chunks backwards, since this
5034 * Support another case of realloc via move into top
5069 * realloc: try to expand in both directions
5071 * realloc: only conditionally expand backwards
5082 * Propagate failure in realloc if malloc returns 0