Lines Matching refs:_cups_strcasecmp
171 ippAddBoolean(request, IPP_TAG_JOB, mandatory, !_cups_strcasecmp(keyword, "true")); in _cupsConvertOptions()
261 if (!_cups_strcasecmp(choice->choice, "Gray")) in _cupsConvertOptions()
283 if (!_cups_strcasecmp(choice->choice, "draft")) in _cupsConvertOptions()
285 else if (!_cups_strcasecmp(choice->choice, "normal")) in _cupsConvertOptions()
287 else if (!_cups_strcasecmp(choice->choice, "high")) in _cupsConvertOptions()
295 if (pc->sides_1sided && !_cups_strcasecmp(choice->choice, pc->sides_1sided)) in _cupsConvertOptions()
297 else if (pc->sides_2sided_long && !_cups_strcasecmp(choice->choice, pc->sides_2sided_long)) in _cupsConvertOptions()
299 else if (pc->sides_2sided_short && !_cups_strcasecmp(choice->choice, pc->sides_2sided_short)) in _cupsConvertOptions()
319 if (!_cups_strcasecmp(format, "image/gif") || in _cupsConvertOptions()
320 !_cups_strcasecmp(format, "image/jp2") || in _cupsConvertOptions()
321 !_cups_strcasecmp(format, "image/jpeg") || in _cupsConvertOptions()
322 !_cups_strcasecmp(format, "image/png") || in _cupsConvertOptions()
323 !_cups_strcasecmp(format, "image/tiff") || in _cupsConvertOptions()
333 !_cups_strcasecmp(format, "application/vnd.cups-raster")) in _cupsConvertOptions()
346 if (!_cups_strcasecmp(keyword, "true")) in _cupsConvertOptions()
533 else if (!_cups_strcasecmp(line, "Filter")) in _ppdCacheCreateWithFile()
540 else if (!_cups_strcasecmp(line, "PreFilter")) in _ppdCacheCreateWithFile()
547 else if (!_cups_strcasecmp(line, "Product")) in _ppdCacheCreateWithFile()
551 else if (!_cups_strcasecmp(line, "SingleFile")) in _ppdCacheCreateWithFile()
553 pc->single_file = !_cups_strcasecmp(value, "true"); in _ppdCacheCreateWithFile()
555 else if (!_cups_strcasecmp(line, "IPP")) in _ppdCacheCreateWithFile()
606 else if (!_cups_strcasecmp(line, "NumBins")) in _ppdCacheCreateWithFile()
631 else if (!_cups_strcasecmp(line, "Bin")) in _ppdCacheCreateWithFile()
654 else if (!_cups_strcasecmp(line, "NumSizes")) in _ppdCacheCreateWithFile()
682 else if (!_cups_strcasecmp(line, "Size")) in _ppdCacheCreateWithFile()
709 else if (!_cups_strcasecmp(line, "CustomSize")) in _ppdCacheCreateWithFile()
739 else if (!_cups_strcasecmp(line, "SourceOption")) in _ppdCacheCreateWithFile()
743 else if (!_cups_strcasecmp(line, "NumSources")) in _ppdCacheCreateWithFile()
769 else if (!_cups_strcasecmp(line, "Source")) in _ppdCacheCreateWithFile()
793 else if (!_cups_strcasecmp(line, "NumTypes")) in _ppdCacheCreateWithFile()
818 else if (!_cups_strcasecmp(line, "Type")) in _ppdCacheCreateWithFile()
842 else if (!_cups_strcasecmp(line, "Preset")) in _ppdCacheCreateWithFile()
867 else if (!_cups_strcasecmp(line, "SidesOption")) in _ppdCacheCreateWithFile()
869 else if (!_cups_strcasecmp(line, "Sides1Sided")) in _ppdCacheCreateWithFile()
871 else if (!_cups_strcasecmp(line, "Sides2SidedLong")) in _ppdCacheCreateWithFile()
873 else if (!_cups_strcasecmp(line, "Sides2SidedShort")) in _ppdCacheCreateWithFile()
875 else if (!_cups_strcasecmp(line, "Finishings")) in _ppdCacheCreateWithFile()
892 else if (!_cups_strcasecmp(line, "FinishingTemplate")) in _ppdCacheCreateWithFile()
899 else if (!_cups_strcasecmp(line, "MaxCopies")) in _ppdCacheCreateWithFile()
901 else if (!_cups_strcasecmp(line, "ChargeInfoURI")) in _ppdCacheCreateWithFile()
903 else if (!_cups_strcasecmp(line, "JobAccountId")) in _ppdCacheCreateWithFile()
904 pc->account_id = !_cups_strcasecmp(value, "true"); in _ppdCacheCreateWithFile()
905 else if (!_cups_strcasecmp(line, "JobAccountingUserId")) in _ppdCacheCreateWithFile()
906 pc->accounting_user_id = !_cups_strcasecmp(value, "true"); in _ppdCacheCreateWithFile()
907 else if (!_cups_strcasecmp(line, "JobPassword")) in _ppdCacheCreateWithFile()
909 else if (!_cups_strcasecmp(line, "Mandatory")) in _ppdCacheCreateWithFile()
916 else if (!_cups_strcasecmp(line, "SupportFile")) in _ppdCacheCreateWithFile()
1071 if (!_cups_strcasecmp(ppd_size->name, "Custom")) in _ppdCacheCreateWithPPD()
1249 !_cups_strcasecmp(choice->choice, "Default")) in _ppdCacheCreateWithPPD()
1251 else if (!_cups_strcasecmp(choice->choice, "Cassette")) in _ppdCacheCreateWithPPD()
1253 else if (!_cups_strcasecmp(choice->choice, "PhotoTray")) in _ppdCacheCreateWithPPD()
1255 else if (!_cups_strcasecmp(choice->choice, "CDTray")) in _ppdCacheCreateWithPPD()
1258 !_cups_strcasecmp(choice->choice, "MP") || in _ppdCacheCreateWithPPD()
1259 !_cups_strcasecmp(choice->choice, "MPTray")) in _ppdCacheCreateWithPPD()
1261 else if (!_cups_strcasecmp(choice->choice, "LargeCapacity")) in _ppdCacheCreateWithPPD()
1271 else if (!_cups_strcasecmp(choice->choice, "Roll")) in _ppdCacheCreateWithPPD()
1317 !_cups_strcasecmp(choice->choice, "Any") || in _ppdCacheCreateWithPPD()
1318 !_cups_strcasecmp(choice->choice, "Default")) in _ppdCacheCreateWithPPD()
1326 else if (!_cups_strcasecmp(choice->choice, "HighGloss")) in _ppdCacheCreateWithPPD()
1328 else if (!_cups_strcasecmp(choice->choice, "Matte")) in _ppdCacheCreateWithPPD()
1334 else if (!_cups_strcasecmp(choice->choice, "Inkjet")) in _ppdCacheCreateWithPPD()
1336 else if (!_cups_strcasecmp(choice->choice, "Letterhead")) in _ppdCacheCreateWithPPD()
1340 else if (!_cups_strcasecmp(choice->choice, "Recycled")) in _ppdCacheCreateWithPPD()
1486 if (!_cups_strcasecmp(color_model_val, "Gray")) in _ppdCacheCreateWithPPD()
1629 if ((!_cups_strcasecmp(choice->choice, "None") || in _ppdCacheCreateWithPPD()
1630 !_cups_strcasecmp(choice->choice, "False")) && !pc->sides_1sided) in _ppdCacheCreateWithPPD()
1632 else if ((!_cups_strcasecmp(choice->choice, "DuplexNoTumble") || in _ppdCacheCreateWithPPD()
1633 !_cups_strcasecmp(choice->choice, "LongEdge") || in _ppdCacheCreateWithPPD()
1634 !_cups_strcasecmp(choice->choice, "Top")) && !pc->sides_2sided_long) in _ppdCacheCreateWithPPD()
1636 else if ((!_cups_strcasecmp(choice->choice, "DuplexTumble") || in _ppdCacheCreateWithPPD()
1637 !_cups_strcasecmp(choice->choice, "ShortEdge") || in _ppdCacheCreateWithPPD()
1638 !_cups_strcasecmp(choice->choice, "Bottom")) && in _ppdCacheCreateWithPPD()
1682 _cups_strcasecmp(ppd_attr->value, "none"))) in _ppdCacheCreateWithPPD()
1715 pc->single_file = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
1897 pc->account_id = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
1900 pc->accounting_user_id = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
2057 if (!_cups_strcasecmp(output_bin, pc->bins[i].ppd)) in _ppdCacheGetBin()
2182 …if ((choice = ppdFindMarkedChoice(ppd, option->name)) == NULL || _cups_strcasecmp(option->value, c… in _ppdCacheGetFinishingValues()
2274 if (!_cups_strcasecmp(keyword, pc->sources[i].pwg)) in _ppdCacheGetInputSlot()
2328 if (!_cups_strcasecmp(keyword, pc->types[i].pwg)) in _ppdCacheGetMediaType()
2362 if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg)) in _ppdCacheGetOutputBin()
2450 if (!_cups_strcasecmp(ppd_name, size->map.ppd) || in _ppdCacheGetPageSize()
2451 !_cups_strcasecmp(ppd_name, size->map.pwg)) in _ppdCacheGetPageSize()
2656 if (!_cups_strcasecmp(ptr, "in")) in _ppdCacheGetSize()
2661 else if (!_cups_strcasecmp(ptr, "ft")) in _ppdCacheGetSize()
2666 else if (!_cups_strcasecmp(ptr, "mm")) in _ppdCacheGetSize()
2671 else if (!_cups_strcasecmp(ptr, "cm")) in _ppdCacheGetSize()
2676 else if (!_cups_strcasecmp(ptr, "m")) in _ppdCacheGetSize()
2698 if (!_cups_strcasecmp(page_size, size->map.ppd) || in _ppdCacheGetSize()
2699 !_cups_strcasecmp(page_size, size->map.pwg)) in _ppdCacheGetSize()
2744 if (!_cups_strcasecmp(input_slot, source->ppd)) in _ppdCacheGetSource()
2773 if (!_cups_strcasecmp(media_type, type->ppd)) in _ppdCacheGetType()
3881 if (!_cups_strcasecmp(dm, "DM1")) in _ppdCreateFromIPP()
3886 else if (!_cups_strcasecmp(dm, "DM2")) in _ppdCreateFromIPP()
3891 else if (!_cups_strcasecmp(dm, "DM3")) in _ppdCreateFromIPP()
3896 else if (!_cups_strcasecmp(dm, "DM4")) in _ppdCreateFromIPP()
4768 if (_cups_strcasecmp(media_source, "main")) in _pwgInputSlotForSource()
4770 else if (_cups_strcasecmp(media_source, "alternate")) in _pwgInputSlotForSource()
4772 else if (_cups_strcasecmp(media_source, "large-capacity")) in _pwgInputSlotForSource()
4774 else if (_cups_strcasecmp(media_source, "bottom")) in _pwgInputSlotForSource()
4776 else if (_cups_strcasecmp(media_source, "middle")) in _pwgInputSlotForSource()
4778 else if (_cups_strcasecmp(media_source, "top")) in _pwgInputSlotForSource()
4780 else if (_cups_strcasecmp(media_source, "rear")) in _pwgInputSlotForSource()
4782 else if (_cups_strcasecmp(media_source, "side")) in _pwgInputSlotForSource()
4784 else if (_cups_strcasecmp(media_source, "envelope")) in _pwgInputSlotForSource()
4786 else if (_cups_strcasecmp(media_source, "main-roll")) in _pwgInputSlotForSource()
4788 else if (_cups_strcasecmp(media_source, "alternate-roll")) in _pwgInputSlotForSource()
4815 if (_cups_strcasecmp(media_type, "auto")) in _pwgMediaTypeForType()
4817 else if (_cups_strcasecmp(media_type, "cardstock")) in _pwgMediaTypeForType()
4819 else if (_cups_strcasecmp(media_type, "envelope")) in _pwgMediaTypeForType()
4821 else if (_cups_strcasecmp(media_type, "photographic-glossy")) in _pwgMediaTypeForType()
4823 else if (_cups_strcasecmp(media_type, "photographic-high-gloss")) in _pwgMediaTypeForType()
4825 else if (_cups_strcasecmp(media_type, "photographic-matte")) in _pwgMediaTypeForType()
4827 else if (_cups_strcasecmp(media_type, "stationery")) in _pwgMediaTypeForType()
4829 else if (_cups_strcasecmp(media_type, "stationery-coated")) in _pwgMediaTypeForType()
4831 else if (_cups_strcasecmp(media_type, "stationery-inkjet")) in _pwgMediaTypeForType()
4833 else if (_cups_strcasecmp(media_type, "stationery-letterhead")) in _pwgMediaTypeForType()
4835 else if (_cups_strcasecmp(media_type, "stationery-preprinted")) in _pwgMediaTypeForType()
4837 else if (_cups_strcasecmp(media_type, "transparency")) in _pwgMediaTypeForType()