Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgamma.c241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
244 …p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametri… in AllocateToneCurveStruct()
256 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct()
275 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
852 Res = (cmsFloat32Number*) _cmsCalloc(ContextID, nResultingPoints, sizeof(cmsFloat32Number)); in cmsJoinToneCurve()
1016 c = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1017 d = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1018 e = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
Dcmserr.c277 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() function
307 _cmsRealloc, _cmsCalloc, _cmsDupMem
340 ptr ->CallocPtr = _cmsCalloc; in _cmsInstallAllocFunctions()
Dcmstypes.c178 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
181 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in ReadPositionTable()
227 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
230 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); in WritePositionTable()
459 …ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
528 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_S15Fixed16_Read()
589 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_U16Fixed16_Read()
984 Text = (char*) _cmsCalloc(self ->ContextID, len, sizeof(char)); in Type_Text_Description_Write()
987 Wide = (wchar_t*) _cmsCalloc(self ->ContextID, len, sizeof(wchar_t)); in Type_Text_Description_Write()
1791 … 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()
193 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t)); in cmsMLUsetASCII()
733 Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC)); in cmsAllocProfileSequenceDescription()
776 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, Cols, 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.c295 … p16 -> EvalCurveOut16 = (_cmsInterpFn16*) _cmsCalloc(ContextID, nOutputs, sizeof(_cmsInterpFn16)); in PrelinOpt16alloc()
296 …p16 -> ParamsCurveOut16 = (cmsInterpParams**) _cmsCalloc(ContextID, nOutputs, sizeof(cmsInterpPara… in PrelinOpt16alloc()
1184 c16 ->Curves = (cmsUInt16Number**)_cmsCalloc(ContextID, nCurves, sizeof(cmsUInt16Number*)); in CurvesAlloc()
1189 … c16->Curves[i] = (cmsUInt16Number*)_cmsCalloc(ContextID, nElements, sizeof(cmsUInt16Number)); in CurvesAlloc()
1293 …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/lcms2-2.6/include/
Dlcms2_plugin.h105 CMSAPI void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32…