Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmstypes.c175 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable() local
178 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
179 if (ElementOffsets == NULL) goto Error; in ReadPositionTable()
186 if (!_cmsReadUInt32Number(io, &ElementOffsets[i])) goto Error; in ReadPositionTable()
189 ElementOffsets[i] += BaseOffset; in ReadPositionTable()
195 if (!io -> Seek(io, ElementOffsets[i])) goto Error; in ReadPositionTable()
202 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable()
207 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable()
224 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in WritePositionTable() local
227 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
[all …]