/external/pdfium/third_party/lcms2-2.6/src/ |
cmserr.c | 77 cmsBool _cmsRegisterMemHandlerPlugin(cmsContext ContextID, cmsPluginBase* Plugin); 84 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size) 90 cmsUNUSED_PARAMETER(ContextID); 95 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size) 97 void *pt = _cmsMalloc(ContextID, size); 107 void _cmsFreeDefaultFn(cmsContext ContextID, void *Ptr) 114 cmsUNUSED_PARAMETER(ContextID); 120 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) 127 cmsUNUSED_PARAMETER(ContextID); 134 void* _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size [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...] |
cmslut.c | 31 cmsStage* CMSEXPORT _cmsStageAllocPlaceholder(cmsContext ContextID, 40 cmsStage* ph = (cmsStage*) _cmsMallocZero(ContextID, sizeof(cmsStage)); 45 ph ->ContextID = ContextID; 70 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) 72 return _cmsStageAllocPlaceholder(ContextID, 203 _cmsFree(mpe ->ContextID, Data ->TheCurves); 204 _cmsFree(mpe ->ContextID, Data); 215 NewElem = (_cmsStageToneCurvesData*) _cmsMallocZero(mpe ->ContextID, sizeof(_cmsStageToneCurvesData)); 219 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewElem ->nCurves, sizeof(cmsToneCurve*)) [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...] |
cmsxform.c | 57 cmsFloat64Number CMSEXPORT cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d) 60 _cmsAdaptationStateChunkType* ptr = (_cmsAdaptationStateChunkType*) _cmsContextGetClientChunk(ContextID, AdaptationStateContext); 93 void CMSEXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) 95 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesContext); 104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) 106 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(ContextID, AlarmCodesContext); 169 p ->FreeUserData(p ->ContextID, p ->UserData); 171 _cmsFree(p ->ContextID, (void *) p); 337 _cmsAlarmCodesChunkType* ContextAlarmCodes = (_cmsAlarmCodesChunkType*) _cmsContextGetClientChunk(p->ContextID, AlarmCodesContext); 523 cmsBool _cmsRegisterTransformPlugin(cmsContext ContextID, cmsPluginBase* Data [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...] |
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...] |
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...] |
cmsplugin.c | 519 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size) 521 struct _cmsContext_struct* ctx = _cmsGetContext(ContextID); 525 if (ContextID == NULL) { 530 cmsSignalError(ContextID, cmsERROR_CORRUPTION_DETECTED, "NULL memory pool on context"); 661 struct _cmsContext_struct* _cmsGetContext(cmsContext ContextID) 663 struct _cmsContext_struct* id = (struct _cmsContext_struct*) ContextID; 687 void* _cmsContextGetClientChunk(cmsContext ContextID, _cmsMemoryClient mc) 693 cmsSignalError(ContextID, cmsERROR_RANGE, "Bad context client"); 697 ctx = _cmsGetContext(ContextID); 714 void CMSEXPORT cmsUnregisterPluginsTHR(cmsContext ContextID) [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...] |
cmscnvrt.c | 33 cmsPipeline* _cmsLinkProfiles(cmsContext ContextID, 46 cmsPipeline* DefaultICCintents(cmsContext ContextID, 59 cmsPipeline* BlackPreservingKOnlyIntents(cmsContext ContextID, 72 cmsPipeline* BlackPreservingKPlaneIntents(cmsContext ContextID, 164 cmsIntentsList* SearchIntent(cmsContext ContextID, cmsUInt32Number Intent) 166 _cmsIntentsPluginChunkType* ctx = ( _cmsIntentsPluginChunkType*) _cmsContextGetClientChunk(ContextID, IntentPlugin); 444 !cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl))) 450 !cmsPipelineInsertStage(Result, cmsAT_END, cmsStageAllocMatrix(Result ->ContextID, 3, 3, m_as_dbl, off_as_dbl))) 452 if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocXYZ2Lab(Result ->ContextID))) 467 if (!cmsPipelineInsertStage(Result, cmsAT_END, _cmsStageAllocLab2XYZ(Result ->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...] |
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...] |
cmsps2.c | 831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, int Intent) 833 cmsToneCurve* Out = cmsBuildTabulatedToneCurve16(ContextID, 256, NULL); 835 cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, Intent, cmsFLAGS_NOOPTIMIZE); 881 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL); 891 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Cannot create transform Profile -> Lab"); 900 cmsToneCurve* Gray2Y = ExtractGray2Y(m ->ContextID, hProfile, Intent); 916 _cmsOptimizePipeline(m->ContextID, &DeviceLink, Intent, &InputFormat, &OutFrm, &dwFlags); 926 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. This profile has %d channels.", nChannels); 982 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Profile is not suitable for CSA. Unsupported colorspace."); 1003 hLab = cmsCreateLab4ProfileTHR(m ->ContextID, NULL) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
CurrentProgramPropertyAccessor.java | 30 public CurrentProgramPropertyAccessor(int contextid, GLStateType stateCategory, 32 mContextId = contextid; 37 mCurrentProgramAccessor = GLPropertyAccessor.makeAccessor(contextid,
|
CurrentVboPropertyAccessor.java | 33 public CurrentVboPropertyAccessor(int contextId, GLEnum target, GLStateType vboProperty) { 34 mContextId = contextId; 44 mVboBindingAccessor = GLPropertyAccessor.makeAccessor(contextId,
|
TexturePropertyAccessor.java | 36 public TexturePropertyAccessor(int contextId, GLStateType textureUnitTarget, int level, 38 mContextId = contextId; 46 public TexturePropertyAccessor(int contextId, GLStateType textureUnitTarget, 48 this(contextId, textureUnitTarget, -1, textureTargetName);
|
GLPropertyAccessor.java | 36 private GLPropertyAccessor(int contextId, List<GLPropertyExtractor> extractors) { 37 mContextId = contextId; 59 * @param contextId id of affected context 66 public static IGLPropertyAccessor makeAccessor(int contextId, Object...accessors) { 80 return new GLPropertyAccessor(contextId, extractors);
|
TextureUnitPropertyAccessor.java | 33 public TextureUnitPropertyAccessor(int contextId, GLStateType targetPropertyType) { 34 mContextId = contextId;
|
/external/tpm2/ |
Session_fp.h | 31 CONTEXT_COUNTER *contextID // OUT: assigned contextID
|
ContextSave.c | 15 // TPM_RC_CONTEXT_GAP a contextID could not be assigned for a session context save 27 UINT64 contextID = 0; // session context ID 147 result = SessionContextSave(out->context.savedHandle, &contextID); 150 // sequence number is the current session contextID 151 out->context.sequence = contextID;
|
/external/pdfium/third_party/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...] |