Home
last modified time | relevance | path

Searched refs:ippGetCount (Results 1 – 20 of 20) sorted by relevance

/external/libcups/cups/
Dtestoptions.c116 else if (ippGetCount(attr) != 1) in main()
118 printf("FAIL (\"foo\" has %d values, expected 1)\n", (int)ippGetCount(attr)); in main()
136 else if (ippGetCount(attr) != 2) in main()
138 printf("FAIL (\"auth-info\" has %d values, expected 2)\n", (int)ippGetCount(attr)); in main()
Dtestthreads.c144 count = ippGetCount(attr); in show_supported()
175 count = ippGetCount(attr); in show_supported()
Dtestdest.c284 count = ippGetCount(attr); in localize()
315 count = ippGetCount(attr); in localize()
628 count = ippGetCount(attr); in show_supported()
659 count = ippGetCount(attr); in show_supported()
Dppd-cache.c2098 int num_values = ippGetCount(attr); /* Number of values */ in _ppdCacheGetFinishingOptions()
3247 for (i = 1, bottom = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3256 for (i = 1, left = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3265 for (i = 1, right = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3274 for (i = 1, top = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3306 for (i = 0, count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3386 for (i = 0, count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3425 for (i = 0, count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3483 for (i = 0, count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3625 …bute(response, "media-source-supported", IPP_TAG_ZERO)) != NULL && (count = ippGetCount(attr)) > 1) in _ppdCreateFromIPP()
[all …]
Dtestclient.c428 for (i = 0, count = ippGetCount(attr); i < count; i ++) in make_raster_file()
442 for (i = 0, count = ippGetCount(attr); i < count; i ++) in make_raster_file()
991 …printf(" %s(%s%s)=%s\n", name, ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValue… in show_attributes()
Dipp-file.c172 if (!parse_value(&f, v, user_data, attrs, &attr, ippGetCount(attr))) in _ippFileParse()
517 if (!parse_value(f, v, user_data, col, &attr, ippGetCount(attr))) in parse_collection()
Dcupspm.md408 int i, count = ippGetCount(finishings);
424 int i, count = ippGetCount(attrs);
460 int i, count = ippGetCount(def_attr);
495 int i, count = ippGetCount(ready_finishings);
954 int i, count = ippGetCount(attr);
961 The `ippGetCount` function returns the number of values in an attribute.
Dlibcups2.def489 ippGetCount
Dppd-util.c613 DEBUG_printf(("5cups_get_printer_uri: Got member-uris with %d values.", ippGetCount(attr))); in cups_get_printer_uri()
Ddest-options.c1409 tcount = ippGetCount(tattr); in cups_collection_contains()
1464 for (j = 0, mcount = ippGetCount(mattr); j < mcount; j ++) in cups_collection_contains()
1505 for (i = 0, count = ippGetCount(attr); i < count; i ++) in cups_collection_string()
1572 for (j = 0, mcount = ippGetCount(member); j < mcount; j ++) in cups_collection_string()
2736 for (i = 0, count = ippGetCount(attr); i < count; i ++) in cups_test_constraints()
Dipp.h847 extern int ippGetCount(ipp_attribute_t *attr) _CUPS_API_1_6;
Dipp-support.c1956 count = ippGetCount(requested); in ippCreateRequestedArray()
Dipp.c2137 ippGetCount(ipp_attribute_t *attr) /* I - IPP attribute */ in ippGetCount() function
/external/libcups/tools/
Dippeveprinter.c2000 ippGetCount(attr) > 1 ? "1setOf " : "", in debug_attributes()
2497 if (ippGetCount(uri) != 1) in finish_document_uri()
3516 ippSetString(client->response, &attr, ippGetCount(attr), reason); in ipp_get_printer_attributes()
3708 …else if (ippGetValueTag(attr) != IPP_TAG_BOOLEAN || ippGetCount(attr) != 1 || !ippGetBoolean(attr,… in ipp_send_document()
3799 …else if (ippGetValueTag(attr) != IPP_TAG_BOOLEAN || ippGetCount(attr) != 1 || !ippGetBoolean(attr,… in ipp_send_uri()
6786 for (i = 0, count = ippGetCount(document_format_supported), ptr = formats; i < count; i ++) in register_printer()
6804 for (i = 0, count = ippGetCount(urf_supported), ptr = urf; i < count; i ++) in register_printer()
6839 TXTRecordSetValue(&ipp_txt, "Duplex", 1, ippGetCount(sides_supported) > 1 ? "T" : "F"); in register_printer()
6935 …ipp_txt = avahi_string_list_add_printf(ipp_txt, "Duplex=%s", ippGetCount(sides_supported) > 1 ? "T… in register_printer()
7183 …_ATTRIBUTES_OR_VALUES, "Unsupported %s %s%s value.", ippGetName(attr), ippGetCount(attr) > 1 ? "1s… in respond_unsupported()
[all …]
Dipptool.c1228 … != IPP_TAG_CHARSET || ippGetGroupTag(attrptr) != IPP_TAG_OPERATION || ippGetCount(attrptr) != 1 |… in do_test()
1229 …ection 3.1.4).", ippGetName(attrptr) ? ippGetName(attrptr) : "(null)", ippGetCount(attrptr) > 1 ? … in do_test()
1234 …!= IPP_TAG_LANGUAGE || ippGetGroupTag(attrptr) != IPP_TAG_OPERATION || ippGetCount(attrptr) != 1 |… in do_test()
1235 …ection 3.1.4).", ippGetName(attrptr) ? ippGetName(attrptr) : "(null)", ippGetCount(attrptr) > 1 ? … in do_test()
1247 if (ippGetCount(attrptr) != 1) in do_test()
1248 …ors, "status-message (text(255)) has %d values (RFC 2911 section 3.1.6.2).", ippGetCount(attrptr)); in do_test()
1269 if (ippGetCount(attrptr) != 1) in do_test()
1273 ippGetCount(attrptr)); in do_test()
1515 if (found && expect->count > 0 && ippGetCount(found) != expect->count) in do_test()
1522 expect->count, ippGetCount(found)); in do_test()
[all …]
Dippfind.c2324 for (i = 1, count = ippGetCount(attr), ptr = preasons + strlen(preasons), in list_service()
/external/libcups/notifier/
Ddbus.c430 int num_values = ippGetCount(attr); in main()
502 int num_values = ippGetCount(attr); in main()
/external/libcups/backend/
Dipp.c2415 ippGetCount(attr) > 1 ? "1setOf " : "", in debug_attributes()
3088 count = ippGetCount(pmja); /* Number of values */ in report_printer_state()
/external/libcups/scheduler/
Dprinters.c2209 count = ippGetCount(colors); in cupsdSetPrinterAttr()
2210 if (count != ippGetCount(levels) || count != ippGetCount(types)) in cupsdSetPrinterAttr()
Dipp.c165 …cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdProcessIPPRequest: %s %s%s '%s'", name, ippGetCount(attr) … in cupsdProcessIPPRequest()
7967 …(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1 || !… in hold_job()
10346 …ueTag(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1) in set_job_attrs()
11307 …(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1 || !… in validate_job()