/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
cmsmd5.c | 53 cmsContext ContextID; 154 cmsHANDLE MD5alloc(cmsContext ContextID) 156 _cmsMD5* ctx = (_cmsMD5*) _cmsMallocZero(ContextID, sizeof(_cmsMD5)); 159 ctx ->ContextID = ContextID; 251 _cmsFree(ctx ->ContextID, ctx); 262 cmsContext ContextID; 271 ContextID = cmsGetProfileContextID(hProfile); 285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); 292 MD5 = MD5alloc(ContextID); [all...] |
cmsgmt.c | 32 cmsHTRANSFORM _cmsChain2Lab(cmsContext ContextID,
55 hLab = cmsCreateLab4ProfileTHR(ContextID, NULL);
74 xform = cmsCreateExtendedTransform(ContextID, nProfiles + 1, ProfileList,
92 cmsToneCurve* ComputeKToLstar(cmsContext ContextID,
108 xform = _cmsChain2Lab(ContextID, nProfiles, TYPE_CMYK_FLT, TYPE_Lab_DBL, Intents, hProfiles, BPC, AdaptationStates, dwFlags);
111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number));
125 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints);
130 if (SampledPoints) _cmsFree(ContextID, SampledPoints);
139 cmsToneCurve* _cmsBuildKToneCurve(cmsContext ContextID,
160 in = ComputeKToLstar(ContextID, nPoints, nProfiles - 1, Intents, hProfiles, BPC, AdaptationStates, dwFlags); [all...] |
cmssamp.c | 43 cmsContext ContextID = cmsGetProfileContextID(hProfile); 44 cmsHPROFILE hLab = cmsCreateLab4ProfileTHR(ContextID, NULL); 54 xform = cmsCreateExtendedTransform(ContextID, 4, hProfiles, BPC, Intents, 77 cmsContext ContextID = cmsGetProfileContextID(hInput); 105 hLab = cmsCreateLab2ProfileTHR(ContextID, NULL); 112 xform = cmsCreateTransformTHR(ContextID, hInput, dwFormat,
|
cmscam02.c | 55 cmsContext ContextID; 359 cmsHANDLE CMSEXPORT cmsCIECAM02Init(cmsContext ContextID, const cmsViewingConditions* pVC) 365 if((lpMod = (cmsCIECAM02*) _cmsMallocZero(ContextID, sizeof(cmsCIECAM02))) == NULL) { 369 lpMod ->ContextID = ContextID; 432 if (lpMod) _cmsFree(lpMod ->ContextID, lpMod);
|
cmsio1.c | 160 cmsContext ContextID = cmsGetProfileContextID(hProfile); 165 Lut = cmsPipelineAlloc(ContextID, 1, 3); 176 EmptyTab = cmsBuildTabulatedToneCurve16(ContextID, 2, Zero); 185 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, OneToThreeInputMatrix, NULL)) || 186 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, LabCurves))) { 196 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC)) || 197 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 1, GrayInputMatrix, NULL))) 220 cmsContext ContextID = cmsGetProfileContextID(hProfile); 241 Lut = cmsPipelineAlloc(ContextID, 3, 3); 244 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, Shapes)) | [all...] |
cmsnamed.c | 33 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) 41 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU)); 44 mlu ->ContextID = ContextID; 47 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry)); 49 _cmsFree(ContextID, mlu); 80 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size); 107 NewPtr = (_cmsMLUentry*)_cmsRealloc(mlu ->ContextID, mlu ->Entries, AllocatedEntries*sizeof(_cmsMLUentry)); 193 WStr = (wchar_t*) _cmsCalloc(mlu ->ContextID, len, sizeof(wchar_t)); 201 _cmsFree(mlu ->ContextID, WStr) [all...] |
cmssm.c | 68 cmsContext ContextID; 301 cmsHANDLE CMSEXPORT cmsGBDAlloc(cmsContext ContextID) 303 cmsGDB* gbd = (cmsGDB*) _cmsMallocZero(ContextID, sizeof(cmsGDB)); 306 gbd -> ContextID = ContextID; 316 _cmsFree(gbd->ContextID, (void*) gbd); 339 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, "spherical value out of range"); 347 cmsSignalError(gbd ->ContextID, cmsERROR_RANGE, " quadrant out of range");
|
cmsgamma.c | 127 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Data) 129 _cmsCurvesPluginChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); 139 fl = (_cmsParametricCurvesCollection*) _cmsPluginMalloc(ContextID, sizeof(_cmsParametricCurvesCollection)); 178 _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int* index) 182 _cmsCurvesPluginChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); 213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, 222 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve of more than 65530 entries"); 227 cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve with zero segments and no table"); 232 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve)); 241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)) [all...] |
cmsvirt.c | 37 cmsContext ContextID = cmsGetProfileContextID(hProfile); 39 DescriptionMLU = cmsMLUalloc(ContextID, 1); 40 CopyrightMLU = cmsMLUalloc(ContextID, 1); 66 cmsContext ContextID = cmsGetProfileContextID(hProfile); 67 cmsSEQ* Seq = cmsAllocProfileSequenceDescription(ContextID, 1); 101 cmsHPROFILE CMSEXPORT cmsCreateRGBProfileTHR(cmsContext ContextID, 113 hICC = cmsCreateProfilePlaceholder(ContextID); 227 cmsHPROFILE CMSEXPORT cmsCreateGrayProfileTHR(cmsContext ContextID, 234 hICC = cmsCreateProfilePlaceholder(ContextID); 288 cmsHPROFILE CMSEXPORT cmsCreateLinearizationDeviceLinkTHR(cmsContext ContextID, [all...] |
cmsio0.c | 93 _cmsFree(iohandler ->ContextID, ResData); 94 _cmsFree(iohandler ->ContextID, iohandler); 99 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromNULL(cmsContext ContextID) 104 iohandler = (struct _cms_io_handler*) _cmsMallocZero(ContextID, sizeof(struct _cms_io_handler)); 107 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL)); 112 iohandler ->ContextID = ContextID; 127 if (iohandler) _cmsFree(ContextID, iohandler); 155 cmsSignalError(iohandler ->ContextID, cmsERROR_READ, "Read from memory error. Got %d bytes, block should be of %d bytes", len, count * size); 174 cmsSignalError(iohandler ->ContextID, cmsERROR_SEEK, "Too few data; probably corrupted profile") [all...] |
cmscgats.c | 175 cmsContext ContextID; // The threading context 471 cmsSignalError(it8 ->ContextID, cmsERROR_CORRUPTION_DETECTED, "%s", ErrMsg); 1035 if (p->Ptr) _cmsFree(it8 ->ContextID, p->Ptr); 1036 _cmsFree(it8 ->ContextID, p); 1041 _cmsFree(it8 ->ContextID, it8->MemoryBlock); 1043 _cmsFree(it8 ->ContextID, it8); 1052 void* ptr = _cmsMallocZero(it8->ContextID, size); 1056 ptr1 = (OWNEDMEM*) _cmsMallocZero(it8 ->ContextID, sizeof(OWNEDMEM)); [all...] |
cmsopt.c | 35 cmsContext ContextID; 49 cmsContext ContextID; 77 cmsContext ContextID; 95 cmsContext ContextID; 239 void PrelinOpt16free(cmsContext ContextID, void* ptr) 243 _cmsFree(ContextID, p16 ->EvalCurveOut16); 244 _cmsFree(ContextID, p16 ->ParamsCurveOut16); 246 _cmsFree(ContextID, p16); 250 void* Prelin16dup(cmsContext ContextID, const void* ptr) 253 Prelin16Data* Duped = _cmsDupMem(ContextID, p16, sizeof(Prelin16Data)) [all...] |
lcms2_internal.h | 326 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size); 329 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 332 cmsBool _cmsRegisterInterpPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 335 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 338 cmsBool _cmsRegisterFormattersPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 341 cmsBool _cmsRegisterTagTypePlugin(cmsContext ContextID, cmsPluginBase* Plugin); 344 cmsBool _cmsRegisterTagPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 347 cmsBool _cmsRegisterRenderingIntentPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 350 cmsBool _cmsRegisterMultiProcessElementPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 353 cmsBool _cmsRegisterOptimizationPlugin(cmsContext ContextID, cmsPluginBase* Plugin) [all...] |
cmstypes.c | 178 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); 181 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); 202 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); 203 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); 207 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); 208 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes); 227 ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); 230 ElementSizes = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number)); 267 if (ElementOffsets != NULL) _cmsFree(io ->ContextID, ElementOffsets); 268 if (ElementSizes != NULL) _cmsFree(io ->ContextID, ElementSizes) [all...] |
/external/chromium_org/components/history/core/browser/ |
history_types.h | 51 typedef content::WebContents* ContextID; 381 ContextID context_id, 393 ContextID context_id;
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/ |
lcms2_plugin.h | 99 CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...); 103 CMSAPI void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size); 104 CMSAPI void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size); 105 CMSAPI void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size); 106 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number NewSize); 107 CMSAPI void CMSEXPORT _cmsFree(cmsContext ContextID, void* Ptr); 108 CMSAPI void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size); 116 cmsContext ContextID; 187 typedef void (* _cmsFreeUserDataFn)(cmsContext ContextID, void* Data); 188 typedef void* (* _cmsDupUserDataFn)(cmsContext ContextID, const void* Data) [all...] |
lcms2.h | [all...] |