Lines Matching refs:MALLOC
20 /* Increase the size of a malloc'd buffer. Two versions, one that
60 * from a malloc'd buffer otherwise. Two versions, one that returns, one
147 * Malloc a buffer, casting the return pointer. Various versions.
150 * The cast should be unnecessary, malloc(3) and friends return void *'s,
174 #define MALLOC(sp, p, cast, size) { \
175 if ((p = (cast)malloc(size)) == NULL) \
179 if ((p = (cast)malloc(size)) == NULL) \
183 p = (cast)malloc(size); \
186 if ((p = (cast)malloc(size)) == NULL) { \
197 malloc(size) : realloc(p, size))) == NULL) \