Searched refs:ElementSizes (Results 1 – 1 of 1) sorted by relevance
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmstypes.c | 175 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable() local 181 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable() 182 if (ElementSizes == NULL) goto Error; in ReadPositionTable() 187 if (!_cmsReadUInt32Number(io, &ElementSizes[i])) goto Error; in ReadPositionTable() 198 if (!ElementFn(self, io, Cargo, i, ElementSizes[i])) goto Error; in ReadPositionTable() 203 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable() 208 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); in ReadPositionTable() 224 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in WritePositionTable() local 230 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable() 231 if (ElementSizes == NULL) goto Error; in WritePositionTable() [all …]
|