Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/
D0015-cmsStageAllocMatrix-param-swap.patch9 - NewElem ->Offset = (cmsFloat64Number*) _cmsCalloc(ContextID, Cols, sizeof(cmsFloat64Number…
10 + NewElem ->Offset = (cmsFloat64Number*) _cmsCalloc(ContextID, Rows, sizeof(cmsFloat64Number…
D0000-cmserr-changes.patch77 +void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size)
159 + _cmsRealloc, _cmsCalloc, _cmsDupMem
196 + ptr ->CallocPtr = _cmsCalloc;
256 -void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size)
D0024-verify-size-before-reading.patch17 … ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
D0017-memory-leak-ReadSegmentedCurve.patch13 …Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa…
D0023-upstream-integer-overflow-MPEmatrix_Read.patch83 Matrix = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, nElems, sizeof(cmsFloat64Number));
/external/pdfium/third_party/lcms/src/
Dcmsgamma.c240 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
243 …p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametri… in AllocateToneCurveStruct()
255 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct()
274 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
847 Res = (cmsFloat32Number*) _cmsCalloc(ContextID, nResultingPoints, sizeof(cmsFloat32Number)); in cmsJoinToneCurve()
1011 c = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1012 d = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1013 e = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
Dcmserr.c90 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() function
120 _cmsRealloc, _cmsCalloc, _cmsDupMem
153 ptr ->CallocPtr = _cmsCalloc; in _cmsInstallAllocFunctions()
Dcmstypes.c184 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
187 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
233 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
236 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
465 …ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
534 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_S15Fixed16_Read()
595 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_U16Fixed16_Read()
991 Text = (char*) _cmsCalloc(self ->ContextID, len, sizeof(char)); in Type_Text_Description_Write()
994 Wide = (wchar_t*) _cmsCalloc(self ->ContextID, len, sizeof(wchar_t)); in Type_Text_Description_Write()
1802 … PtrW = T = (cmsUInt16Number*) _cmsCalloc(self ->ContextID, nTabSize, sizeof(cmsUInt16Number)); in Type_LUT8_Read()
[all …]
Dcmsnamed.c47 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry)); in cmsMLUalloc()
220 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t)); in cmsMLUsetASCII()
766 Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC)); in cmsAllocProfileSequenceDescription()
809 NewSeq -> seq = (cmsPSEQDESC*) _cmsCalloc(pseq ->ContextID, pseq ->n, sizeof(cmsPSEQDESC)); in cmsDupProfileSequenceDescription()
Dcmslut.c219 …NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewElem ->nCurves, sizeof(cmsTo… in CurveSetDup()
268 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(ContextID, nChannels, sizeof(cmsToneCurve*)); in cmsStageAllocToneCurves()
403 NewElem ->Double = (cmsFloat64Number*) _cmsCalloc(ContextID, n, sizeof(cmsFloat64Number)); in cmsStageAllocMatrix()
417 … NewElem ->Offset = (cmsFloat64Number*) _cmsCalloc(ContextID, Rows, sizeof(cmsFloat64Number)); in cmsStageAllocMatrix()
589 NewElem ->Tab.T = (cmsUInt16Number*) _cmsCalloc(ContextID, n, sizeof(cmsUInt16Number)); in cmsStageAllocCLut16bitGranular()
680 NewElem ->Tab.TFloat = (cmsFloat32Number*) _cmsCalloc(ContextID, n, sizeof(cmsFloat32Number)); in cmsStageAllocCLutFloatGranular()
Dcmsopt.c381 … p16 -> EvalCurveOut16 = (_cmsInterpFn16*) _cmsCalloc(ContextID, nOutputs, sizeof(_cmsInterpFn16)); in PrelinOpt16alloc()
382 …p16 -> ParamsCurveOut16 = (cmsInterpParams**) _cmsCalloc(ContextID, nOutputs, sizeof(cmsInterpPara… in PrelinOpt16alloc()
1284 c16->Curves = (cmsUInt16Number**) _cmsCalloc(ContextID, nCurves, sizeof(cmsUInt16Number*)); in CurvesAlloc()
1289 … c16->Curves[i] = (cmsUInt16Number*) _cmsCalloc(ContextID, nElements, sizeof(cmsUInt16Number)); in CurvesAlloc()
1393 …GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
Dcmsgmt.c111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); in ComputeKToLstar()
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h105 CMSAPI void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32…