Lines Matching defs:malloc
33 * Memory management: malloc(), realloc(), free().
71 * This never worked when alternate malloc() libraries were used
75 * real locking: libc_malloc_lock. This puts libc's malloc() package
76 * on the same footing as all other malloc packages.
94 #define FREESIZE (1<<5) /* size for preserving free blocks until next malloc */
97 static void *flist[FREESIZE]; /* list of blocks to be freed on next malloc */
127 /* want to return a unique pointer on malloc(0) */
163 malloc(size_t size)
224 /* perform free's of space since last malloc */
330 /* perform free's of space since last malloc */
412 /* call malloc to get a new block */
426 * Attempt special case recovery allocations since malloc() failed:
431 * malloc() may have failed to allocate the chunk of
434 * malloc() may have failed as with 2. Change to
484 * than malloc/realloc and the tree searches performed by these
848 * until the next malloc or realloc. At that time, all the
851 * remain undisturbed until the next malloc or realloc.
901 * to a block that was freed since the last call to malloc() or