Home | History | Annotate | Download | only in mpreal

Lines Matching full:realloc

2   This is a version (aka dlmalloc) of malloc/free/realloc written by

155 a size_t, not counting any clearing in calloc or copying in realloc,
283 realloc are ignored. And all bookkeeping information is zeroed out
358 If true realloc() uses mremap() to re-allocate large blocks and
395 This should be set if a call to realloc with zero bytes should
398 realloc(p, 0).
764 #define dlrealloc realloc
798 allocated using malloc or a related routine such as realloc.
812 realloc(void* p, size_t n)
821 If p is null, realloc is equivalent to malloc.
823 If space is not available, realloc returns null, errno is set (if on
827 space is lopped off and freed if possible. realloc with a size
830 The old unix realloc convention of allowing the last-free'd chunk
831 to be used as an argument to realloc is not supported.
884 number of bytes allocated by malloc, realloc etc., is less than this
897 by malloc, realloc etc., is less than this value. Unlike mallinfo,
938 realloc'ed etc. The elements are guaranteed to be adjacently
991 independently freed, realloc'ed etc. The elements are guaranteed to
1082 number of bytes allocated via malloc (or realloc, etc) but not yet
1188 mspace_realloc behaves as realloc, but operates within
1192 needed. realloc may be called instead of mspace_realloc because
2018 checks within free and realloc, and reduces indirection when freeing
2858 that is checked upon calls to free() and realloc(). This is
3639 /* Relays to internal calls to malloc/free from realloc, memalign etc */
3693 /* Realloc using mmap */
4297 /* --------------------------- realloc support --------------------------- */
4520 free/realloc space internal to a segregated mmap region.
5588 * realloc: don't try to shift chunks backwards, since this
5637 * Support another case of realloc via move into top
5672 * realloc: try to expand in both directions
5674 * realloc: only conditionally expand backwards
5685 * Propagate failure in realloc if malloc returns 0