Home
last modified time | relevance | path

Searched refs:ippGetString (Results 1 – 23 of 23) sorted by relevance

/external/libcups/cups/
Dtestoptions.c121 else if (strcmp(ippGetString(attr, 0, NULL), "1234")) in main()
123 printf("FAIL (\"foo\" has value %s, expected 1234)\n", ippGetString(attr, 0, NULL)); in main()
141 else if (strcmp(ippGetString(attr, 0, NULL), "user")) in main()
143 …printf("FAIL (\"auth-info\"[0] has value \"%s\", expected \"user\")\n", ippGetString(attr, 0, NULL… in main()
146 else if (strcmp(ippGetString(attr, 1, NULL), "pass,word\\")) in main()
148 …printf("FAIL (\"auth-info\"[1] has value \"%s\", expected \"pass,word\\\")\n", ippGetString(attr, … in main()
Dtestthreads.c146 show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in show_supported()
220 …printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, … in show_supported()
233 printf(" %s\n", ippGetString(attr, i, NULL)); in show_supported()
Dtestdest.c286 localize(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in localize()
363 …printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option… in localize()
630 show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in show_supported()
704 …printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option… in show_supported()
717 printf(" %s\n", ippGetString(attr, i, NULL)); in show_supported()
Dppd-cache.c2256 keyword = ippGetString(media_source, 0, NULL); in _ppdCacheGetInputSlot()
3105 strlcpy(make, ippGetString(attr, 0, NULL), sizeof(make)); in _ppdCreateFromIPP()
3136 cupsFilePrintf(fp, "*APSupplies: \"%s\"\n", ippGetString(attr, 0, NULL)); in _ppdCreateFromIPP()
3139 cupsFilePrintf(fp, "*cupsChargeInfoURI: \"%s\"\n", ippGetString(attr, 0, NULL)); in _ppdCreateFromIPP()
3146 if (cups_get_url(&http, ippGetString(attr, 0, NULL), stringsfile, sizeof(stringsfile))) in _ppdCreateFromIPP()
3148 cupsFilePrintf(fp, "*cupsStringsURI: \"%s\"\n", ippGetString(attr, 0, NULL)); in _ppdCreateFromIPP()
3178 …const char *repertoire = ippGetString(ippFindAttribute(response, "job-password-repertoire-configur… in _ppdCreateFromIPP()
3297 …else if ((pwg = pwgMediaForPWG(ippGetString(ippFindAttribute(response, "media-default", IPP_TAG_ZE… in _ppdCreateFromIPP()
3485 const char *pwg_size = ippGetString(attr, i, NULL); in _ppdCreateFromIPP()
3621 pwg_ppdize_name(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
[all …]
Dtestclient.c405 media = pwgMediaForPWG(ippGetString(attr, 0, NULL)); in make_raster_file()
418 media = pwgMediaForPWG(ippGetString(attr, 0, NULL)); in make_raster_file()
430 const char *val = ippGetString(attr, i, NULL); in make_raster_file()
Dipp-support.c1957 if (count == 1 && !strcmp(ippGetString(requested, 0, NULL), "all")) in ippCreateRequestedArray()
1969 value = ippGetString(requested, i, NULL); in ippCreateRequestedArray()
Dlibcups2.def501 ippGetString
Dppd-util.c617 … DEBUG_printf(("5cups_get_printer_uri: member-uris[%d]=\"%s\"", i, ippGetString(attr, i, NULL))); in cups_get_printer_uri()
Dcupspm.md427 puts(ippGetString(attrs, i, NULL));
948 ippGetString(attr, 0, NULL)));
958 printf(" %s\n", ippGetString(attr, i, NULL)));
963 The `ippGetInteger` and `ippGetString` functions return a single integer or
Dipp.h863 extern const char *ippGetString(ipp_attribute_t *attr, int element,
Ddest-options.c1453 if ((tval = ippGetString(tattr, i, NULL)) == NULL || !ippContainsString(mattr, tval)) in cups_collection_contains()
1688 for (mptr = ippGetString(member, j, NULL); *mptr; mptr ++) in cups_collection_string()
Ddest.c907 strlcpy(uri, ippGetString(attr, 0, NULL), urisize); in _cupsCreateDest()
Dipp.c2489 ippGetString(ipp_attribute_t *attr, /* I - IPP attribute */ in ippGetString() function
/external/libcups/notifier/
Ddbus.c286 event = ippGetString(attr, 0, NULL); in main()
364 const char *val = ippGetString(attr, 0, NULL); in main()
382 const char *val = ippGetString(attr, 0, NULL); in main()
398 const char *val = ippGetString(attr, 0, NULL); in main()
433 reasons_length += 1 + strlen(ippGetString(attr, i, NULL)); in main()
443 strlcpy(p, ippGetString(attr, i, NULL), reasons_length - (size_t)(p - printer_reasons)); in main()
505 reasons_length += 1 + strlen(ippGetString(attr, i, NULL)); in main()
515 strlcpy(p, ippGetString(attr, i, NULL), reasons_length - (size_t)(p - job_reasons)); in main()
528 const char *val = ippGetString(attr, 0, NULL); in main()
/external/libcups/tools/
Dippeveprinter.c1152 job->username = ippGetString(attr, 0, NULL); in create_job()
1161 job->format = ippGetString(attr, 0, NULL); in create_job()
1163 job->format = ippGetString(attr, 0, NULL); in create_job()
1172 job->name = ippGetString(attr, 0, NULL); in create_job()
1188 …ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri", NULL, ippGetString(attr, 0, … in create_job()
1223 …if ((job_name = ippGetString(ippFindAttribute(job->attrs, "job-name", IPP_TAG_NAME), 0, NULL)) == … in create_job_file()
2294 const char *uri = ippGetString(attr, 0, NULL); in find_job()
2504 uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, ippGetString(uri, 0, NULL), in finish_document_uri()
2540 job->format = ippGetString(attr, 0, NULL); in finish_document_uri()
3295 which_jobs = ippGetString(attr, 0, NULL); in ipp_get_jobs()
[all …]
Dipptool.c1192 _ippVarsSet(vars, "job-uri", ippGetString(attrptr, 0, NULL)); in do_test()
1240 const char *status_message = ippGetString(attrptr, 0, NULL); in do_test()
1256 const char *detailed_status_message = ippGetString(attrptr, 0, NULL); in do_test()
1405 add_stringf(data->errors, "status-message=\"%s\"", ippGetString(attrptr, 0, NULL)); in do_test()
1612 strlcpy(buffer, ippGetString(found, last, NULL), sizeof(buffer)); in do_test()
2076 value = ippGetString(attr, element, NULL); in get_string()
2376 print_xml_string(outfile, "string", ippGetString(attr, i, NULL)); in print_attr()
2386 s = ippGetString(attr, i, &lang); in print_attr()
2646 const char *s = ippGetString(attr, i, NULL); in print_ippserver_attr()
4776 add_stringf(data->errors, "GOT: %s=\"%s\"", name, ippGetString(attr, i, NULL)); in with_value()
[all …]
Dippfind.c2322 strlcpy(preasons, ippGetString(attr, 0, NULL), sizeof(preasons)); in list_service()
2330 strlcpy(ptr, ippGetString(attr, i, NULL), (size_t)(end - ptr + 1)); in list_service()
/external/libcups/systemv/
Dlpadmin.c1237 …*num_options = cupsAddOption("printer-geo-location", ippGetString(attr, 0, NULL), *num_options, op… in get_printer_ppd()
1240 … *num_options = cupsAddOption("printer-info", ippGetString(attr, 0, NULL), *num_options, options); in get_printer_ppd()
1243 …*num_options = cupsAddOption("printer-location", ippGetString(attr, 0, NULL), *num_options, option… in get_printer_ppd()
/external/libcups/scheduler/
Dipp.c1712 cupsdSetJobHoldUntil(job, ippGetString(attr, 0, NULL), 0); in add_job()
2688 const char *ppd_name = ippGetString(attr, 0, NULL); in add_printer()
5325 cupsdSetString(&printer->info, ippGetString(attr, 0, NULL)); in create_local_bg_thread()
5328 cupsdSetString(&printer->location, ippGetString(attr, 0, NULL)); in create_local_bg_thread()
5331 cupsdSetString(&printer->geo_location, ippGetString(attr, 0, NULL)); in create_local_bg_thread()
5429 …for (nameptr = name, ptr = ippGetString(printer_name, 0, NULL); *ptr && nameptr < (name + sizeof(n… in create_local_printer()
5482 cupsdSetDeviceURI(printer, ippGetString(device_uri, 0, NULL)); in create_local_printer()
5485 cupsdSetString(&printer->geo_location, ippGetString(printer_geo_location, 0, NULL)); in create_local_printer()
5487 cupsdSetString(&printer->info, ippGetString(printer_info, 0, NULL)); in create_local_printer()
5489 cupsdSetString(&printer->location, ippGetString(printer_location, 0, NULL)); in create_local_printer()
[all …]
Djob.c327 reasons = ippGetString(job->reasons, 0, NULL); in cupsdCheckJobs()
3387 const char *reason = ippGetString(job->reasons, 0, NULL); in finalize_job()
3691 const char *pq = ippGetString(attr, 0, NULL); in get_options()
3857 const char *page_delivery = ippGetString(attr, 0, NULL); in get_options()
5153 const char *sides = ippGetString(ippFindAttribute(job->attrs, "sides", IPP_TAG_KEYWORD), 0, NULL); in update_job()
Dprinters.c2215 color = ippGetString(colors, i, NULL); in cupsdSetPrinterAttr()
2217 type = ippGetString(types, i, NULL); in cupsdSetPrinterAttr()
Dclient.c3365 cups_lang_t *language = cupsLangGet(ippGetString(attr, 0, NULL)); in pipe_command()
/external/libcups/backend/
Dipp.c1135 const char *val = ippGetString(cups_version, 0, NULL); in main()
1489 ippGetString(job_auth, 0, NULL), num_options, in main()
3093 … snprintf(valptr, sizeof(value) - (size_t)(valptr - value), " %s", ippGetString(pmja, i, NULL)); in report_printer_state()
3095 strlcpy(value, ippGetString(pmja, i, NULL), sizeof(value)); in report_printer_state()