Home
last modified time | relevance | path

Searched refs:NamedColorList (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmsnamed.c598 cmsBool CMSEXPORT cmsAppendNamedColor(cmsNAMEDCOLORLIST* NamedColorList, in cmsAppendNamedColor() argument
604 if (NamedColorList == NULL) return FALSE; in cmsAppendNamedColor()
606 if (NamedColorList ->nColors + 1 > NamedColorList ->Allocated) { in cmsAppendNamedColor()
607 if (!GrowNamedColorList(NamedColorList)) return FALSE; in cmsAppendNamedColor()
610 for (i=0; i < NamedColorList ->ColorantCount; i++) in cmsAppendNamedColor()
611NamedColorList ->List[NamedColorList ->nColors].DeviceColorant[i] = Colorant == NULL ? (cmsUInt16N… in cmsAppendNamedColor()
614NamedColorList ->List[NamedColorList ->nColors].PCS[i] = PCS == NULL ? (cmsUInt16Number) 0 : PCS[i… in cmsAppendNamedColor()
618 strncpy(NamedColorList ->List[NamedColorList ->nColors].Name, Name, cmsMAX_PATH-1); in cmsAppendNamedColor()
619 NamedColorList ->List[NamedColorList ->nColors].Name[cmsMAX_PATH-1] = 0; in cmsAppendNamedColor()
623 NamedColorList ->List[NamedColorList ->nColors].Name[0] = 0; in cmsAppendNamedColor()
[all …]
Dcmsps2.c1000 cmsNAMEDCOLORLIST* NamedColorList; in WriteNamedColorCSA() local
1006 NamedColorList = cmsGetNamedColorList(xform); in WriteNamedColorCSA()
1007 if (NamedColorList == NULL) return 0; in WriteNamedColorCSA()
1014 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCSA()
1024 if (!cmsNamedColorInfo(NamedColorList, i, ColorName, NULL, NULL, NULL, NULL)) in WriteNamedColorCSA()
1418 cmsNAMEDCOLORLIST* NamedColorList; in WriteNamedColorCRD() local
1429 NamedColorList = cmsGetNamedColorList(xform); in WriteNamedColorCRD()
1430 if (NamedColorList == NULL) return 0; in WriteNamedColorCRD()
1437 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCRD()
1446 if (!cmsNamedColorInfo(NamedColorList, i, ColorName, NULL, NULL, NULL, NULL)) in WriteNamedColorCRD()
Dcmstypes.c3038 cmsNAMEDCOLORLIST* NamedColorList = (cmsNAMEDCOLORLIST*) Ptr; in Type_ColorantTable_Write() local
3041 nColors = cmsNamedColorCount(NamedColorList); in Type_ColorantTable_Write()
3052 if (!cmsNamedColorInfo(NamedColorList, i, root, NULL, NULL, PCS, NULL)) return 0; in Type_ColorantTable_Write()
3166 cmsNAMEDCOLORLIST* NamedColorList = (cmsNAMEDCOLORLIST*) Ptr; in Type_NamedColor_Write() local
3171 nColors = cmsNamedColorCount(NamedColorList); in Type_NamedColor_Write()
3175 if (!_cmsWriteUInt32Number(io, NamedColorList ->ColorantCount)) return FALSE; in Type_NamedColor_Write()
3177 strncpy(prefix, (const char*) NamedColorList->Prefix, 32); in Type_NamedColor_Write()
3178 strncpy(suffix, (const char*) NamedColorList->Suffix, 32); in Type_NamedColor_Write()
3191 if (!cmsNamedColorInfo(NamedColorList, i, Root, NULL, NULL, PCS, Colorant)) return 0; in Type_NamedColor_Write()
3195 if (!_cmsWriteUInt16Array(io, NamedColorList ->ColorantCount, Colorant)) return FALSE; in Type_NamedColor_Write()
Dlcms2_internal.h885 cmsStage* _cmsStageAllocNamedColor(cmsNAMEDCOLORLIST* NamedColorList, cmsBool UsePCS);
/external/pdfium/third_party/lcms/include/
Dlcms2.h1366 CMSAPI cmsBool CMSEXPORT cmsNamedColorInfo(const cmsNAMEDCOLORLIST* NamedColorList, cmsU…