Lines Matching defs:realloc
130 * When realloc() is called, if the new size is sufficiently smaller than
131 * the old size, realloc() will allocate a new, smaller block to avoid
982 * realloc: change the size of a memory block
985 realloc(void *addr, size_t size, struct malloc_type *mtp, int flags)
995 ("realloc: bad malloc type version"));
997 ("realloc: called with spinlock or critical section held"));
999 /* realloc(NULL, ...) is equivalent to malloc(...) */
1020 ("realloc: address %p out of range", (void *)addr));
1061 * reallocf: same as realloc() but free memory on failure.
1068 if ((mem = realloc(addr, size, mtp, flags)) == NULL)