Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmstypes.c175 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable() local
187 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
188 if (ElementSizes == NULL) goto Error; in ReadPositionTable()
193 if (!_cmsReadUInt32Number(io, &ElementSizes[i])) goto Error; in ReadPositionTable()
204 if (!ElementFn(self, io, Cargo, i, ElementSizes[i])) goto Error; in ReadPositionTable()
209 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable()
214 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable()
230 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in WritePositionTable() local
236 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
237 if (ElementSizes == NULL) goto Error; in WritePositionTable()
[all …]
/external/pdfium/third_party/lcms/
D0024-verify-size-before-reading.patch8 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL;