Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsnamed.c263 cmsMLU* NewMlu = NULL; in cmsMLUdup() local
268 NewMlu = cmsMLUalloc(mlu ->ContextID, mlu ->UsedEntries); in cmsMLUdup()
269 if (NewMlu == NULL) return NULL; in cmsMLUdup()
272 if (NewMlu ->AllocatedEntries < mlu ->UsedEntries) in cmsMLUdup()
276 if (NewMlu ->Entries == NULL || mlu ->Entries == NULL) goto Error; in cmsMLUdup()
278 memmove(NewMlu ->Entries, mlu ->Entries, mlu ->UsedEntries * sizeof(_cmsMLUentry)); in cmsMLUdup()
279 NewMlu ->UsedEntries = mlu ->UsedEntries; in cmsMLUdup()
283 NewMlu ->MemPool = NULL; in cmsMLUdup()
287 NewMlu ->MemPool = _cmsMalloc(mlu ->ContextID, mlu ->PoolUsed); in cmsMLUdup()
288 if (NewMlu ->MemPool == NULL) goto Error; in cmsMLUdup()
[all …]