Home
last modified time | relevance | path

Searched refs:ippFindAttribute (Results 1 – 25 of 46) sorted by relevance

12

/external/libcups/cups/
Dnotify.c53 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()
Dtestipp.c466 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 …]
Dtestclient.c343 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 …]
Dppd-cache.c2096 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 …]
Dpwg-media.c425 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 …]
Ddest-options.c204 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 …]
Dtestoptions.c106 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()
Ddest-job.c103 if ((attr = ippFindAttribute(info->attrs, "operations-supported", in cupsCloseDestJob()
228 if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) in cupsCreateDestJob()
Dppd-util.c607 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()
Dgetdevices.c253 attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); in cupsGetDevices()
/external/libcups/notifier/
Ddbus.c281 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 …]
Drss.c307 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/
Dipp.c270 …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 …]
Dquotas.c147 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()
Djob.c267 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 …]
Dtestsub.c166 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()
Dlog.c850 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()
Dprinters.c1646 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 …]
Dcups-lpd.c381 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/
Dipp.c1036 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/
Dippeveprinter.c952 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/
Dadmin.c442 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 …]
Dclasses.c108 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()
Dprinters.c109 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/
Dlpadmin.c746 (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()

12