• Home
  • Raw
  • Download

Lines Matching refs:Plugin

77 cmsBool   _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin);
195 void _cmsInstallAllocFunctions(cmsPluginMemHandler* Plugin, _cmsMemPluginChunkType* ptr)
197 if (Plugin == NULL) {
203 ptr ->MallocPtr = Plugin -> MallocPtr;
204 ptr ->FreePtr = Plugin -> FreePtr;
205 ptr ->ReallocPtr = Plugin -> ReallocPtr;
212 if (Plugin ->MallocZeroPtr != NULL) ptr ->MallocZeroPtr = Plugin -> MallocZeroPtr;
213 if (Plugin ->CallocPtr != NULL) ptr ->CallocPtr = Plugin -> CallocPtr;
214 if (Plugin ->DupPtr != NULL) ptr ->DupPtr = Plugin -> DupPtr;
223 cmsPluginMemHandler* Plugin = (cmsPluginMemHandler*) Data;
241 if (Plugin -> MallocPtr == NULL ||
242 Plugin -> FreePtr == NULL ||
243 Plugin -> ReallocPtr == NULL) return FALSE;
250 _cmsInstallAllocFunctions(Plugin, ptr);
257 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin) in _cmsRegisterMemHandlerPlugin() argument
326 void _cmsInstallAllocFunctions(cmsPluginMemHandler* Plugin, _cmsMemPluginChunkType* ptr) in _cmsInstallAllocFunctions() argument
328 if (Plugin == NULL) { in _cmsInstallAllocFunctions()
334 ptr ->MallocPtr = Plugin -> MallocPtr; in _cmsInstallAllocFunctions()
335 ptr ->FreePtr = Plugin -> FreePtr; in _cmsInstallAllocFunctions()
336 ptr ->ReallocPtr = Plugin -> ReallocPtr; in _cmsInstallAllocFunctions()
343 if (Plugin ->MallocZeroPtr != NULL) ptr ->MallocZeroPtr = Plugin -> MallocZeroPtr; in _cmsInstallAllocFunctions()
344 if (Plugin ->CallocPtr != NULL) ptr ->CallocPtr = Plugin -> CallocPtr; in _cmsInstallAllocFunctions()
345 if (Plugin ->DupPtr != NULL) ptr ->DupPtr = Plugin -> DupPtr; in _cmsInstallAllocFunctions()
643 cmsPluginMutex* Plugin = (cmsPluginMutex*) Data; in _cmsRegisterMutexPlugin() local
657 if (Plugin ->CreateMutexPtr == NULL || Plugin ->DestroyMutexPtr == NULL || in _cmsRegisterMutexPlugin()
658 Plugin ->LockMutexPtr == NULL || Plugin ->UnlockMutexPtr == NULL) return FALSE; in _cmsRegisterMutexPlugin()
661 ctx->CreateMutexPtr = Plugin->CreateMutexPtr; in _cmsRegisterMutexPlugin()
662 ctx->DestroyMutexPtr = Plugin ->DestroyMutexPtr; in _cmsRegisterMutexPlugin()
663 ctx ->LockMutexPtr = Plugin ->LockMutexPtr; in _cmsRegisterMutexPlugin()
664 ctx ->UnlockMutexPtr = Plugin ->UnlockMutexPtr; in _cmsRegisterMutexPlugin()