Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching full:realloc

2   This is a version (aka dlmalloc) of malloc/free/realloc written by
165 a size_t, not counting any clearing in calloc or copying in realloc,
320 realloc are ignored. And all bookkeeping information is zeroed out
395 If true realloc() uses mremap() to re-allocate large blocks and
436 This should be set if a call to realloc with zero bytes should
439 realloc(p, 0).
821 #define dlrealloc realloc
859 allocated using malloc or a related routine such as realloc.
873 realloc(void* p, size_t n)
882 If p is null, realloc is equivalent to malloc.
884 If space is not available, realloc returns null, errno is set (if on
888 space is lopped off and freed if possible. realloc with a size
891 The old unix realloc convention of allowing the last-free'd chunk
892 to be used as an argument to realloc is not supported.
902 realloc if an alternative allocation strategy is needed upon failure
969 number of bytes allocated by malloc, realloc etc., is less than this
982 by malloc, realloc etc., is less than this value. Unlike mallinfo,
1082 realloc'ed etc. The elements are guaranteed to be adjacently
1132 independently freed, realloc'ed etc. The elements are guaranteed to
1230 number of bytes allocated via malloc (or realloc, etc) but not yet
1337 mspace_realloc behaves as realloc, but operates within
1341 needed. realloc may be called instead of mspace_realloc because
2144 checks within free and realloc, and reduces indirection when freeing
3000 that is checked upon calls to free() and realloc(). This is
3812 /* Relays to internal calls to malloc/free from realloc, memalign etc */
3871 /* Realloc using mmap */
4830 /* ------------ Internal support for realloc, memalign, etc -------------- */
4832 /* Try to realloc; only in-place unless can_move true */
5044 free/realloc space internal to a segregated mmap region.
5203 /* ------------------ Exported realloc, memalign, etc -------------------- */
6103 * Improve realloc to expand in more cases; expose realloc_in_place.
6195 * realloc: don't try to shift chunks backwards, since this
6244 * Support another case of realloc via move into top
6279 * realloc: try to expand in both directions
6281 * realloc: only conditionally expand backwards
6292 * Propagate failure in realloc if malloc returns 0