Home
last modified time | relevance | path

Searched refs:_cups_strcasecmp (Results 1 – 25 of 43) sorted by relevance

12

/external/libcups/cups/
Dppd-conflicts.c111 if (_cups_strcasecmp(cptr->option->keyword, option)) in cupsGetConflicts()
215 if (option && _cups_strcasecmp(option, "Collate")) in cupsResolveConflicts()
225 pass = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); in cupsResolveConflicts()
235 resolvers = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); in cupsResolveConflicts()
320 (!_cups_strcasecmp(resoption, option) || in cupsResolveConflicts()
321 !_cups_strcasecmp(firstpage, option) || in cupsResolveConflicts()
322 (!_cups_strcasecmp(option, "PageSize") && in cupsResolveConflicts()
323 !_cups_strcasecmp(resoption, "PageRegion")) || in cupsResolveConflicts()
324 (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageSize") && in cupsResolveConflicts()
325 !_cups_strcasecmp(resoption, "PageSize")) || in cupsResolveConflicts()
[all …]
Dppd-mark.c257 if (!_cups_strcasecmp(optptr->name, "media") || in cupsMarkOptions()
258 !_cups_strcasecmp(optptr->name, "output-bin") || in cupsMarkOptions()
259 !_cups_strcasecmp(optptr->name, "output-mode") || in cupsMarkOptions()
260 !_cups_strcasecmp(optptr->name, "print-quality") || in cupsMarkOptions()
261 !_cups_strcasecmp(optptr->name, "sides")) in cupsMarkOptions()
263 else if (!_cups_strcasecmp(optptr->name, "resolution") || in cupsMarkOptions()
264 !_cups_strcasecmp(optptr->name, "printer-resolution")) in cupsMarkOptions()
274 else if (!_cups_strcasecmp(optptr->name, "multiple-document-handling")) in cupsMarkOptions()
279 if (_cups_strcasecmp(optptr->value, "separate-documents-uncollated-copies")) in cupsMarkOptions()
285 else if (!_cups_strcasecmp(optptr->name, "finishings")) in cupsMarkOptions()
[all …]
Dtestcups.c72 else if (!_cups_strcasecmp(argv[i], "bw")) in main()
77 else if (!_cups_strcasecmp(argv[i], "color")) in main()
82 else if (!_cups_strcasecmp(argv[i], "mono")) in main()
86 else if (!_cups_strcasecmp(argv[i], "duplex")) in main()
91 else if (!_cups_strcasecmp(argv[i], "simplex")) in main()
95 else if (!_cups_strcasecmp(argv[i], "staple")) in main()
100 else if (!_cups_strcasecmp(argv[i], "copies")) in main()
105 else if (!_cups_strcasecmp(argv[i], "collate")) in main()
110 else if (!_cups_strcasecmp(argv[i], "punch")) in main()
115 else if (!_cups_strcasecmp(argv[i], "cover")) in main()
[all …]
Dadminutil.c980 if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, "Listen")) && value) in cupsAdminGetServerSettings()
997 if (_cups_strcasecmp(value, "localhost") && strcmp(value, "127.0.0.1") in cupsAdminGetServerSettings()
1007 else if (!_cups_strcasecmp(line, "Browsing")) in cupsAdminGetServerSettings()
1009 browsing = !_cups_strcasecmp(value, "yes") || in cupsAdminGetServerSettings()
1010 !_cups_strcasecmp(value, "on") || in cupsAdminGetServerSettings()
1011 !_cups_strcasecmp(value, "true"); in cupsAdminGetServerSettings()
1013 else if (!_cups_strcasecmp(line, "LogLevel")) in cupsAdminGetServerSettings()
1017 else if (!_cups_strcasecmp(line, "<Policy") && in cupsAdminGetServerSettings()
1018 !_cups_strcasecmp(value, "default")) in cupsAdminGetServerSettings()
1022 else if (!_cups_strcasecmp(line, "</Policy>")) in cupsAdminGetServerSettings()
[all …]
Dipp-support.c2095 if (!_cups_strcasecmp(name, ipp_status_oks[i])) in ippErrorValue()
2098 if (!_cups_strcasecmp(name, "redirection-other-site")) in ippErrorValue()
2101 if (!_cups_strcasecmp(name, "cups-see-other")) in ippErrorValue()
2105 if (!_cups_strcasecmp(name, ipp_status_400s[i])) in ippErrorValue()
2109 if (!_cups_strcasecmp(name, ipp_status_480s[i])) in ippErrorValue()
2113 if (!_cups_strcasecmp(name, ipp_status_500s[i])) in ippErrorValue()
2117 if (!_cups_strcasecmp(name, ipp_status_1000s[i])) in ippErrorValue()
2175 if (!_cups_strcasecmp(name, ipp_std_ops[i])) in ippOpValue()
2178 if (!_cups_strcasecmp(name, "windows-ext")) in ippOpValue()
2182 if (!_cups_strcasecmp(name, ipp_cups_ops[i])) in ippOpValue()
[all …]
Dusersys.c1025 …return (!_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "on") || !_cups_strcasecmp(val… in cups_boolean_value()
1230 if (!_cups_strcasecmp(line, "Encryption") && value) in cups_read_client_conf()
1237 else if (!_cups_strcasecmp(line, "ServerName") && value) in cups_read_client_conf()
1240 else if (!_cups_strcasecmp(line, "User") && value) in cups_read_client_conf()
1242 else if (!_cups_strcasecmp(line, "TrustOnFirstUse") && value) in cups_read_client_conf()
1244 else if (!_cups_strcasecmp(line, "AllowAnyRoot") && value) in cups_read_client_conf()
1246 else if (!_cups_strcasecmp(line, "AllowExpiredCerts") && in cups_read_client_conf()
1249 else if (!_cups_strcasecmp(line, "ValidateCerts") && value) in cups_read_client_conf()
1252 else if (!_cups_strcasecmp(line, "GSSServiceName") && value) in cups_read_client_conf()
1256 else if (!_cups_strcasecmp(line, "SSLOptions") && value) in cups_read_client_conf()
[all …]
Dppd-cache.c169 ippAddBoolean(request, IPP_TAG_JOB, mandatory, !_cups_strcasecmp(keyword, "true")); in _cupsConvertOptions()
259 if (!_cups_strcasecmp(choice->choice, "Gray")) in _cupsConvertOptions()
281 if (!_cups_strcasecmp(choice->choice, "draft")) in _cupsConvertOptions()
283 else if (!_cups_strcasecmp(choice->choice, "normal")) in _cupsConvertOptions()
285 else if (!_cups_strcasecmp(choice->choice, "high")) in _cupsConvertOptions()
293 if (!_cups_strcasecmp(choice->choice, pc->sides_1sided)) in _cupsConvertOptions()
295 else if (!_cups_strcasecmp(choice->choice, pc->sides_2sided_long)) in _cupsConvertOptions()
297 if (!_cups_strcasecmp(choice->choice, pc->sides_2sided_short)) in _cupsConvertOptions()
317 if (!_cups_strcasecmp(format, "image/gif") || in _cupsConvertOptions()
318 !_cups_strcasecmp(format, "image/jp2") || in _cupsConvertOptions()
[all …]
Ddest.c1506 if (!_cups_strcasecmp(media_default, attr->values[i].string.text)) in _cupsGetDests()
1534 if (_cups_strcasecmp(optname, "media") || !cupsGetOption("media", num_options, options)) in _cupsGetDests()
2049 dest->is_default = !_cups_strcasecmp(name, dest->name) && in cupsSetDefaultDest()
2052 !_cups_strcasecmp(instance, dest->instance))); in cupsSetDefaultDest()
2219 !_cups_strcasecmp(val, option->value)) in cupsSetDests2()
2633 if ((diff = _cups_strcasecmp(a->name, b->name)) != 0) in cups_compare_dests()
2636 return (_cups_strcasecmp(a->instance, b->instance)); in cups_compare_dests()
2863 if (!_cups_strcasecmp(replyDomain, "local.") && in cups_dnssd_get_device()
2864 _cups_strcasecmp(device->domain, replyDomain)) in cups_dnssd_get_device()
2879 if (!_cups_strcasecmp(regtype, "_ipps._tcp") && in cups_dnssd_get_device()
[all …]
Dppd-emit.c402 if (!charset->value || _cups_strcasecmp(charset->value, "UTF-8")) in ppdEmitJCL()
651 if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString()
687 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || in ppdEmitString()
688 !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && in ppdEmitString()
689 !_cups_strcasecmp(choices[i]->choice, "Custom")) in ppdEmitString()
696 else if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString()
767 if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString()
866 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || in ppdEmitString()
867 !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && in ppdEmitString()
868 !_cups_strcasecmp(choices[i]->choice, "Custom")) in ppdEmitString()
[all …]
Dppd-page.c90 if (!_cups_strcasecmp(nameptr, "in")) in ppdPageSize()
95 else if (!_cups_strcasecmp(nameptr, "ft")) in ppdPageSize()
100 else if (!_cups_strcasecmp(nameptr, "mm")) in ppdPageSize()
105 else if (!_cups_strcasecmp(nameptr, "cm")) in ppdPageSize()
110 else if (!_cups_strcasecmp(nameptr, "m")) in ppdPageSize()
152 if (!_cups_strcasecmp(name, size->name)) in ppdPageSize()
Dppd-attr.c66 while (attr && _cups_strcasecmp(spec, attr->spec)) in ppdFindAttr()
69 _cups_strcasecmp(attr->name, name)) in ppdFindAttr()
110 if (_cups_strcasecmp(attr->name, name)) in ppdFindNextAttr()
121 if (!spec || !_cups_strcasecmp(attr->spec, spec)) in ppdFindNextAttr()
Dencode.c435 if (!_cups_strcasecmp(option->name, "raw") || in cupsEncodeOptions2()
436 !_cups_strcasecmp(option->name, "document-format") || in cupsEncodeOptions2()
497 if (!_cups_strcasecmp(option->value, "true") || in cupsEncodeOptions2()
498 !_cups_strcasecmp(option->value, "false")) in cupsEncodeOptions2()
659 if (!_cups_strcasecmp(val, "true") || in cupsEncodeOptions2()
660 !_cups_strcasecmp(val, "on") || in cupsEncodeOptions2()
661 !_cups_strcasecmp(val, "yes")) in cupsEncodeOptions2()
723 if (!_cups_strcasecmp(s, "dpc") || in cupsEncodeOptions2()
724 !_cups_strcasecmp(s, "dpcm")) in cupsEncodeOptions2()
Dauth.c182 if (!_cups_strcasecmp(scheme, "Negotiate")) in cupsDoAuthentication()
198 if (_cups_strcasecmp(scheme, "Basic") && _cups_strcasecmp(scheme, "Digest")) in cupsDoAuthentication()
205 …tp->digest_tries > 1 || !http->userpass[0]) && (!_cups_strcasecmp(scheme, "Basic") || (!_cups_strc… in cupsDoAuthentication()
250 if (!_cups_strcasecmp(scheme, "Basic")) in cupsDoAuthentication()
262 else if (!_cups_strcasecmp(scheme, "Digest")) in cupsDoAuthentication()
935 if (!httpAddrLocalhost(http->hostaddr) && _cups_strcasecmp(http->hostname, "localhost") != 0) in cups_local_auth()
Doptions.c83 if (!_cups_strcasecmp(name, "cupsPrintQuality")) in cupsAddOption()
85 else if (!_cups_strcasecmp(name, "print-quality")) in cupsAddOption()
514 if (!_cups_strcasecmp(name, option->name)) in cupsRemoveOption()
635 return (_cups_strcasecmp(a->name, b->name)); in cups_compare_options()
Dppd-util.c188 if (!_cups_strcasecmp(hostname, "localhost")) in cupsGetPPD3()
318 if (cupsServer()[0] == '/' && !_cups_strcasecmp(hostname, "localhost") && port == ippPort()) in cupsGetPPD3()
338 if (!_cups_strcasecmp(localhost, hostname)) in cupsGetPPD3()
355 if (!_cups_strcasecmp(http_hostname, hostname) && port == http_port) in cupsGetPPD3()
Dhttp-support.c854 if (!_cups_strcasecmp(mon, http_months[i])) in httpGetDateTime()
1054 else if (!_cups_strcasecmp(scheme, "lpd")) in httpSeparateURI()
1364 if (!_cups_strcasecmp(http->algorithm, "MD5")) in _httpSetDigestAuthString()
1372 else if (!_cups_strcasecmp(http->algorithm, "SHA-256")) in _httpSetDigestAuthString()
1925 if (extrasent == 0 && domain && _cups_strcasecmp(domain, "local.")) in _httpResolveURI()
2029 _cups_strcasecmp(domain, "local.")) in _httpResolveURI()
2312 if (_cups_strcasecmp(uuid, uribuf->uuid)) in http_resolve_cb()
2398 !_cups_strcasecmp(hostptr, ".local.")) in http_resolve_cb()
2422 _cups_strcasecmp(hostptr, ".local")) in http_resolve_cb()
2538 if (_cups_strcasecmp(uuid, uribuf->uuid)) in http_resolve_cb()
[all …]
Dlanguage.c745 if (!_cups_strcasecmp(charset, locale_encodings[i])) in cupsLangGet()
757 if (!_cups_strcasecmp(charset, "iso-2022-jp") || in cupsLangGet()
758 !_cups_strcasecmp(charset, "sjis")) in cupsLangGet()
760 else if (!_cups_strcasecmp(charset, "iso-2022-cn")) in cupsLangGet()
762 else if (!_cups_strcasecmp(charset, "iso-2022-kr")) in cupsLangGet()
764 else if (!_cups_strcasecmp(charset, "big5")) in cupsLangGet()
Dtestppd.c312 _cups_strcasecmp(val, "Letter") || in main()
314 _cups_strcasecmp(val, "Letter")) in main()
363 num_options == 1 && !_cups_strcasecmp(options[0].name, "InputSlot") && in main()
364 !_cups_strcasecmp(options[0].value, "Tray")) in main()
722 num_options == 1 && !_cups_strcasecmp(options->name, "Quality") && in main()
723 !_cups_strcasecmp(options->value, "Normal")) in main()
Dppd-custom.c73 if (!_cups_strcasecmp(param->name, name)) in ppdFindCustomParam()
Dtesthttp.c653 if (!_cups_strcasecmp(scheme, "https") || !_cups_strcasecmp(scheme, "ipps") || in main()
725 if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) in main()
826 if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) in main()
Dppd.c357 if (!_cups_strcasecmp(name, "ISOLatin1")) in _ppdGetEncoding()
359 else if (!_cups_strcasecmp(name, "ISOLatin2")) in _ppdGetEncoding()
361 else if (!_cups_strcasecmp(name, "ISOLatin5")) in _ppdGetEncoding()
363 else if (!_cups_strcasecmp(name, "JIS83-RKSJ")) in _ppdGetEncoding()
365 else if (!_cups_strcasecmp(name, "MacStandard")) in _ppdGetEncoding()
367 else if (!_cups_strcasecmp(name, "WindowsANSI")) in _ppdGetEncoding()
752 if (!_cups_strcasecmp(temp, color_keywords[i])) in _ppdOpen()
1133 if (option && !_cups_strcasecmp(option->keyword, keyword + 6)) in _ppdOpen()
1177 if (option && !_cups_strcasecmp(option->keyword, "PageRegion")) in _ppdOpen()
1421 if (!_cups_strcasecmp(name, "PageRegion")) in _ppdOpen()
[all …]
/external/libcups/filter/
Dpstops.c467 if (!_cups_strcasecmp(doc->page_set, "even") && (page & 1)) in check_range()
470 if (!_cups_strcasecmp(doc->page_set, "odd") && !(page & 1)) in check_range()
2379 doc->collate = _cups_strcasecmp(val, "separate-documents-uncollated-copies") != 0; in set_pstops_options()
2383 (!_cups_strcasecmp(val, "true") ||!_cups_strcasecmp(val, "on") || in set_pstops_options()
2384 !_cups_strcasecmp(val, "yes"))) in set_pstops_options()
2392 (!_cups_strcasecmp(val, "false") || !_cups_strcasecmp(val, "off") || in set_pstops_options()
2393 !_cups_strcasecmp(val, "no") || !strcmp(val, "0"))) in set_pstops_options()
2407 if (!_cups_strcasecmp(content_type, "application/postscript")) in set_pstops_options()
2410 !_cups_strcasecmp(val, "true")) in set_pstops_options()
2414 !_cups_strcasecmp(val, "true")) in set_pstops_options()
[all …]
Dcommandtops.c103 if (!_cups_strcasecmp(line, "AutoConfigure")) in main()
105 else if (!_cups_strcasecmp(line, "PrintSelfTestPage")) in main()
107 else if (!_cups_strcasecmp(line, "ReportLevels")) in main()
Dcommon.c85 if (_cups_strcasecmp(val, "no") != 0 && _cups_strcasecmp(val, "off") != 0 && in SetCommonOptions()
86 _cups_strcasecmp(val, "false") != 0) in SetCommonOptions()
Drastertopwg.c290 back && _cups_strcasecmp(back->value, "Normal")) in main()
292 if (_cups_strcasecmp(back->value, "Flipped")) in main()
324 else if (_cups_strcasecmp(back->value, "ManualTumble")) in main()
356 else if (_cups_strcasecmp(back->value, "Rotated")) in main()

12