Searched refs:ElementOffsets (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/third_party/lcms/ |
D | 0024-verify-size-before-reading.patch | 8 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; 17 … ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
|
/external/pdfium/third_party/lcms/src/ |
D | cmstypes.c | 175 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable() local 184 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable() 185 if (ElementOffsets == NULL) goto Error; in ReadPositionTable() 192 if (!_cmsReadUInt32Number(io, &ElementOffsets[i])) goto Error; in ReadPositionTable() 195 ElementOffsets[i] += BaseOffset; in ReadPositionTable() 201 if (!io -> Seek(io, ElementOffsets[i])) goto Error; in ReadPositionTable() 208 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable() 213 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); in ReadPositionTable() 230 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in WritePositionTable() local 233 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable() [all …]
|