Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmserr.c84 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero() function
98 return _cmsMallocZero(ContextID, num * size); in _cmsCalloc()
121 _cmsMemPluginChunkType _cmsMemPluginChunk = {_cmsMalloc, _cmsMallocZero, _cmsFree,
154 ptr ->MallocZeroPtr= _cmsMallocZero; in _cmsInstallAllocFunctions()
181 chunk = (_cmsSubAllocator_chunk*) _cmsMallocZero(ContextID, sizeof(_cmsSubAllocator_chunk)); in _cmsCreateSubAllocChunk()
207 sub = (_cmsSubAllocator*) _cmsMallocZero(ContextID, sizeof(_cmsSubAllocator)); in _cmsCreateSubAlloc()
Dcmslut.c40 cmsStage* ph = (cmsStage*) _cmsMallocZero(ContextID, sizeof(cmsStage)); in _cmsStageAllocPlaceholder()
215 …NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageToneCurvesDat… in CurveSetDup()
259 NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(ContextID, sizeof(_cmsStageToneCurvesData)); in cmsStageAllocToneCurves()
347 NewElem = (_cmsStageMatrixData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageMatrixData)); in MatrixElemDup()
399 NewElem = (_cmsStageMatrixData*) _cmsMallocZero(ContextID, sizeof(_cmsStageMatrixData)); in cmsStageAllocMatrix()
494 NewElem = (_cmsStageCLutData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageCLutData)); in CLUTElemDup()
572 NewElem = (_cmsStageCLutData*) _cmsMallocZero(ContextID, sizeof(_cmsStageCLutData)); in cmsStageAllocCLut16bitGranular()
663 NewElem = (_cmsStageCLutData*) _cmsMallocZero(ContextID, sizeof(_cmsStageCLutData)); in cmsStageAllocCLutFloatGranular()
1377 NewLUT = (cmsPipeline*) _cmsMallocZero(ContextID, sizeof(cmsPipeline)); in cmsPipelineAlloc()
Dcmsnamed.c41 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU)); in cmsMLUalloc()
539 … cmsNAMEDCOLORLIST* v = (cmsNAMEDCOLORLIST*) _cmsMallocZero(ContextID, sizeof(cmsNAMEDCOLORLIST)); in cmsAllocNamedColorList()
773 Seq = (cmsSEQ*) _cmsMallocZero(ContextID, sizeof(cmsSEQ)); in cmsAllocProfileSequenceDescription()
863 _cmsDICT* dict = (_cmsDICT*) _cmsMallocZero(ContextID, sizeof(_cmsDICT)); in cmsDictAlloc()
916 entry = (cmsDICTentry*) _cmsMallocZero(dict ->ContextID, sizeof(cmsDICTentry)); in cmsDictAddEntry()
Dcmsio0.c105 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler)); in cmsOpenIOhandlerFromNULL()
108 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL)); in cmsOpenIOhandlerFromNULL()
245 iohandler = (cmsIOHANDLER*) _cmsMallocZero(ContextID, sizeof(cmsIOHANDLER)); in cmsOpenIOhandlerFromMem()
251 fm = (FILEMEM*) _cmsMallocZero(ContextID, sizeof(FILEMEM)); in cmsOpenIOhandlerFromMem()
277 fm = (FILEMEM*) _cmsMallocZero(ContextID, sizeof(FILEMEM)); in cmsOpenIOhandlerFromMem()
382 iohandler = (cmsIOHANDLER*) _cmsMallocZero(ContextID, sizeof(cmsIOHANDLER)); in cmsOpenIOhandlerFromFile()
452 iohandler = (cmsIOHANDLER*) _cmsMallocZero(ContextID, sizeof(cmsIOHANDLER)); in cmsOpenIOhandlerFromStream()
500 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) _cmsMallocZero(ContextID, sizeof(_cmsICCPROFILE)); in cmsCreateProfilePlaceholder()
Dcmsmd5.c157 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5)); in MD5alloc()
Dcmsopt.c390 Prelin16Data* p16 = (Prelin16Data*)_cmsMallocZero(ContextID, sizeof(Prelin16Data)); in PrelinOpt16alloc()
884 p8 = (Prelin8Data*)_cmsMallocZero(ContextID, sizeof(Prelin8Data)); in PrelinOpt8alloc()
1321 c16 = (Curves16Data*)_cmsMallocZero(ContextID, sizeof(Curves16Data)); in CurvesAlloc()
Dcmscam02.c365 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) { in cmsCIECAM02Init()
Dcmssm.c304 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB)); in cmsGBDAlloc()
Dcmscgats.c1058 void* ptr = _cmsMallocZero(it8->ContextID, size); in AllocBigBlock()
1062 ptr1 = (OWNEDMEM*) _cmsMallocZero(it8 ->ContextID, sizeof(OWNEDMEM)); in AllocBigBlock()
1291 it8 = (cmsIT8*) _cmsMallocZero(ContextID, sizeof(cmsIT8)); in cmsIT8Alloc()
Dcmstypes.c305 xyz = (cmsCIEXYZ*) _cmsMallocZero(self ->ContextID, sizeof(cmsCIEXYZ)); in Type_XYZ_Read()
366 chrm = (cmsCIExyYTRIPLE*) _cmsMallocZero(self ->ContextID, sizeof(cmsCIExyYTRIPLE)); in Type_Chromaticity_Read()
3522 cmsUcrBg* n = (cmsUcrBg*) _cmsMallocZero(self ->ContextID, sizeof(cmsUcrBg)); in Type_UcrBg_Read()
3599 cmsUcrBg* NewUcrBg = (cmsUcrBg*) _cmsMallocZero(self ->ContextID, sizeof(cmsUcrBg)); in Type_UcrBg_Dup()
3766 sc = (cmsScreening*) _cmsMallocZero(self ->ContextID, sizeof(cmsScreening)); in Type_Screening_Read()
3850 … vc = (cmsICCViewingConditions*) _cmsMallocZero(self ->ContextID, sizeof(cmsICCViewingConditions)); in Type_ViewingConditions_Read()
5026 *wcstr = (wchar_t*) _cmsMallocZero(e ->ContextID, (nChars + 1) * sizeof(wchar_t)); in ReadOneWChar()
Dcmsgamma.c232 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve)); in AllocateToneCurveStruct()
Dcmsxform.c771 _cmsTRANSFORM* p = (_cmsTRANSFORM*)_cmsMallocZero(ContextID, sizeof(_cmsTRANSFORM)); in AllocEmptyTransform()
Dcmsintrp.c126 p = (cmsInterpParams*) _cmsMallocZero(ContextID, sizeof(cmsInterpParams)); in _cmsComputeInterpParamsEx()
/external/pdfium/third_party/lcms/
D0000-cmserr-changes.patch60 +void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size)
88 + return _cmsMallocZero(ContextID, num * size);
130 - return _cmsMallocZero(ContextID, Total);
158 +_cmsMemPluginChunkType _cmsMemPluginChunk = {_cmsMalloc, _cmsMallocZero, _cmsFree,
195 + ptr ->MallocZeroPtr= _cmsMallocZero;
249 -void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size)
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h104 CMSAPI void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size);