Lines Matching refs:p
82 static char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
87 return (char*)realloc(p, reallocSize); in DepthRealloc()
89 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
92 static void DepthFree(int depth, void* p) in DepthFree() argument
97 free(p); in DepthFree()
100 return (DepthFree(depth - 1, p)); in DepthFree()
110 char* p = DepthMalloc(STATIC_DEPTH, mallocSize); in ApplyForMalloc() local
112 if (!p) { in ApplyForMalloc()
121 DepthFree(STATIC_DEPTH, p); in ApplyForMalloc()
137 char* p = DepthCalloc(STATIC_DEPTH, callocSize); in ApplyForCalloc() local
139 if (!p) { in ApplyForCalloc()
148 DepthFree(STATIC_DEPTH, p); in ApplyForCalloc()
168 char* p = (char*)malloc(mallocSize); in ApplyForRealloc() local
169 if (!p) { in ApplyForRealloc()
174 char* np = DepthRealloc(STATIC_DEPTH, p, reallocSize); in ApplyForRealloc()
177 free(p); in ApplyForRealloc()