Lines Matching refs:p
84 char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
89 return (char*)realloc(p, reallocSize); in DepthRealloc()
91 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
94 void DepthFree(int depth, void* p) in DepthFree() argument
99 free(p); in DepthFree()
102 return (DepthFree(depth - 1, p)); in DepthFree()
112 char* p = DepthMalloc(STATIC_DEPTH, mallocSize); in ApplyForMalloc() local
114 if (!p) { in ApplyForMalloc()
123 DepthFree(STATIC_DEPTH, p); in ApplyForMalloc()
139 char* p = DepthCalloc(STATIC_DEPTH, callocSize); in ApplyForCalloc() local
141 if (!p) { in ApplyForCalloc()
150 DepthFree(STATIC_DEPTH, p); in ApplyForCalloc()
169 char* p = (char*)malloc(mallocSize); in ApplyForRealloc() local
170 if (!p) { in ApplyForRealloc()
175 char* np = DepthRealloc(STATIC_DEPTH, p, reallocSize); in ApplyForRealloc()
178 free(p); in ApplyForRealloc()