Home
last modified time | relevance | path

Searched refs:ippGetInteger (Results 1 – 21 of 21) sorted by relevance

/external/libcups/cups/
Dppd-cache.c2102 key.value = (ipp_finishings_t)ippGetInteger(attr, i); in _ppdCacheGetFinishingOptions()
3176 int maxlen = ippGetInteger(attr, 0); in _ppdCreateFromIPP()
3247 for (i = 1, bottom = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3248 if (ippGetInteger(attr, i) > bottom) in _ppdCreateFromIPP()
3249 bottom = ippGetInteger(attr, i); in _ppdCreateFromIPP()
3256 for (i = 1, left = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3257 if (ippGetInteger(attr, i) > left) in _ppdCreateFromIPP()
3258 left = ippGetInteger(attr, i); in _ppdCreateFromIPP()
3265 for (i = 1, right = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) in _ppdCreateFromIPP()
3266 if (ippGetInteger(attr, i) > right) in _ppdCreateFromIPP()
[all …]
Dtestthreads.c181 printf(" %d\n", ippGetInteger(attr, i)); in show_supported()
187 int val = ippGetInteger(attr, i); in show_supported()
191 …printf(" %s (%s)\n", ippEnumString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(h… in show_supported()
Dtestipp.c612 if (ippGetInteger(attr, 0) != 21590) in main()
614 printf("FAIL (wrong value for x-dimension - %d)\n", ippGetInteger(attr, 0)); in main()
629 if (ippGetInteger(attr, 0) != 21000) in main()
631 printf("FAIL (wrong value for x-dimension - %d)\n", ippGetInteger(attr, 0)); in main()
646 printf("FAIL (got %d, expected nothing)\n", ippGetInteger(attr, 0)); in main()
Dtestdest.c321 printf(" %d\n", ippGetInteger(attr, i)); in localize()
326 printf(" %s\n", ippEnumString(option, ippGetInteger(attr, i))); in localize()
665 printf(" %d\n", ippGetInteger(attr, i)); in show_supported()
671 int val = ippGetInteger(attr, i); in show_supported()
675 …printf(" %s (%s)\n", ippEnumString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(http, d… in show_supported()
Dtestclient.c684 printer_state = (ipp_pstate_t)ippGetInteger(attr, 0); in monitor_printer()
714 job_state = (ipp_jstate_t)ippGetInteger(attr, 0); in monitor_printer()
899 ldata.job_id = ippGetInteger(attr, 0); in run_client()
Dcupspm.md412 printf(" %d\n", ippGetInteger(finishings, i));
463 ippGetInteger(def_attr, 0));
465 printf(",%d", ippGetInteger(def_attr, i));
499 printf(" %d\n", ippGetInteger(ready_finishings, i));
939 ippEnumString("printer-state", ippGetInteger(attr, 0)));
963 The `ippGetInteger` and `ippGetString` functions return a single integer or
Dlibcups2.def492 ippGetInteger
Ddest-options.c1420 if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) in cups_collection_contains()
1431 if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) in cups_collection_contains()
1586 …rintf(bufptr, bufptr < bufend ? (size_t)(bufend - bufptr + 1) : 0, "%d", ippGetInteger(member, j)); in cups_collection_string()
Dipp.h851 extern int ippGetInteger(ipp_attribute_t *attr, int element)
Ddest.c916 state = (ipp_pstate_t)ippGetInteger(attr, 0); in _cupsCreateDest()
932 state = (ipp_pstate_t)ippGetInteger(attr, 0); in _cupsCreateDest()
Dipp.c2217 ippGetInteger(ipp_attribute_t *attr, /* I - IPP attribute */ in ippGetInteger() function
/external/libcups/notifier/
Ddbus.c414 dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); in main()
482 dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); in main()
492 dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); in main()
540 dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); in main()
/external/libcups/scheduler/
Dlog.c658 PWG_JobImpressionsCompleted"=%d", ippGetInteger(job->impressions, 0), in cupsdLogJob()
920 … pwg_media_t *pwg = pwgMediaForSize(ippGetInteger(x_dimension, 0), ippGetInteger(y_dimension, 0)); in cupsdLogPage()
974 PWG_JobImpressionsCompleted"=%d", ippGetInteger(job->impressions, 0), in cupsdLogPage()
Djob.c268 cancel_after = attr ? ippGetInteger(attr, 0) : MaxJobTime; in cupsdCheckJobs()
3159 snprintf(buffer, sizeof(buffer), "total %d", ippGetInteger(job->impressions, 0)); in finalize_job()
3682 ipp_quality_t pq = (ipp_quality_t)ippGetInteger(attr, 0); in get_options()
3755 int pq = ippGetInteger(attr, 0); in get_options()
4845 job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); in start_job()
5106 int impressions = ippGetInteger(job->impressions, 0); in update_job()
5160 …cupsdAddEvent(CUPSD_EVENT_JOB_PROGRESS, job->printer, job, "Printed %d page(s).", ippGetInteger(jo… in update_job()
5214 job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); in update_job()
Dsysman.c955 job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); in sysUpdate()
Dprinters.c2216 level = ippGetInteger(levels, i); in cupsdSetPrinterAttr()
Dipp.c7502 if ((printer_id = ippGetInteger(attr, 0)) <= 0) in get_printers()
/external/libcups/tools/
Dipptool.c1187 snprintf(temp, sizeof(temp), "%d", ippGetInteger(attrptr, 0)); in do_test()
1196 snprintf(temp, sizeof(temp), "%d", ippGetInteger(attrptr, 0)); in do_test()
1577 snprintf(buffer, sizeof(buffer), "%d", ippGetInteger(found, last)); in do_test()
2320 cupsFilePrintf(outfile, "<integer>%d</integer>\n", ippGetInteger(attr, i)); in print_attr()
2589 cupsFilePrintf(data->outfile, "%s%d", i ? "," : " ", ippGetInteger(attr, i)); in print_ippserver_attr()
4415 attrvalue = ippGetInteger(attr, i), in with_value()
4471 add_stringf(data->errors, "GOT: %s=%d", name, ippGetInteger(attr, i)); in with_value()
4979 int value = ippGetInteger(attr, i); in with_value_from()
5001 int value = ippGetInteger(attr, i); in with_value_from()
Dippeveprinter.c1169 job->impressions = ippGetInteger(attr, 0); in create_job()
2303 key.id = ippGetInteger(attr, 0); in find_job()
3360 limit = ippGetInteger(attr, 0); in ipp_get_jobs()
3370 first_job_id = ippGetInteger(attr, 0); in ipp_get_jobs()
8130 ippGetInteger(attr, 0) < 1 || ippGetInteger(attr, 0) > 999) in valid_job_attributes()
8161 …if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_INTEGER || ippGetInteger(attr, 0) < … in valid_job_attributes()
8186 ippGetInteger(attr, 0) < 1 || ippGetInteger(attr, 0) > 100) in valid_job_attributes()
8287 x_value = ippGetInteger(x_dim, 0); in valid_job_attributes()
8288 y_value = ippGetInteger(y_dim, 0); in valid_job_attributes()
8328 ippGetInteger(attr, 0) < IPP_ORIENT_PORTRAIT || in valid_job_attributes()
[all …]
Dippfind.c2309 pstate = (ipp_pstate_t)ippGetInteger(attr, 0); in list_service()
/external/libcups/cgi-bin/
Dipp-var.c1166 … _cupsStrDate(valptr, sizeof(value) - (size_t)(valptr - value), (time_t)ippGetInteger(attr, i)); in cgiSetIPPObjectVars()
1168 snprintf(valptr, sizeof(value) - (size_t)(valptr - value), "%d", ippGetInteger(attr, i)); in cgiSetIPPObjectVars()