/external/libcups/cups/ |
D | testoptions.c | 61 else if ((value = cupsGetOption("foo", num_options, options)) == NULL || in main() 67 else if ((value = cupsGetOption("bar", num_options, options)) == NULL || in main() 74 else if ((value = cupsGetOption("baz", num_options, options)) == NULL || in main() 80 else if ((value = cupsGetOption("foobar", num_options, options)) == NULL || in main() 86 else if ((value = cupsGetOption("barfoo", num_options, options)) == NULL || in main() 92 else if ((value = cupsGetOption("auth-info", num_options, options)) == NULL || in main()
|
D | ppd-mark.c | 86 media = cupsGetOption("media", num_options, options); in cupsMarkOptions() 87 output_bin = cupsGetOption("output-bin", num_options, options); in cupsMarkOptions() 88 page_size = cupsGetOption("PageSize", num_options, options); in cupsMarkOptions() 89 print_quality = cupsGetOption("print-quality", num_options, options); in cupsMarkOptions() 90 sides = cupsGetOption("sides", num_options, options); in cupsMarkOptions() 92 if ((print_color_mode = cupsGetOption("print-color-mode", num_options, in cupsMarkOptions() 94 print_color_mode = cupsGetOption("output-mode", num_options, options); in cupsMarkOptions() 146 !cupsGetOption(cache->source_option, num_options, options) && in cupsMarkOptions() 150 if (!cupsGetOption("MediaType", num_options, options) && in cupsMarkOptions() 158 if (!cupsGetOption("com.apple.print.DocumentTicket.PMSpoolFormat", in cupsMarkOptions() [all …]
|
D | ppd-conflicts.c | 402 if ((value = cupsGetOption(constptr->option->keyword, num_newopts, in cupsResolveConflicts() 408 if ((value = cupsGetOption("PageSize", num_newopts, in cupsResolveConflicts() 410 value = cupsGetOption("PageRegion", num_newopts, newopts); in cupsResolveConflicts() 1047 else if ((value = cupsGetOption("PageSize", num_options, in ppd_test_constraints() 1049 if ((value = cupsGetOption("PageRegion", num_options, in ppd_test_constraints() 1051 if ((value = cupsGetOption("media", num_options, options)) == NULL) in ppd_test_constraints() 1068 else if ((firstvalue = cupsGetOption("AP_FIRSTPAGE_PageSize", in ppd_test_constraints() 1070 firstvalue = cupsGetOption("AP_FIRSTPAGE_PageRegion", num_options, in ppd_test_constraints() 1096 else if ((value = cupsGetOption(constptr->option->keyword, num_options, in ppd_test_constraints() 1121 else if ((firstvalue = cupsGetOption(firstpage, num_options, in ppd_test_constraints() [all …]
|
D | adminutil.c | 1243 if ((val = cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, cupsd_num_settings, in cupsAdminSetServerSettings() 1252 if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, cupsd_num_settings, in cupsAdminSetServerSettings() 1261 if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ANY, cupsd_num_settings, in cupsAdminSetServerSettings() 1270 if ((val = cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, cupsd_num_settings, in cupsAdminSetServerSettings() 1279 if ((val = cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, cupsd_num_settings, in cupsAdminSetServerSettings() 1294 if ((val = cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, num_settings, in cupsAdminSetServerSettings() 1314 if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ANY, num_settings, settings)) != NULL) in cupsAdminSetServerSettings() 1332 if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, num_settings, in cupsAdminSetServerSettings() 1352 if ((val = cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, num_settings, in cupsAdminSetServerSettings() 1372 if ((val = cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, num_settings, in cupsAdminSetServerSettings() [all …]
|
D | testcups.c | 367 …if ((dval = cupsGetOption("printer-is-temporary", dests[i].num_options, dest[i].options)) != NULL … in main() 514 if ((bval = cupsGetOption(aoption->name, b->num_options, in dests_equal() 587 if ((bval = cupsGetOption(aoption->name, b->num_options, in show_diffs() 594 if (!cupsGetOption(boption->name, a->num_options, a->options)) in show_diffs()
|
D | ppd-cache.c | 89 …if (pc->password && (password = cupsGetOption("job-password", num_options, options)) != NULL && ip… in _cupsConvertOptions() 93 if ((keyword = cupsGetOption("job-password-encryption", num_options, options)) == NULL) in _cupsConvertOptions() 123 if ((keyword = cupsGetOption("job-account-id", num_options, options)) == NULL) in _cupsConvertOptions() 124 keyword = cupsGetOption("job-billing", num_options, options); in _cupsConvertOptions() 132 if ((keyword = cupsGetOption("job-accounting-user-id", num_options, options)) == NULL) in _cupsConvertOptions() 155 (keyword = cupsGetOption(mandatory, num_options, options)) != NULL) in _cupsConvertOptions() 199 if ((keyword = cupsGetOption("PageSize", num_options, options)) == NULL) in _cupsConvertOptions() 200 keyword = cupsGetOption("media", num_options, options); in _cupsConvertOptions() 202 media_source = _ppdCacheGetSource(pc, cupsGetOption("InputSlot", num_options, options)); in _cupsConvertOptions() 203 media_type = _ppdCacheGetType(pc, cupsGetOption("MediaType", num_options, options)); in _cupsConvertOptions() [all …]
|
D | dest.c | 644 if ((uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL) in cupsConnectDest() 652 else if ((uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options)) == NULL) in cupsConnectDest() 654 if ((uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL) in cupsConnectDest() 663 …uri = _cupsCreateDest(dest->name, cupsGetOption("printer-info", dest->num_options, dest->options),… in cupsConnectDest() 669 uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); in cupsConnectDest() 1138 if ((uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options)) == NULL) in _cupsGetDestResource() 1140 if ((uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL) in _cupsGetDestResource() 1152 …uri = _cupsCreateDest(dest->name, cupsGetOption("printer-info", dest->num_options, dest->options),… in _cupsGetDestResource() 1161 uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); in _cupsGetDestResource() 1534 if (_cups_strcasecmp(optname, "media") || !cupsGetOption("media", num_options, options)) in _cupsGetDests() [all …]
|
D | options.c | 202 const char *value = cupsGetOption(name, num_options, options); in cupsGetIntegerOption() 224 cupsGetOption(const char *name, /* I - Name of option */ in cupsGetOption() function
|
D | util.c | 823 if (cupsGetOption("raw", num_options, options)) in cupsPrintFiles2() 825 else if ((format = cupsGetOption("document-format", num_options, in cupsPrintFiles2()
|
D | testppd.c | 311 (val = cupsGetOption("PageRegion", num_options, options)) == NULL || in main() 313 (val = cupsGetOption("PageSize", num_options, options)) == NULL || in main() 346 !cupsGetOption("PageSize", num_options, options)) in main()
|
D | encode.c | 410 if ((val = (char *)cupsGetOption("document-format", num_options, in cupsEncodeOptions2() 414 else if (cupsGetOption("raw", num_options, options)) in cupsEncodeOptions2()
|
D | dest-options.c | 504 if ((myvalue = cupsGetOption(myoption->name, num_options, in cupsCopyDestConflicts() 1205 if ((media = cupsGetOption("media", dest->num_options, in cupsGetDestMediaDefault() 2127 else if ((value = cupsGetOption(attr->name, num_options, in cups_test_constraints() 2129 value = cupsGetOption(attr->name, dinfo->num_defaults, dinfo->defaults); in cups_test_constraints()
|
D | libcups2.def | 223 cupsGetOption
|
D | cupspm.md | 302 Use the `cupsGetOption` function to retrieve the value. For example, the 305 const char *model = cupsGetOption("printer-make-and-model", 434 The user defaults from `cupsGetOption` should always take preference over the 439 cupsGetOption(CUPS_FINISHINGS, dest->num_options, 813 const char *printer_uri = cupsGetOption("device-uri",
|
D | cups.h | 374 extern const char *cupsGetOption(const char *name, int num_options,
|
/external/libcups/filter/ |
D | common.c | 83 if ((val = cupsGetOption("landscape", num_options, options)) != NULL) in SetCommonOptions() 94 else if ((val = cupsGetOption("orientation-requested", num_options, options)) != NULL) in SetCommonOptions() 110 if ((val = cupsGetOption("page-left", num_options, options)) != NULL) in SetCommonOptions() 129 if ((val = cupsGetOption("page-right", num_options, options)) != NULL) in SetCommonOptions() 148 if ((val = cupsGetOption("page-bottom", num_options, options)) != NULL) in SetCommonOptions() 167 if ((val = cupsGetOption("page-top", num_options, options)) != NULL) in SetCommonOptions()
|
D | pstops.c | 627 if (cupsGetOption("sides", doc->num_options, doc->options)) in copy_comments() 631 if (cupsGetOption("Duplex", doc->num_options, doc->options)) in copy_comments() 635 if (cupsGetOption("EFDuplex", doc->num_options, doc->options)) in copy_comments() 639 if (cupsGetOption("EFDuplexing", doc->num_options, doc->options)) in copy_comments() 643 if (cupsGetOption("KD03Duplex", doc->num_options, doc->options)) in copy_comments() 647 if (cupsGetOption("JCLDuplex", doc->num_options, doc->options)) in copy_comments() 2338 doc->ap_input_slot = cupsGetOption("AP_FIRSTPAGE_InputSlot", num_options, in set_pstops_options() 2340 doc->ap_manual_feed = cupsGetOption("AP_FIRSTPAGE_ManualFeed", num_options, in set_pstops_options() 2342 doc->ap_media_color = cupsGetOption("AP_FIRSTPAGE_MediaColor", num_options, in set_pstops_options() 2344 doc->ap_media_type = cupsGetOption("AP_FIRSTPAGE_MediaType", num_options, in set_pstops_options() [all …]
|
D | rastertopwg.c | 204 if ((val = cupsGetOption("print-content-optimize", num_options, in main() 226 if ((val = cupsGetOption("print-quality", num_options, options)) != NULL) in main() 239 if ((val = cupsGetOption("print-rendering-intent", num_options, in main()
|
D | interpret.c | 242 if ((val = cupsGetOption("cupsBorderlessScalingFactor", num_options, in cupsRasterInterpretPPD()
|