Home
last modified time | relevance | path

Searched refs:NewMlu (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsnamed.c237 cmsMLU* NewMlu = NULL; in cmsMLUdup() local
242 NewMlu = cmsMLUalloc(mlu ->ContextID, mlu ->UsedEntries); in cmsMLUdup()
243 if (NewMlu == NULL) return NULL; in cmsMLUdup()
246 if (NewMlu ->AllocatedEntries < mlu ->UsedEntries) in cmsMLUdup()
250 if (NewMlu ->Entries == NULL || mlu ->Entries == NULL) goto Error; in cmsMLUdup()
252 memmove(NewMlu ->Entries, mlu ->Entries, mlu ->UsedEntries * sizeof(_cmsMLUentry)); in cmsMLUdup()
253 NewMlu ->UsedEntries = mlu ->UsedEntries; in cmsMLUdup()
257 NewMlu ->MemPool = NULL; in cmsMLUdup()
261 NewMlu ->MemPool = _cmsMalloc(mlu ->ContextID, mlu ->PoolUsed); in cmsMLUdup()
262 if (NewMlu ->MemPool == NULL) goto Error; in cmsMLUdup()
[all …]