Home
last modified time | relevance | path

Searched refs:TagDescriptor (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmsio0.c1195 cmsTagDescriptor* TagDescriptor; in SaveTags() local
1252 TagDescriptor = _cmsGetTagDescriptor(Icc-> ContextID, Icc -> TagNames[i]); in SaveTags()
1253 if (TagDescriptor == NULL) continue; // Unsupported, ignore it in SaveTags()
1255 if (TagDescriptor ->DecideType != NULL) { in SaveTags()
1257 Type = TagDescriptor ->DecideType(Version, Data); in SaveTags()
1261 Type = TagDescriptor ->SupportedTypes[0]; in SaveTags()
1278 … if (!LocalTypeHandler.WritePtr(&LocalTypeHandler, io, Data, TagDescriptor ->ElemCount)) { in SaveTags()
1502 cmsBool IsTypeSupported(cmsTagDescriptor* TagDescriptor, cmsTagTypeSignature Type) in IsTypeSupported() argument
1506 nMaxTypes = TagDescriptor->nSupportedTypes; in IsTypeSupported()
1511 if (Type == TagDescriptor ->SupportedTypes[i]) return TRUE; in IsTypeSupported()
[all …]
/external/pdfium/third_party/lcms/
D0018-backport-c0a98d86.patch28 + TagDescriptor = _cmsGetTagDescriptor(Icc->ContextID, sig);
29 + if (TagDescriptor == NULL) goto Error;
31 + if (!IsTypeSupported(TagDescriptor, BaseType)) goto Error;