/external/libcups/scheduler/ |
D | conf.c | 908 if (_cups_strcasecmp(temp, host->h_name)) in cupsdReadConfiguration() 919 if (_cups_strcasecmp(temp, host->h_aliases[i])) in cupsdReadConfiguration() 1104 if (!_cups_strcasecmp(ServerKeychain, "internal")) in cupsdReadConfiguration() 1252 !_cups_strcasecmp(DefaultLanguage, "C") || in cupsdReadConfiguration() 1253 !_cups_strcasecmp(DefaultLanguage, "POSIX") || in cupsdReadConfiguration() 1254 !_cups_strcasecmp(DefaultLanguage, "en") || in cupsdReadConfiguration() 1274 if (Classification && !_cups_strcasecmp(Classification, "none")) in cupsdReadConfiguration() 2065 if (!_cups_strcasecmp(line, "Encryption")) in parse_aaa() 2071 if (!_cups_strcasecmp(value, "never")) in parse_aaa() 2073 else if (!_cups_strcasecmp(value, "always")) in parse_aaa() [all …]
|
D | classes.c | 293 if (!_cups_strcasecmp(line, "<Class") || in cupsdLoadAllClasses() 294 !_cups_strcasecmp(line, "<DefaultClass")) in cupsdLoadAllClasses() 322 if (!_cups_strcasecmp(line, "<DefaultClass")) in cupsdLoadAllClasses() 329 else if (!_cups_strcasecmp(line, "</Class>") || !_cups_strcasecmp(line, "</DefaultClass>")) in cupsdLoadAllClasses() 345 else if (!_cups_strcasecmp(line, "PrinterId")) in cupsdLoadAllClasses() 352 else if (!_cups_strcasecmp(line, "UUID")) in cupsdLoadAllClasses() 360 else if (!_cups_strcasecmp(line, "AuthInfoRequired")) in cupsdLoadAllClasses() 367 else if (!_cups_strcasecmp(line, "Info")) in cupsdLoadAllClasses() 372 else if (!_cups_strcasecmp(line, "Location")) in cupsdLoadAllClasses() 377 else if (!_cups_strcasecmp(line, "Option") && value) in cupsdLoadAllClasses() [all …]
|
D | policy.c | 312 !_cups_strcasecmp(name, "none")) in cupsdGetPrivateAttrs() 358 if (printer && !_cups_strcasecmp(name, "@ACL")) in cupsdGetPrivateAttrs() 384 else if (!_cups_strcasecmp(username, acl)) in cupsdGetPrivateAttrs() 388 else if (owner && !_cups_strcasecmp(name, "@OWNER") && in cupsdGetPrivateAttrs() 389 !_cups_strcasecmp(username, owner)) in cupsdGetPrivateAttrs() 398 else if (!_cups_strcasecmp(name, "@SYSTEM")) in cupsdGetPrivateAttrs() 425 else if (!_cups_strcasecmp(username, name)) in cupsdGetPrivateAttrs() 467 return (_cups_strcasecmp(a->name, b->name)); in compare_policies()
|
D | printers.c | 966 if (!_cups_strcasecmp(line, "NextPrinterId")) in cupsdLoadAllPrinters() 973 else if (!_cups_strcasecmp(line, "<Printer") || !_cups_strcasecmp(line, "<DefaultPrinter")) in cupsdLoadAllPrinters() 995 if (!_cups_strcasecmp(line, "<DefaultPrinter")) in cupsdLoadAllPrinters() 1002 else if (!_cups_strcasecmp(line, "</Printer>") || !_cups_strcasecmp(line, "</DefaultPrinter>")) in cupsdLoadAllPrinters() 1051 else if (!_cups_strcasecmp(line, "PrinterId")) in cupsdLoadAllPrinters() 1058 else if (!_cups_strcasecmp(line, "UUID")) in cupsdLoadAllPrinters() 1066 else if (!_cups_strcasecmp(line, "AuthInfoRequired")) in cupsdLoadAllPrinters() 1073 else if (!_cups_strcasecmp(line, "Info")) in cupsdLoadAllPrinters() 1077 else if (!_cups_strcasecmp(line, "MakeModel")) in cupsdLoadAllPrinters() 1082 else if (!_cups_strcasecmp(line, "Location")) in cupsdLoadAllPrinters() [all …]
|
D | subscriptions.c | 698 if (!_cups_strcasecmp(line, "NextSubscriptionId") && value) in cupsdLoadAllSubscriptions() 708 else if (!_cups_strcasecmp(line, "<Subscription")) in cupsdLoadAllSubscriptions() 727 else if (!_cups_strcasecmp(line, "</Subscription>")) in cupsdLoadAllSubscriptions() 749 else if (!_cups_strcasecmp(line, "Events")) in cupsdLoadAllSubscriptions() 790 else if (!_cups_strcasecmp(line, "Owner")) in cupsdLoadAllSubscriptions() 806 else if (!_cups_strcasecmp(line, "Recipient")) in cupsdLoadAllSubscriptions() 822 else if (!_cups_strcasecmp(line, "JobId")) in cupsdLoadAllSubscriptions() 846 else if (!_cups_strcasecmp(line, "PrinterName")) in cupsdLoadAllSubscriptions() 870 else if (!_cups_strcasecmp(line, "UserData")) in cupsdLoadAllSubscriptions() 932 else if (!_cups_strcasecmp(line, "LeaseDuration")) in cupsdLoadAllSubscriptions() [all …]
|
/external/libcups/cups/ |
D | ppd-conflicts.c | 107 if (_cups_strcasecmp(cptr->option->keyword, option)) in cupsGetConflicts() 211 if (option && _cups_strcasecmp(option, "Collate")) in cupsResolveConflicts() 221 pass = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); in cupsResolveConflicts() 231 resolvers = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); in cupsResolveConflicts() 316 (!_cups_strcasecmp(resoption, option) || in cupsResolveConflicts() 317 !_cups_strcasecmp(firstpage, option) || in cupsResolveConflicts() 318 (!_cups_strcasecmp(option, "PageSize") && in cupsResolveConflicts() 319 !_cups_strcasecmp(resoption, "PageRegion")) || in cupsResolveConflicts() 320 (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageSize") && in cupsResolveConflicts() 321 !_cups_strcasecmp(resoption, "PageSize")) || in cupsResolveConflicts() [all …]
|
D | adminutil.c | 239 if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, "Listen")) && value) in cupsAdminGetServerSettings() 256 if (_cups_strcasecmp(value, "localhost") && strcmp(value, "127.0.0.1") in cupsAdminGetServerSettings() 266 else if (!_cups_strcasecmp(line, "Browsing")) in cupsAdminGetServerSettings() 268 browsing = !_cups_strcasecmp(value, "yes") || in cupsAdminGetServerSettings() 269 !_cups_strcasecmp(value, "on") || in cupsAdminGetServerSettings() 270 !_cups_strcasecmp(value, "true"); in cupsAdminGetServerSettings() 272 else if (!_cups_strcasecmp(line, "LogLevel")) in cupsAdminGetServerSettings() 276 else if (!_cups_strcasecmp(line, "<Policy") && in cupsAdminGetServerSettings() 277 !_cups_strcasecmp(value, "default")) in cupsAdminGetServerSettings() 281 else if (!_cups_strcasecmp(line, "</Policy>")) in cupsAdminGetServerSettings() [all …]
|
D | ppd-mark.c | 253 if (!_cups_strcasecmp(optptr->name, "media") || in cupsMarkOptions() 254 !_cups_strcasecmp(optptr->name, "output-bin") || in cupsMarkOptions() 255 !_cups_strcasecmp(optptr->name, "output-mode") || in cupsMarkOptions() 256 !_cups_strcasecmp(optptr->name, "print-quality") || in cupsMarkOptions() 257 !_cups_strcasecmp(optptr->name, "sides")) in cupsMarkOptions() 259 else if (!_cups_strcasecmp(optptr->name, "resolution") || in cupsMarkOptions() 260 !_cups_strcasecmp(optptr->name, "printer-resolution")) in cupsMarkOptions() 270 else if (!_cups_strcasecmp(optptr->name, "multiple-document-handling")) in cupsMarkOptions() 275 if (_cups_strcasecmp(optptr->value, "separate-documents-uncollated-copies")) in cupsMarkOptions() 281 else if (!_cups_strcasecmp(optptr->name, "finishings")) in cupsMarkOptions() [all …]
|
D | testcups.c | 67 else if (!_cups_strcasecmp(argv[i], "bw")) in main() 72 else if (!_cups_strcasecmp(argv[i], "color")) in main() 77 else if (!_cups_strcasecmp(argv[i], "mono")) in main() 81 else if (!_cups_strcasecmp(argv[i], "duplex")) in main() 86 else if (!_cups_strcasecmp(argv[i], "simplex")) in main() 90 else if (!_cups_strcasecmp(argv[i], "staple")) in main() 95 else if (!_cups_strcasecmp(argv[i], "copies")) in main() 100 else if (!_cups_strcasecmp(argv[i], "collate")) in main() 105 else if (!_cups_strcasecmp(argv[i], "punch")) in main() 110 else if (!_cups_strcasecmp(argv[i], "cover")) in main() [all …]
|
D | usersys.c | 1114 …return (!_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "on") || !_cups_strcasecmp(val… in cups_boolean_value() 1357 if (!_cups_strcasecmp(line, "DigestOptions") && value) in cups_read_client_conf() 1359 else if (!_cups_strcasecmp(line, "Encryption") && value) in cups_read_client_conf() 1366 else if (!_cups_strcasecmp(line, "ServerName") && value) in cups_read_client_conf() 1369 else if (!_cups_strcasecmp(line, "User") && value) in cups_read_client_conf() 1371 else if (!_cups_strcasecmp(line, "UserAgentTokens") && value) in cups_read_client_conf() 1373 else if (!_cups_strcasecmp(line, "TrustOnFirstUse") && value) in cups_read_client_conf() 1375 else if (!_cups_strcasecmp(line, "AllowAnyRoot") && value) in cups_read_client_conf() 1377 else if (!_cups_strcasecmp(line, "AllowExpiredCerts") && in cups_read_client_conf() 1380 else if (!_cups_strcasecmp(line, "ValidateCerts") && value) in cups_read_client_conf() [all …]
|
D | ipp-support.c | 2284 if (!_cups_strcasecmp(name, ipp_status_oks[i])) in ippErrorValue() 2287 if (!_cups_strcasecmp(name, "redirection-other-site")) in ippErrorValue() 2290 if (!_cups_strcasecmp(name, "cups-see-other")) in ippErrorValue() 2294 if (!_cups_strcasecmp(name, ipp_status_400s[i])) in ippErrorValue() 2298 if (!_cups_strcasecmp(name, ipp_status_480s[i])) in ippErrorValue() 2302 if (!_cups_strcasecmp(name, ipp_status_500s[i])) in ippErrorValue() 2306 if (!_cups_strcasecmp(name, ipp_status_1000s[i])) in ippErrorValue() 2364 if (!_cups_strcasecmp(name, ipp_std_ops[i])) in ippOpValue() 2367 if (!_cups_strcasecmp(name, "windows-ext")) in ippOpValue() 2371 if (!_cups_strcasecmp(name, ipp_cups_ops[i])) in ippOpValue() [all …]
|
D | ppd-cache.c | 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() [all …]
|
D | ipp-file.c | 74 if (!_cups_strcasecmp(token, "DEFINE") || !_cups_strcasecmp(token, "DEFINE-DEFAULT")) in _ippFileParse() 84 if (_cups_strcasecmp(token, "DEFINE-DEFAULT") || !_ippVarsGet(v, name)) in _ippFileParse() 96 else if (f.attrs && !_cups_strcasecmp(token, "ATTR")) in _ippFileParse() 166 else if (attr && !_cups_strcasecmp(token, ",")) in _ippFileParse() 443 if (!_cups_strcasecmp(token, "}")) in parse_collection() 451 else if (!_cups_strcasecmp(token, "MEMBER")) in parse_collection() 511 else if (attr && !_cups_strcasecmp(token, ",")) in parse_collection() 573 return (ippSetBoolean(ipp, attr, element, !_cups_strcasecmp(value, "true"))); in parse_value() 708 …es <= 0 || !ptr || (_cups_strcasecmp(ptr, "dpi") && _cups_strcasecmp(ptr, "dpc") && _cups_strcasec… in parse_value() 714 if (!_cups_strcasecmp(ptr, "dpi")) in parse_value() [all …]
|
D | dest.c | 1523 if (!_cups_strcasecmp(media_default, attr->values[i].string.text)) in _cupsGetDests() 1551 if (_cups_strcasecmp(optname, "media") || !cupsGetOption("media", num_options, options)) in _cupsGetDests() 1990 dest->is_default = !_cups_strcasecmp(name, dest->name) && in cupsSetDefaultDest() 1993 !_cups_strcasecmp(instance, dest->instance))); in cupsSetDefaultDest() 2136 …Option(option->name, temp->num_options, temp->options)) != NULL && !_cups_strcasecmp(val, option->… in cupsSetDests2() 2545 if ((diff = _cups_strcasecmp(a->name, b->name)) != 0) in cups_compare_dests() 2548 return (_cups_strcasecmp(a->instance, b->instance)); in cups_compare_dests() 2760 if (!_cups_strcasecmp(replyDomain, "local.") && in cups_dnssd_get_device() 2761 _cups_strcasecmp(device->domain, replyDomain)) in cups_dnssd_get_device() 2776 if (!_cups_strcasecmp(regtype, "_ipps._tcp") && in cups_dnssd_get_device() [all …]
|
D | ppd-emit.c | 398 if (!charset->value || _cups_strcasecmp(charset->value, "UTF-8")) in ppdEmitJCL() 653 if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString() 692 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || in ppdEmitString() 693 !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && in ppdEmitString() 694 !_cups_strcasecmp(choices[i]->choice, "Custom")) in ppdEmitString() 701 else if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString() 775 if (!_cups_strcasecmp(choices[i]->choice, "Custom") && in ppdEmitString() 877 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || in ppdEmitString() 878 !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && in ppdEmitString() 879 !_cups_strcasecmp(choices[i]->choice, "Custom")) in ppdEmitString() [all …]
|
D | ppd-page.c | 85 if (!_cups_strcasecmp(nameptr, "in")) in ppdPageSize() 90 else if (!_cups_strcasecmp(nameptr, "ft")) in ppdPageSize() 95 else if (!_cups_strcasecmp(nameptr, "mm")) in ppdPageSize() 100 else if (!_cups_strcasecmp(nameptr, "cm")) in ppdPageSize() 105 else if (!_cups_strcasecmp(nameptr, "m")) in ppdPageSize() 147 if (!_cups_strcasecmp(name, size->name)) in ppdPageSize()
|
D | ppd-attr.c | 64 while (attr && _cups_strcasecmp(spec, attr->spec)) in ppdFindAttr() 67 _cups_strcasecmp(attr->name, name)) in ppdFindAttr() 108 if (_cups_strcasecmp(attr->name, name)) in ppdFindNextAttr() 119 if (!spec || !_cups_strcasecmp(attr->spec, spec)) in ppdFindNextAttr()
|
/external/libcups/ppdc/ |
D | ppdc-source.cxx | 142 if (!_cups_strcasecmp(f, d->pc_file_name->value)) in find_driver() 242 if (!_cups_strcasecmp(l, cat->locale->value)) in find_po() 260 if (!_cups_strcasecmp(s, m->name->value)) in find_size() 278 if (!_cups_strcasecmp(n, v->name->value)) in find_variable() 351 if (!_cups_strcasecmp(buffer, "on") || in get_boolean() 352 !_cups_strcasecmp(buffer, "yes") || in get_boolean() 353 !_cups_strcasecmp(buffer, "true")) in get_boolean() 355 else if (!_cups_strcasecmp(buffer, "off") || in get_boolean() 356 !_cups_strcasecmp(buffer, "no") || in get_boolean() 357 !_cups_strcasecmp(buffer, "false")) in get_boolean() [all …]
|
/external/libcups/backend/ |
D | lpd.c | 283 if (!_cups_strcasecmp(name, "banner")) in main() 289 banner = !value[0] || !_cups_strcasecmp(value, "on") || in main() 290 !_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "true"); in main() 292 else if (!_cups_strcasecmp(name, "format") && value[0]) in main() 305 else if (!_cups_strcasecmp(name, "mode") && value[0]) in main() 311 if (!_cups_strcasecmp(value, "standard")) in main() 313 else if (!_cups_strcasecmp(value, "stream")) in main() 319 else if (!_cups_strcasecmp(name, "order") && value[0]) in main() 325 if (!_cups_strcasecmp(value, "control,data")) in main() 327 else if (!_cups_strcasecmp(value, "data,control")) in main() [all …]
|
D | socket.c | 224 if (!_cups_strcasecmp(name, "waiteof")) in main() 230 waiteof = !value[0] || !_cups_strcasecmp(value, "on") || in main() 231 !_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "true"); in main() 233 else if (!_cups_strcasecmp(name, "snmp")) in main() 239 snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") || in main() 240 !_cups_strcasecmp(value, "yes") || in main() 241 !_cups_strcasecmp(value, "true"); in main() 243 else if (!_cups_strcasecmp(name, "contimeout")) in main()
|
D | dnssd.c | 463 else if (_cups_strcasecmp(best->name, device->name) || in main() 464 _cups_strcasecmp(best->domain, device->domain)) in main() 855 if (_cups_strcasecmp(device->name, key.name)) in get_device() 859 if (!_cups_strcasecmp(device->domain, "local.") && in get_device() 860 _cups_strcasecmp(device->domain, replyDomain)) in get_device() 1099 if (!_cups_strcasecmp(key, "usb_MFG") || !_cups_strcasecmp(key, "usb_MANU") || 1100 !_cups_strcasecmp(key, "usb_MANUFACTURER")) 1102 else if (!_cups_strcasecmp(key, "usb_MDL") || !_cups_strcasecmp(key, "usb_MODEL")) 1104 else if (!_cups_strcasecmp(key, "product") && !strstr(value, "Ghostscript")) 1120 else if (!_cups_strcasecmp(key, "ty")) [all …]
|
D | ipp.c | 481 if (!_cups_strcasecmp(name, "waitjob")) in main() 487 waitjob = !_cups_strcasecmp(value, "on") || in main() 488 !_cups_strcasecmp(value, "yes") || in main() 489 !_cups_strcasecmp(value, "true"); in main() 491 else if (!_cups_strcasecmp(name, "waitprinter")) in main() 497 waitprinter = !_cups_strcasecmp(value, "on") || in main() 498 !_cups_strcasecmp(value, "yes") || in main() 499 !_cups_strcasecmp(value, "true"); in main() 501 else if (!_cups_strcasecmp(name, "encryption")) in main() 507 if (!_cups_strcasecmp(value, "always")) in main() [all …]
|
/external/libcups/tools/ |
D | ipptool.c | 493 if (!_cups_strcasecmp(ext, ".gif")) in main() 495 else if (!_cups_strcasecmp(ext, ".htm") || in main() 496 !_cups_strcasecmp(ext, ".htm.gz") || in main() 497 !_cups_strcasecmp(ext, ".html") || in main() 498 !_cups_strcasecmp(ext, ".html.gz")) in main() 500 else if (!_cups_strcasecmp(ext, ".jpg") || in main() 501 !_cups_strcasecmp(ext, ".jpeg")) in main() 503 else if (!_cups_strcasecmp(ext, ".pcl") || in main() 504 !_cups_strcasecmp(ext, ".pcl.gz")) in main() 506 else if (!_cups_strcasecmp(ext, ".pdf")) in main() [all …]
|
/external/libcups/filter/ |
D | pstops.c | 462 if (!_cups_strcasecmp(doc->page_set, "even") && (page & 1)) in check_range() 465 if (!_cups_strcasecmp(doc->page_set, "odd") && !(page & 1)) in check_range() 2374 doc->collate = _cups_strcasecmp(val, "separate-documents-uncollated-copies") != 0; in set_pstops_options() 2378 (!_cups_strcasecmp(val, "true") ||!_cups_strcasecmp(val, "on") || in set_pstops_options() 2379 !_cups_strcasecmp(val, "yes"))) in set_pstops_options() 2387 (!_cups_strcasecmp(val, "false") || !_cups_strcasecmp(val, "off") || in set_pstops_options() 2388 !_cups_strcasecmp(val, "no") || !strcmp(val, "0"))) in set_pstops_options() 2402 if (!_cups_strcasecmp(content_type, "application/postscript")) in set_pstops_options() 2405 !_cups_strcasecmp(val, "true")) in set_pstops_options() 2409 !_cups_strcasecmp(val, "true")) in set_pstops_options() [all …]
|
/external/libcups/systemv/ |
D | lpadmin.c | 749 if (_cups_strcasecmp(printer, members->values[i].string.text) == 0) in add_printer_to_class() 966 if (!_cups_strcasecmp(printer, members->values[i].string.text)) in delete_printer_from_class() 1413 if (!_cups_strcasecmp(protocol, "bcp")) in set_printer_options() 1416 else if (!_cups_strcasecmp(protocol, "tbcp")) in set_printer_options() 1473 (!_cups_strcasecmp(boolval, "true") || in set_printer_options() 1474 !_cups_strcasecmp(boolval, "yes") || in set_printer_options() 1475 !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); in set_printer_options() 1484 (!_cups_strcasecmp(boolval, "true") || in set_printer_options() 1485 !_cups_strcasecmp(boolval, "yes") || in set_printer_options() 1486 !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); in set_printer_options() [all …]
|