• Home
  • Raw
  • Download

Lines Matching refs:ContextID

72 cmsBool  _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin)  in _cmsRegisterMemHandlerPlugin()  argument
78 void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsMalloc() argument
84 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero() argument
92 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() argument
98 return _cmsMallocZero(ContextID, num * size); in _cmsCalloc()
102 void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) in _cmsRealloc() argument
108 void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr) in _cmsFree() argument
114 void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) in _cmsDupMem() argument
172 _cmsSubAllocator_chunk* _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAllocChunk() argument
181 chunk = (_cmsSubAllocator_chunk*) _cmsMallocZero(ContextID, sizeof(_cmsSubAllocator_chunk)); in _cmsCreateSubAllocChunk()
185 chunk ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, Initial); in _cmsCreateSubAllocChunk()
189 _cmsFree(ContextID, chunk); in _cmsCreateSubAllocChunk()
202 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAlloc() argument
207 sub = (_cmsSubAllocator*) _cmsMallocZero(ContextID, sizeof(_cmsSubAllocator)); in _cmsCreateSubAlloc()
210 sub ->ContextID = ContextID; in _cmsCreateSubAlloc()
212 sub ->h = _cmsCreateSubAllocChunk(ContextID, Initial); in _cmsCreateSubAlloc()
214 _cmsFree(ContextID, sub); in _cmsCreateSubAlloc()
230 if (chunk->Block != NULL) _cmsFree(sub ->ContextID, chunk->Block); in _cmsSubAllocDestroy()
231 _cmsFree(sub ->ContextID, chunk); in _cmsSubAllocDestroy()
235 _cmsFree(sub ->ContextID, sub); in _cmsSubAllocDestroy()
256 chunk = _cmsCreateSubAllocChunk(sub -> ContextID, newSize); in _cmsSubAlloc()
310 static void DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const c…
335 void DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Te… in DefaultLogErrorHandlerFunction() argument
340 cmsUNUSED_PARAMETER(ContextID); in DefaultLogErrorHandlerFunction()
346 void CMSEXPORT cmsSetLogErrorHandlerTHR(cmsContext ContextID, cmsLogErrorHandlerFunction Fn) in cmsSetLogErrorHandlerTHR() argument
348 …_cmsLogErrorChunkType* lhg = (_cmsLogErrorChunkType*) _cmsContextGetClientChunk(ContextID, Logger); in cmsSetLogErrorHandlerTHR()
367 void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorTex… in cmsSignalError() argument
379 lhg = (_cmsLogErrorChunkType*) _cmsContextGetClientChunk(ContextID, Logger); in cmsSignalError()
381 lhg ->LogErrorHandler(ContextID, ErrorCode, Buffer); in cmsSignalError()
455 cmsBool _cmsRegisterMutexPlugin(cmsContext ContextID, cmsPluginBase* Data) in _cmsRegisterMutexPlugin() argument
458 …ginChunkType* ctx = ( _cmsMutexPluginChunkType*) _cmsContextGetClientChunk(ContextID, MutexPlugin); in _cmsRegisterMutexPlugin()
485 void* CMSEXPORT _cmsCreateMutex(cmsContext ContextID) in _cmsCreateMutex() argument
487 …_cmsMutexPluginChunkType* ptr = (_cmsMutexPluginChunkType*) _cmsContextGetClientChunk(ContextID, M… in _cmsCreateMutex()
491 return ptr ->CreateMutexPtr(ContextID); in _cmsCreateMutex()
494 void CMSEXPORT _cmsDestroyMutex(cmsContext ContextID, void* mtx) in _cmsDestroyMutex() argument
496 …_cmsMutexPluginChunkType* ptr = (_cmsMutexPluginChunkType*) _cmsContextGetClientChunk(ContextID, M… in _cmsDestroyMutex()
500 ptr ->DestroyMutexPtr(ContextID, mtx); in _cmsDestroyMutex()
504 cmsBool CMSEXPORT _cmsLockMutex(cmsContext ContextID, void* mtx) in _cmsLockMutex() argument
506 …_cmsMutexPluginChunkType* ptr = (_cmsMutexPluginChunkType*) _cmsContextGetClientChunk(ContextID, M… in _cmsLockMutex()
510 return ptr ->LockMutexPtr(ContextID, mtx); in _cmsLockMutex()
513 void CMSEXPORT _cmsUnlockMutex(cmsContext ContextID, void* mtx) in _cmsUnlockMutex() argument
515 …_cmsMutexPluginChunkType* ptr = (_cmsMutexPluginChunkType*) _cmsContextGetClientChunk(ContextID, M… in _cmsUnlockMutex()
519 ptr ->UnlockMutexPtr(ContextID, mtx); in _cmsUnlockMutex()