/external/libcups/cups/ |
D | notify.c | 53 job_id = ippFindAttribute(event, "notify-job-id", IPP_TAG_INTEGER); in cupsNotifySubject() 54 job_name = ippFindAttribute(event, "job-name", IPP_TAG_NAME); in cupsNotifySubject() 55 job_state = ippFindAttribute(event, "job-state", IPP_TAG_ENUM); in cupsNotifySubject() 56 printer_name = ippFindAttribute(event, "printer-name", IPP_TAG_NAME); in cupsNotifySubject() 57 printer_state = ippFindAttribute(event, "printer-state", IPP_TAG_ENUM); in cupsNotifySubject() 58 printer_uri = ippFindAttribute(event, "notify-printer-uri", IPP_TAG_URI); in cupsNotifySubject() 59 subscribed = ippFindAttribute(event, "notify-subscribed-event", in cupsNotifySubject() 175 if ((notify_text = ippFindAttribute(event, "notify-text", in cupsNotifyText()
|
D | testipp.c | 466 if ((media_col = ippFindAttribute(request, "media-col", in main() 469 if ((media_col = ippFindAttribute(request, "media-col", in main() 488 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main() 492 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main() 504 if ((attr = ippFindAttribute(media_size->values[0].collection, in main() 507 if ((attr = ippFindAttribute(media_size->values[0].collection, in main() 522 else if ((attr = ippFindAttribute(media_size->values[0].collection, in main() 526 if ((attr = ippFindAttribute(media_size->values[0].collection, in main() 546 if ((media_size = ippFindAttribute(media_col->values[1].collection, in main() 550 if ((media_size = ippFindAttribute(media_col->values[1].collection, in main() [all …]
|
D | testclient.c | 343 if ((attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE)) == NULL) in make_raster_file() 399 if ((attr = ippFindAttribute(response, "media-default", IPP_TAG_KEYWORD)) != NULL) in make_raster_file() 407 else if ((attr = ippFindAttribute(response, "media-ready", IPP_TAG_KEYWORD)) != NULL) in make_raster_file() 426 …if (mode == CUPS_RASTER_WRITE_APPLE && (attr = ippFindAttribute(response, "urf-supported", IPP_TAG… in make_raster_file() 440 …else if (mode == CUPS_RASTER_WRITE_PWG && (attr = ippFindAttribute(response, "pwg-raster-document-… in make_raster_file() 456 …if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD)) != … in make_raster_file() 683 if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) in monitor_printer() 686 if ((attr = ippFindAttribute(response, "printer-state-reasons", IPP_TAG_KEYWORD)) != NULL) in monitor_printer() 713 if ((attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM)) != NULL) in monitor_printer() 716 if ((attr = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD)) != NULL) in monitor_printer() [all …]
|
D | ppd-cache.c | 2096 if (job && (attr = ippFindAttribute(job, "finishings", IPP_TAG_ENUM)) != NULL) in _ppdCacheGetFinishingOptions() 2246 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetInputSlot() 2248 (media_source = ippFindAttribute(ippGetCollection(media_col, 0), in _ppdCacheGetInputSlot() 2309 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetMediaType() 2312 if ((media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType() 2315 media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType() 2420 if ((attr = ippFindAttribute(job, "PageSize", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize() 2421 if ((attr = ippFindAttribute(job, "PageRegion", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize() 2422 attr = ippFindAttribute(job, "media", IPP_TAG_ZERO); in _ppdCacheGetPageSize() 3104 if ((attr = ippFindAttribute(response, "printer-make-and-model", IPP_TAG_TEXT)) != NULL) in _ppdCreateFromIPP() [all …]
|
D | pwg-media.c | 425 if ((media_col = ippFindAttribute(job, "media-col", in pwgInitSize() 432 if ((media_size = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 441 x_dimension = ippFindAttribute(media_size->values[0].collection, in pwgInitSize() 443 y_dimension = ippFindAttribute(media_size->values[0].collection, in pwgInitSize() 472 media_bottom_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 475 media_left_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 478 media_right_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 481 media_top_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize() 496 if ((media = ippFindAttribute(job, "media", IPP_TAG_NAME)) == NULL) in pwgInitSize() 497 if ((media = ippFindAttribute(job, "media", IPP_TAG_KEYWORD)) == NULL) in pwgInitSize() [all …]
|
D | dest-options.c | 204 attr = ippFindAttribute(dinfo->attrs, option, IPP_TAG_ZERO); in cupsCheckDestSupported() 208 attr = ippFindAttribute(dinfo->attrs, temp, IPP_TAG_ZERO); in cupsCheckDestSupported() 867 return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); in cupsFindDestDefault() 917 return (ippFindAttribute(dinfo->ready_attrs, name, IPP_TAG_ZERO)); in cupsFindDestReady() 965 return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); in cupsFindDestSupported() 1374 if ((attr = ippFindAttribute(collection, "resolver-name", in cups_add_dconstres() 1406 if ((tattr = ippFindAttribute(test, ippGetName(mattr), IPP_TAG_ZERO)) == NULL) in cups_collection_contains() 1897 if ((attr = ippFindAttribute(dinfo->attrs, "job-constraints-supported", in cups_create_constraints() 1904 if ((attr = ippFindAttribute(dinfo->attrs, "job-resolvers-supported", in cups_create_constraints() 1987 media_col_db = ippFindAttribute(dinfo->ready_attrs, "media-col-ready", in cups_create_media_db() [all …]
|
D | testoptions.c | 106 else if ((attr = ippFindAttribute(request, "foo", IPP_TAG_ZERO)) == NULL) in main() 126 else if ((attr = ippFindAttribute(request, "auth-info", IPP_TAG_ZERO)) == NULL) in main()
|
D | dest-job.c | 103 if ((attr = ippFindAttribute(info->attrs, "operations-supported", in cupsCloseDestJob() 228 if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) in cupsCreateDestJob()
|
D | ppd-util.c | 607 if ((attr = ippFindAttribute(response, "member-uris", IPP_TAG_URI)) != NULL) in cups_get_printer_uri() 633 else if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) in cups_get_printer_uri()
|
D | getdevices.c | 253 attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); in cupsGetDevices()
|
/external/libcups/notifier/ |
D | dbus.c | 281 attr = ippFindAttribute(msg, "notify-subscribed-event", in main() 361 attr = ippFindAttribute(msg, "notify-text", IPP_TAG_TEXT); in main() 379 attr = ippFindAttribute(msg, "notify-printer-uri", IPP_TAG_URI); in main() 395 attr = ippFindAttribute(msg, "printer-name", IPP_TAG_NAME); in main() 411 attr = ippFindAttribute(msg, "printer-state", IPP_TAG_ENUM); in main() 426 attr = ippFindAttribute(msg, "printer-state-reasons", in main() 458 attr = ippFindAttribute(msg, "printer-is-accepting-jobs", in main() 479 attr = ippFindAttribute(msg, "notify-job-id", IPP_TAG_INTEGER); in main() 489 attr = ippFindAttribute(msg, "job-state", IPP_TAG_ENUM); in main() 499 attr = ippFindAttribute(msg, "job-state-reasons", IPP_TAG_KEYWORD); in main() [all …]
|
D | rss.c | 307 printer_up_time = ippFindAttribute(event, "printer-up-time", in main() 309 notify_sequence_number = ippFindAttribute(event, "notify-sequence-number", in main() 311 notify_printer_uri = ippFindAttribute(event, "notify-printer-uri", in main()
|
/external/libcups/scheduler/ |
D | ipp.c | 270 …if ((attr = ippFindAttribute(con->request, "printer-uri", IPP_TAG_URI)) != NULL && attr->group_tag… in cupsdProcessIPPRequest() 272 …else if ((attr = ippFindAttribute(con->request, "job-uri", IPP_TAG_URI)) != NULL && attr->group_ta… in cupsdProcessIPPRequest() 274 …else if (con->request->request.op.operation_id == CUPS_GET_PPD && (attr = ippFindAttribute(con->re… in cupsdProcessIPPRequest() 356 … if ((username = ippFindAttribute(con->request, "requesting-user-name", IPP_TAG_ZERO)) != NULL) in cupsdProcessIPPRequest() 410 … if ((attr = ippFindAttribute(con->request, "notify-subscription-id", IPP_TAG_INTEGER)) != NULL) in cupsdProcessIPPRequest() 713 attr = ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_NAME); in cupsdTimeoutJob() 925 if ((attr = ippFindAttribute(con->request, "printer-location", IPP_TAG_TEXT)) != NULL) in add_class() 928 …if ((attr = ippFindAttribute(con->request, "printer-geo-location", IPP_TAG_URI)) != NULL && !strnc… in add_class() 931 if ((attr = ippFindAttribute(con->request, "printer-organization", IPP_TAG_TEXT)) != NULL) in add_class() 934 if ((attr = ippFindAttribute(con->request, "printer-organizational-unit", IPP_TAG_TEXT)) != NULL) in add_class() [all …]
|
D | quotas.c | 147 if ((attr = ippFindAttribute(job->attrs, "time-at-completion", in cupsdUpdateQuota() 149 if ((attr = ippFindAttribute(job->attrs, "time-at-processing", in cupsdUpdateQuota() 151 attr = ippFindAttribute(job->attrs, "time-at-creation", in cupsdUpdateQuota() 169 if ((attr = ippFindAttribute(job->attrs, "job-media-sheets-completed", in cupsdUpdateQuota() 173 if ((attr = ippFindAttribute(job->attrs, "job-k-octets", in cupsdUpdateQuota()
|
D | job.c | 267 attr = ippFindAttribute(job->attrs, "job-cancel-after", IPP_TAG_INTEGER); in cupsdCheckJobs() 393 if ((attr = ippFindAttribute(job->attrs, "job-printer-uri-actual", IPP_TAG_URI)) != NULL) in cupsdCheckJobs() 829 ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_ZERO)) != NULL) in cupsdContinueJob() 928 attr = ippFindAttribute(job->attrs, "attributes-natural-language", in cupsdContinueJob() 970 if ((attr = ippFindAttribute(job->attrs, "document-format", in cupsdContinueJob() 1067 if ((attr = ippFindAttribute(job->attrs, "job-sheets", in cupsdContinueJob() 1701 if (!ippFindAttribute(job->attrs, "time-at-creation", IPP_TAG_INTEGER)) in cupsdLoadJob() 1708 if ((job->state = ippFindAttribute(job->attrs, "job-state", in cupsdLoadJob() 1720 if ((attr = ippFindAttribute(job->attrs, "time-at-creation", IPP_TAG_INTEGER)) != NULL) in cupsdLoadJob() 1723 …if (job->state_value >= IPP_JOB_CANCELED && (attr = ippFindAttribute(job->attrs, "time-at-complete… in cupsdLoadJob() [all …]
|
D | testsub.c | 166 if ((attr = ippFindAttribute(response, "notify-subscription-id", in main() 224 for (attr = ippFindAttribute(response, "notify-sequence-number", in main() 233 if ((attr = ippFindAttribute(response, "notify-get-interval", in main()
|
D | log.c | 850 attr = ippFindAttribute(job->attrs, name, IPP_TAG_ZERO); in cupsdLogPage() 858 attr = ippFindAttribute(job->attrs, "job-account-id", IPP_TAG_ZERO); in cupsdLogPage() 867 attr = ippFindAttribute(job->attrs, "media-col/media-size", IPP_TAG_BEGIN_COLLECTION); in cupsdLogPage() 914 …ipp_attribute_t *x_dimension = ippFindAttribute(ippGetCollection(attr, 0), "x-dimension", IPP_TAG_… in cupsdLogPage() 915 …ipp_attribute_t *y_dimension = ippFindAttribute(ippGetCollection(attr, 0), "y-dimension", IPP_TAG_… in cupsdLogPage()
|
D | printers.c | 1646 if ((marker = ippFindAttribute(printer->attrs, "marker-colors", in cupsdSaveAllPrinters() 1666 if ((marker = ippFindAttribute(printer->attrs, "marker-levels", in cupsdSaveAllPrinters() 1676 if ((marker = ippFindAttribute(printer->attrs, "marker-low-levels", in cupsdSaveAllPrinters() 1686 if ((marker = ippFindAttribute(printer->attrs, "marker-high-levels", in cupsdSaveAllPrinters() 1696 if ((marker = ippFindAttribute(printer->attrs, "marker-message", in cupsdSaveAllPrinters() 1705 if ((marker = ippFindAttribute(printer->attrs, "marker-names", in cupsdSaveAllPrinters() 1725 if ((marker = ippFindAttribute(printer->attrs, "marker-types", in cupsdSaveAllPrinters() 2062 if ((attr = ippFindAttribute(p->attrs, name, IPP_TAG_INTEGER)) != NULL && in cupsdSetPrinterAttr() 2108 if ((attr = ippFindAttribute(p->attrs, name, value_tag)) != NULL && in cupsdSetPrinterAttr() 2173 …ipp_attribute_t *supply_desc = ippFindAttribute(p->attrs, "printer-supply-description", IPP_TAG_TE… in cupsdSetPrinterAttr() [all …]
|
D | cups-lpd.c | 381 if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) == NULL) in create_job() 613 if ((attr = ippFindAttribute(response, "printer-is-accepting-jobs", in get_printer() 623 if ((attr = ippFindAttribute(response, "printer-is-shared", in get_printer() 636 if ((attr = ippFindAttribute(response, "printer-state", in get_printer()
|
/external/libcups/backend/ |
D | ipp.c | 1036 if ((printer_accepting = ippFindAttribute(supported, in main() 1045 if ((printer_state = ippFindAttribute(supported, in main() 1089 if ((compression_sup = ippFindAttribute(supported, "compression-supported", in main() 1117 if ((copies_sup = ippFindAttribute(supported, "copies-supported", in main() 1133 if ((cups_version = ippFindAttribute(supported, "cups-version", IPP_TAG_TEXT)) != NULL) in main() 1142 …encryption_sup = ippFindAttribute(supported, "job-password-encryption-supported", IPP_TAG_KEYWORD); in main() 1144 if ((format_sup = ippFindAttribute(supported, "document-format-supported", in main() 1154 if ((media_col_sup = ippFindAttribute(supported, "media-col-supported", in main() 1164 … print_color_mode_sup = ippFindAttribute(supported, "print-color-mode-supported", IPP_TAG_KEYWORD); in main() 1166 if ((operations_sup = ippFindAttribute(supported, "operations-supported", in main() [all …]
|
/external/libcups/tools/ |
D | ippeveprinter.c | 952 else if (ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_ZERO)) in copy_job_attributes() 999 else if (ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_ZERO)) in copy_job_attributes() 1151 if ((attr = ippFindAttribute(client->request, "requesting-user-name", IPP_TAG_NAME)) != NULL) in create_job() 1160 if ((attr = ippFindAttribute(job->attrs, "document-format-detected", IPP_TAG_MIMETYPE)) != NULL) in create_job() 1162 …else if ((attr = ippFindAttribute(job->attrs, "document-format-supplied", IPP_TAG_MIMETYPE)) != NU… in create_job() 1168 if ((attr = ippFindAttribute(client->request, "job-impressions", IPP_TAG_INTEGER)) != NULL) in create_job() 1171 if ((attr = ippFindAttribute(client->request, "job-name", IPP_TAG_NAME)) != NULL) in create_job() 1187 if ((attr = ippFindAttribute(client->request, "printer-uri", IPP_TAG_URI)) != NULL) in create_job() 1223 …if ((job_name = ippGetString(ippFindAttribute(job->attrs, "job-name", IPP_TAG_NAME), 0, NULL)) == … in create_job_file() 1764 if (ippFindAttribute(attrs, xxx_supported, IPP_TAG_ZERO)) in create_printer() [all …]
|
/external/libcups/cgi-bin/ |
D | admin.c | 442 if ((attr = ippFindAttribute(response, "member-names", in do_am_class() 466 if ((attr = ippFindAttribute(response, "printer-info", in do_am_class() 470 if ((attr = ippFindAttribute(response, "printer-location", in do_am_class() 775 if ((attr = ippFindAttribute(oldinfo, "device-uri", IPP_TAG_URI)) != NULL) in do_am_printer() 832 if ((attr = ippFindAttribute(oldinfo, "device-uri", IPP_TAG_URI)) != NULL) in do_am_printer() 887 if ((attr = ippFindAttribute(oldinfo, "printer-info", in do_am_printer() 891 if ((attr = ippFindAttribute(oldinfo, "printer-location", in do_am_printer() 895 if ((attr = ippFindAttribute(oldinfo, "printer-is-shared", in do_am_printer() 1984 for (attr = ippFindAttribute(response, "device-uri", IPP_TAG_URI); in do_list_printers() 2791 if (ippFindAttribute(response, "job-sheets-supported", IPP_TAG_ZERO)) in do_set_options() [all …]
|
D | classes.c | 108 if ((attr = ippFindAttribute(response, "printer-name", IPP_TAG_NAME)) != NULL) in main() 111 if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) in main() 479 if (pclass && (attr = ippFindAttribute(response, "printer-state", in show_class()
|
D | printers.c | 109 if ((attr = ippFindAttribute(response, "printer-name", IPP_TAG_NAME)) != NULL) in main() 112 if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) in main() 499 if (printer && (attr = ippFindAttribute(response, "printer-state", in show_printer()
|
/external/libcups/systemv/ |
D | lpadmin.c | 746 (members = ippFindAttribute(response, "member-names", in add_printer_to_class() 767 (members = ippFindAttribute(response, "member-uris", in add_printer_to_class() 956 if ((members = ippFindAttribute(response, "member-names", IPP_TAG_NAME)) == NULL) in delete_printer_from_class() 1023 members = ippFindAttribute(response, "member-uris", IPP_TAG_URI); in delete_printer_from_class() 1236 …if (!cupsGetOption("printer-geo-location", *num_options, *options) && (attr = ippFindAttribute(res… in get_printer_ppd() 1239 …if (!cupsGetOption("printer-info", *num_options, *options) && (attr = ippFindAttribute(response, "… in get_printer_ppd() 1242 …if (!cupsGetOption("printer-location", *num_options, *options) && (attr = ippFindAttribute(respons… in get_printer_ppd() 1300 if ((attr = ippFindAttribute(response, "printer-type", in get_printer_type()
|