Home
last modified time | relevance | path

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

/external/libcups/cups/
Dnotify.c58 job_id = ippFindAttribute(event, "notify-job-id", IPP_TAG_INTEGER); in cupsNotifySubject()
59 job_name = ippFindAttribute(event, "job-name", IPP_TAG_NAME); in cupsNotifySubject()
60 job_state = ippFindAttribute(event, "job-state", IPP_TAG_ENUM); in cupsNotifySubject()
61 printer_name = ippFindAttribute(event, "printer-name", IPP_TAG_NAME); in cupsNotifySubject()
62 printer_state = ippFindAttribute(event, "printer-state", IPP_TAG_ENUM); in cupsNotifySubject()
63 printer_uri = ippFindAttribute(event, "notify-printer-uri", IPP_TAG_URI); in cupsNotifySubject()
64 subscribed = ippFindAttribute(event, "notify-subscribed-event", in cupsNotifySubject()
180 if ((notify_text = ippFindAttribute(event, "notify-text", in cupsNotifyText()
Dtestipp.c404 if ((media_col = ippFindAttribute(request, "media-col", in main()
407 if ((media_col = ippFindAttribute(request, "media-col", in main()
426 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main()
430 if ((media_size = ippFindAttribute(media_col->values[0].collection, in main()
442 if ((attr = ippFindAttribute(media_size->values[0].collection, in main()
445 if ((attr = ippFindAttribute(media_size->values[0].collection, in main()
460 else if ((attr = ippFindAttribute(media_size->values[0].collection, in main()
464 if ((attr = ippFindAttribute(media_size->values[0].collection, in main()
484 if ((media_size = ippFindAttribute(media_col->values[1].collection, in main()
488 if ((media_size = ippFindAttribute(media_col->values[1].collection, in main()
[all …]
Ddest-options.c100 attr = ippFindAttribute(dinfo->attrs, option, IPP_TAG_ZERO); in cupsCheckDestSupported()
104 attr = ippFindAttribute(dinfo->attrs, temp, IPP_TAG_ZERO); in cupsCheckDestSupported()
703 return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); in cupsFindDestDefault()
746 return (ippFindAttribute(dinfo->ready_attrs, name, IPP_TAG_ZERO)); in cupsFindDestReady()
787 return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); in cupsFindDestSupported()
1165 if ((attr = ippFindAttribute(collection, "resolver-name", in cups_add_dconstres()
1348 if ((attr = ippFindAttribute(dinfo->attrs, "job-constraints-supported", in cups_create_constraints()
1355 if ((attr = ippFindAttribute(dinfo->attrs, "job-resolvers-supported", in cups_create_constraints()
1445 media_col_db = ippFindAttribute(dinfo->ready_attrs, "media-col-ready", in cups_create_media_db()
1447 media_attr = ippFindAttribute(dinfo->ready_attrs, "media-ready", in cups_create_media_db()
[all …]
Dpwg-media.c427 if ((media_col = ippFindAttribute(job, "media-col", in pwgInitSize()
434 if ((media_size = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
443 x_dimension = ippFindAttribute(media_size->values[0].collection, in pwgInitSize()
445 y_dimension = ippFindAttribute(media_size->values[0].collection, in pwgInitSize()
474 media_bottom_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
477 media_left_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
480 media_right_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
483 media_top_margin = ippFindAttribute(media_col->values[0].collection, in pwgInitSize()
498 if ((media = ippFindAttribute(job, "media", IPP_TAG_NAME)) == NULL) in pwgInitSize()
499 if ((media = ippFindAttribute(job, "media", IPP_TAG_KEYWORD)) == NULL) in pwgInitSize()
[all …]
Dppd-cache.c2025 if (job && (attr = ippFindAttribute(job, "finishings", IPP_TAG_ENUM)) != NULL) in _ppdCacheGetFinishingOptions()
2161 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetInputSlot()
2163 (media_source = ippFindAttribute(ippGetCollection(media_col, 0), in _ppdCacheGetInputSlot()
2224 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetMediaType()
2227 if ((media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType()
2230 media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType()
2335 if ((attr = ippFindAttribute(job, "PageSize", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize()
2336 if ((attr = ippFindAttribute(job, "PageRegion", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize()
2337 attr = ippFindAttribute(job, "media", IPP_TAG_ZERO); in _ppdCacheGetPageSize()
3069 if ((attr = ippFindAttribute(response, "printer-make-and-model", IPP_TAG_TEXT)) != NULL) in _ppdCreateFromIPP()
[all …]
Dtestoptions.c112 else if ((attr = ippFindAttribute(request, "foo", IPP_TAG_ZERO)) == NULL) in main()
132 else if ((attr = ippFindAttribute(request, "auth-info", IPP_TAG_ZERO)) == NULL) in main()
Dppd-util.c587 if ((attr = ippFindAttribute(response, "device-uri", IPP_TAG_URI)) != NULL) in cups_get_printer_uri()
609 else if ((attr = ippFindAttribute(response, "member-uris", IPP_TAG_URI)) != NULL) in cups_get_printer_uri()
684 else if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) in cups_get_printer_uri()
Ddest-job.c101 if ((attr = ippFindAttribute(info->attrs, "operations-supported", in cupsCloseDestJob()
219 if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) in cupsCreateDestJob()
Dadminutil.c347 if ((defattr = ippFindAttribute(response, "job-hold-until-default", in cupsAdminCreateWindowsPPD()
349 (suppattr = ippFindAttribute(response, "job-hold-until-supported", in cupsAdminCreateWindowsPPD()
354 if ((defattr = ippFindAttribute(response, "job-priority-default", in cupsAdminCreateWindowsPPD()
356 (suppattr = ippFindAttribute(response, "job-priority-supported", in cupsAdminCreateWindowsPPD()
361 if ((defattr = ippFindAttribute(response, "job-sheets-default", in cupsAdminCreateWindowsPPD()
363 (suppattr = ippFindAttribute(response, "job-sheets-supported", in cupsAdminCreateWindowsPPD()
Dgetdevices.c255 attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); in cupsGetDevices()
Drequest.c458 attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); in cupsGetResponse()
647 if (ippFindAttribute(request, "auth-info", IPP_TAG_TEXT) && in cupsSendRequest()
Dutil.c211 if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) in cupsCreateJob()
368 if ((attr = ippFindAttribute(response, "printer-name", in cupsGetDefault2()
Dlibcups2.def441 ippFindAttribute
Ddest-localization.c312 if ((attr = ippFindAttribute(dinfo->attrs, "printer-strings-uri", in cups_create_localizations()
Dtestpwg.c105 if ((media = ippFindAttribute(job, "media", IPP_TAG_ZERO)) != NULL && in main()
Dipp-support.c1735 if ((requested = ippFindAttribute(request, "requested-attributes", in ippCreateRequestedArray()
Ddest.c870 if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) in _cupsCreateDest()
879 if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) in _cupsCreateDest()
895 if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) in _cupsCreateDest()
Dipp.h879 extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name,
Dipp.c1975 ippFindAttribute(ipp_t *ipp, /* I - IPP message */ in ippFindAttribute() function
2107 if ((childattr = ippFindAttribute(attr->values[i].collection, child, type)) != NULL) in ippFindNextAttribute()