Lines Matching defs:Ptr
143 void _cmsFreeDefaultFn(cmsContext ContextID, void *Ptr)
148 if (Ptr) free(Ptr);
153 // The default realloc function. Again it checks for exploits. If Ptr is NULL,
156 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size)
161 return realloc(Ptr, size);
312 void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size)
315 return ptr->ReallocPtr(ContextID, Ptr, size);
319 void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr)
321 if (Ptr != NULL) {
323 ptr ->FreePtr(ContextID, Ptr);