Lines Matching refs:MemPool
61 // Grows a mempool table for a MLU. Each time this function is called, mempool size is multiplied times two.
80 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size);
84 mlu ->MemPool = NewPtr;
165 Ptr = (cmsUInt8Number*) mlu ->MemPool;
257 NewMlu ->MemPool = NULL;
261 NewMlu ->MemPool = _cmsMalloc(mlu ->ContextID, mlu ->PoolUsed);
262 if (NewMlu ->MemPool == NULL) goto Error;
267 if (NewMlu ->MemPool == NULL || mlu ->MemPool == NULL) goto Error;
269 memmove(NewMlu ->MemPool, mlu->MemPool, mlu ->PoolUsed);
286 if (mlu -> MemPool) _cmsFree(mlu ->ContextID, mlu->MemPool);
324 return (wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v -> StrW); // Found exact match
340 return(wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v ->StrW);