Lines Matching refs:Error

42     if (DescriptionMLU == NULL || CopyrightMLU == NULL) goto Error;  in SetTextTags()
44 if (!cmsMLUsetWide(DescriptionMLU, "en", "US", Description)) goto Error; in SetTextTags()
45 if (!cmsMLUsetWide(CopyrightMLU, "en", "US", L"No copyright, use freely")) goto Error; in SetTextTags()
47 if (!cmsWriteTag(hProfile, cmsSigProfileDescriptionTag, DescriptionMLU)) goto Error; in SetTextTags()
48 if (!cmsWriteTag(hProfile, cmsSigCopyrightTag, CopyrightMLU)) goto Error; in SetTextTags()
52 Error: in SetTextTags()
86 if (!_cmsWriteProfileSequence(hProfile, Seq)) goto Error; in SetSeqDescTag()
90 Error: in SetSeqDescTag()
141 if (!SetTextTags(hICC, L"RGB built-in")) goto Error; in cmsCreateRGBProfileTHR()
145 if (!cmsWriteTag(hICC, cmsSigMediaWhitePointTag, cmsD50_XYZ())) goto Error; in cmsCreateRGBProfileTHR()
151 if (!cmsWriteTag(hICC, cmsSigChromaticAdaptationTag, (void*) &CHAD)) goto Error; in cmsCreateRGBProfileTHR()
160 if (!_cmsBuildRGB2XYZtransferMatrix(&MColorants, &MaxWhite, Primaries)) goto Error; in cmsCreateRGBProfileTHR()
174 if (!cmsWriteTag(hICC, cmsSigRedColorantTag, (void*) &Colorants.Red)) goto Error; in cmsCreateRGBProfileTHR()
175 if (!cmsWriteTag(hICC, cmsSigBlueColorantTag, (void*) &Colorants.Blue)) goto Error; in cmsCreateRGBProfileTHR()
176 if (!cmsWriteTag(hICC, cmsSigGreenColorantTag, (void*) &Colorants.Green)) goto Error; in cmsCreateRGBProfileTHR()
183 if (!cmsWriteTag(hICC, cmsSigRedTRCTag, (void*) TransferFunction[0])) goto Error; in cmsCreateRGBProfileTHR()
187 if (!cmsLinkTag (hICC, cmsSigGreenTRCTag, cmsSigRedTRCTag)) goto Error; in cmsCreateRGBProfileTHR()
191 if (!cmsWriteTag(hICC, cmsSigGreenTRCTag, (void*) TransferFunction[1])) goto Error; in cmsCreateRGBProfileTHR()
196 if (!cmsLinkTag (hICC, cmsSigBlueTRCTag, cmsSigRedTRCTag)) goto Error; in cmsCreateRGBProfileTHR()
200 if (!cmsWriteTag(hICC, cmsSigBlueTRCTag, (void*) TransferFunction[2])) goto Error; in cmsCreateRGBProfileTHR()
205 if (!cmsWriteTag(hICC, cmsSigChromaticityTag, (void*) Primaries)) goto Error; in cmsCreateRGBProfileTHR()
211 Error: in cmsCreateRGBProfileTHR()
256 if (!SetTextTags(hICC, L"gray built-in")) goto Error; in cmsCreateGrayProfileTHR()
262 if (!cmsWriteTag(hICC, cmsSigMediaWhitePointTag, (void*) &tmp)) goto Error; in cmsCreateGrayProfileTHR()
267 if (!cmsWriteTag(hICC, cmsSigGrayTRCTag, (void*) TransferFunction)) goto Error; in cmsCreateGrayProfileTHR()
272 Error: in cmsCreateGrayProfileTHR()
313 if (Pipeline == NULL) goto Error; in cmsCreateLinearizationDeviceLinkTHR()
318 goto Error; in cmsCreateLinearizationDeviceLinkTHR()
321 if (!SetTextTags(hICC, L"Linearization built-in")) goto Error; in cmsCreateLinearizationDeviceLinkTHR()
322 if (!cmsWriteTag(hICC, cmsSigAToB0Tag, (void*) Pipeline)) goto Error; in cmsCreateLinearizationDeviceLinkTHR()
323 if (!SetSeqDescTag(hICC, "Linearization built-in")) goto Error; in cmsCreateLinearizationDeviceLinkTHR()
331 Error: in cmsCreateLinearizationDeviceLinkTHR()
430 if (LUT == NULL) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
436 if (CLUT == NULL) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
438 if (!cmsStageSampleCLut16bit(CLUT, InkLimitingSampler, (void*) &Limit, 0)) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
443 goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
446 if (!SetTextTags(hICC, L"ink-limiting built-in")) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
448 if (!cmsWriteTag(hICC, cmsSigAToB0Tag, (void*) LUT)) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
449 if (!SetSeqDescTag(hICC, "ink-limiting built-in")) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
457 Error: in cmsCreateInkLimitingDeviceLinkTHR()
492 if (LUT == NULL) goto Error; in cmsCreateLab2ProfileTHR()
495 goto Error; in cmsCreateLab2ProfileTHR()
497 if (!cmsWriteTag(hProfile, cmsSigAToB0Tag, LUT)) goto Error; in cmsCreateLab2ProfileTHR()
502 Error: in cmsCreateLab2ProfileTHR()
535 if (!SetTextTags(hProfile, L"Lab identity built-in")) goto Error; in cmsCreateLab4ProfileTHR()
539 if (LUT == NULL) goto Error; in cmsCreateLab4ProfileTHR()
542 goto Error; in cmsCreateLab4ProfileTHR()
544 if (!cmsWriteTag(hProfile, cmsSigAToB0Tag, LUT)) goto Error; in cmsCreateLab4ProfileTHR()
549 Error: in cmsCreateLab4ProfileTHR()
581 if (!SetTextTags(hProfile, L"XYZ identity built-in")) goto Error; in cmsCreateXYZProfileTHR()
585 if (LUT == NULL) goto Error; in cmsCreateXYZProfileTHR()
588 goto Error; in cmsCreateXYZProfileTHR()
590 if (!cmsWriteTag(hProfile, cmsSigAToB0Tag, LUT)) goto Error; in cmsCreateXYZProfileTHR()
595 Error: in cmsCreateXYZProfileTHR()
780 goto Error; in cmsCreateBCHSWabstractProfileTHR()
784 goto Error; in cmsCreateBCHSWabstractProfileTHR()
800 Error: in cmsCreateBCHSWabstractProfileTHR()
835 if (!SetTextTags(hProfile, L"NULL profile built-in")) goto Error; in cmsCreateNULLProfileTHR()
845 if (LUT == NULL) goto Error; in cmsCreateNULLProfileTHR()
852 goto Error; in cmsCreateNULLProfileTHR()
854 if (!cmsWriteTag(hProfile, cmsSigBToA0Tag, (void*) LUT)) goto Error; in cmsCreateNULLProfileTHR()
855 if (!cmsWriteTag(hProfile, cmsSigMediaWhitePointTag, cmsD50_XYZ())) goto Error; in cmsCreateNULLProfileTHR()
860 Error: in cmsCreateNULLProfileTHR()
947 if (!SetTextTags(hICC, L"Named color devicelink")) goto Error; in CreateNamedColorDevicelink()
950 if (Original == NULL) goto Error; in CreateNamedColorDevicelink()
954 if (nc2 == NULL) goto Error; in CreateNamedColorDevicelink()
969 if (!cmsWriteTag(hICC, cmsSigNamedColor2Tag, (void*) nc2)) goto Error; in CreateNamedColorDevicelink()
974 Error: in CreateNamedColorDevicelink()
1079 goto Error; in cmsTransform2DeviceLink()
1086 goto Error; in cmsTransform2DeviceLink()
1091 if (!hProfile) goto Error; // can't allocate in cmsTransform2DeviceLink()
1138 goto Error; in cmsTransform2DeviceLink()
1142 goto Error; in cmsTransform2DeviceLink()
1149 goto Error; in cmsTransform2DeviceLink()
1157 if (!SetTextTags(hProfile, L"devicelink")) goto Error; in cmsTransform2DeviceLink()
1160 if (!cmsWriteTag(hProfile, DestinationTag, LUT)) goto Error; in cmsTransform2DeviceLink()
1164 if (!cmsWriteTag(hProfile, cmsSigColorantTableTag, xform->InputColorant)) goto Error; in cmsTransform2DeviceLink()
1168 if (!cmsWriteTag(hProfile, cmsSigColorantTableOutTag, xform->OutputColorant)) goto Error; in cmsTransform2DeviceLink()
1172 if (!_cmsWriteProfileSequence(hProfile, xform ->Sequence)) goto Error; in cmsTransform2DeviceLink()
1177 if (!cmsWriteTag(hProfile, cmsSigMediaWhitePointTag, &xform ->EntryWhitePoint)) goto Error; in cmsTransform2DeviceLink()
1180 if (!cmsWriteTag(hProfile, cmsSigMediaWhitePointTag, &xform ->ExitWhitePoint)) goto Error; in cmsTransform2DeviceLink()
1190 Error: in cmsTransform2DeviceLink()