Lines Matching defs:malloc
42 #include <malloc.h>
57 # define malloc fmalloc
177 malloc(size_t nbytes)
191 * SunOS localtime() overwrites the 9th byte on an 8 byte malloc()....
195 * 12 byte malloc.
356 /* Stop gcc 5.x from optimizing malloc+memset = calloc */
371 * old malloc man page, it realloc's an already freed block. Usually
396 return (malloc(nbytes));
430 if ((res = malloc(nbytes)) == NULL)
454 * API, so we cannot use our malloc replacement without providing one.
505 ** ``Protected versions'' of malloc, realloc, calloc, and free
509 ** 1. malloc(0) is bad
528 if ((ptr = malloc(n)) == NULL)
551 if ((ptr = (p ? realloc(p, n) : malloc(n))) == NULL)
575 if ((ptr = malloc(n)) == NULL)
600 * mstats - print out statistics about malloc