Home
last modified time | relevance | path

Searched refs:cupsLastError (Results 1 – 25 of 31) sorted by relevance

12

/external/libcups/systemv/
Dlpstat.c188 …if (num_dests == 0 && (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || cupsLastError() == IPP_S… in main()
232 (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
233 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) in main()
365 (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
366 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) in main()
392 (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
393 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) in main()
414 (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
415 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) in main()
474 (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
[all …]
Dlp.c156 else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
157 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
576 else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
577 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
588 if (!cupsGetNamedDest(NULL, NULL, NULL) && cupsLastError() == IPP_STATUS_ERROR_NOT_FOUND) in main()
673 if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in restart_job()
674 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in restart_job()
681 else if (cupsLastError() > IPP_OK_CONFLICT) in restart_job()
723 if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in set_job_attrs()
724 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in set_job_attrs()
[all …]
Dcupsaccept.c192 if (cupsLastError() > IPP_OK_CONFLICT) in main()
196 command, ippErrorString(cupsLastError())); in main()
222 if (cupsLastError() > IPP_OK_CONFLICT) in main()
Dlpadmin.c793 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in add_printer_to_class()
842 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in default_printer()
890 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in delete_printer()
1041 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in delete_printer_from_class()
1093 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in delete_printer_option()
1134 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in enable_printer()
1148 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in enable_printer()
1229 if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) in get_printer_ppd()
1597 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in set_printer_options()
Dlpmove.c197 if (cupsLastError() > IPP_OK_CONFLICT) in move_job()
/external/libcups/cups/
Ddest-job.c53 return (cupsLastError()); in cupsCancelDestJob()
142 DEBUG_printf(("1cupsCloseDestJob: %s (%s)", ippErrorString(cupsLastError()), in cupsCloseDestJob()
145 return (cupsLastError()); in cupsCloseDestJob()
240 DEBUG_printf(("1cupsCreateDestJob: %s (%s)", ippErrorString(cupsLastError()), in cupsCreateDestJob()
243 return (cupsLastError()); in cupsCreateDestJob()
288 ippErrorString(cupsLastError()), cupsLastErrorString())); in cupsFinishDestDocument()
290 return (cupsLastError()); in cupsFinishDestDocument()
Dgetdevices.c157 return (cupsLastError()); in cupsGetDevices()
266 return (cupsLastError()); in cupsGetDevices()
Dppd-util.c525 if (cupsLastError() != IPP_STATUS_OK) in cupsGetServerPPD()
657 if (cupsLastError() != IPP_STATUS_ERROR_NOT_FOUND) in cups_get_printer_uri()
Dutil.c134 return (cupsLastError()); in cupsCancelJob2()
235 return (cupsLastError()); in cupsFinishDocument()
Dtestclient.c881 if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) in run_client()
920 if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) in run_client()
Dlibcups2.def267 cupsLastError
Dcupspm.md201 found by calling the `cupsLastError` and/or `cupsLastErrorString` functions.
905 The status from the most recent request can be queried using the `cupsLastError`
908 if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST)
916 if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST)
Dcups.h345 extern ipp_status_t cupsLastError(void) _CUPS_PUBLIC;
/external/libcups/cgi-bin/
Djobs.c164 if (cupsLastError() <= IPP_OK_CONFLICT && getenv("HTTP_REFERER")) in do_job_op()
177 else if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_job_op()
185 if (cupsLastError() > IPP_OK_CONFLICT) in do_job_op()
Dadmin.c571 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_am_class()
576 else if (cupsLastError() > IPP_OK_CONFLICT) in do_am_class()
813 cupsLastError(), cupsLastErrorString()); in do_am_printer()
814 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_am_printer()
1184 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_am_printer()
1189 else if (cupsLastError() > IPP_OK_CONFLICT) in do_am_printer()
1483 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_config_server()
1828 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_delete_class()
1833 else if (cupsLastError() <= IPP_OK_CONFLICT) in do_delete_class()
1844 if (cupsLastError() > IPP_OK_CONFLICT) in do_delete_class()
[all …]
Dipp-var.c478 if (cupsLastError() <= IPP_OK_CONFLICT) in cgiMoveJobs()
500 if (cupsLastError() > IPP_OK_CONFLICT) in cgiMoveJobs()
598 if (cupsLastError() >= IPP_REDIRECTION_OTHER_SITE) in cgiPrintCommand()
758 if (cupsLastError() <= IPP_OK_CONFLICT) in cgiPrintTestPage()
768 else if (cupsLastError() == IPP_NOT_AUTHORIZED) in cgiPrintTestPage()
776 if (cupsLastError() > IPP_OK_CONFLICT) in cgiPrintTestPage()
Dclasses.c238 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_class_op()
243 else if (cupsLastError() > IPP_OK_CONFLICT) in do_class_op()
Dprinters.c247 if (cupsLastError() == IPP_NOT_AUTHORIZED) in do_printer_op()
252 else if (cupsLastError() > IPP_OK_CONFLICT) in do_printer_op()
/external/libcups/scheduler/
Dtestsub.c157 if (cupsLastError() >= IPP_BAD_REQUEST) in main()
216 printf(" %s\n", ippErrorString(cupsLastError())); in main()
218 if (cupsLastError() >= IPP_BAD_REQUEST) in main()
267 printf(" %s\n", ippErrorString(cupsLastError())); in main()
269 if (cupsLastError() >= IPP_BAD_REQUEST) in main()
Dcups-lpd.c368 if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) in create_job()
479 if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) in get_printer()
512 if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) in get_printer()
753 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in print_file()
1283 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in remove_jobs()
1434 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in send_state()
Dtestspeed.c327 switch (cupsLastError()) in do_test()
/external/libcups/berkeley/
Dlpr.c231 else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
232 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
341 else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
342 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
353 if (!cupsGetNamedDest(NULL, NULL, NULL) && cupsLastError() == IPP_STATUS_ERROR_NOT_FOUND) in main()
Dlpq.c136 if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
137 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
207 if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || in main()
208 cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) in main()
/external/libcups/backend/
Dipp.c933 ipp_status = cupsLastError(); in main()
1480 ipp_status = cupsLastError(); in main()
1676 ipp_status = cupsLastError(); in main()
1871 …fprintf(stderr, "DEBUG: Send-Document: %s (%s)\n", ippErrorString(cupsLastError()), cupsLastErrorS… in main()
1874 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING && !job_canceled) in main()
1879 ipp_status = cupsLastError(); in main()
2025 if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) in main()
2058 ipp_status = cupsLastError(); in main()
2172 if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) in main()
2182 if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) in main()
[all …]
/external/libcups/tools/
Dippfind.c2292 if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST && version > 11) in list_service()
2295 while (cupsLastError() > IPP_STATUS_OK_EVENTS_COMPLETE && version > 11); in list_service()
2301 if (cupsLastError() > IPP_STATUS_OK_EVENTS_COMPLETE) in list_service()

12