Lines Matching refs:ipp_status
202 ipp_status_t ipp_status = cupsLastError(); in test_and_set_ipp_version() local
204 ipp_status, ippErrorString(ipp_status)); in test_and_set_ipp_version()
205 if (ipp_status == IPP_INTERNAL_ERROR) { in test_and_set_ipp_version()
208 } else if ((ipp_status == IPP_SERVICE_UNAVAILABLE) && in test_and_set_ipp_version()
214 } else if (ipp_status == IPP_BAD_REQUEST) { in test_and_set_ipp_version()
223 } else if (ipp_status == IPP_NOT_FOUND) { in test_and_set_ipp_version()
229 ipp_status_t ipp_status = cupsLastError(); in test_and_set_ipp_version() local
230 LOGD("ipp CUPS last ERROR: %d, %s", ipp_status, ippErrorString(ipp_status)); in test_and_set_ipp_version()
231 if (ipp_status == IPP_BAD_REQUEST) { in test_and_set_ipp_version()
282 ipp_status_t ipp_status = IPP_OK; in get_PrinterState() local
289 return ipp_status; in get_PrinterState()
305 ipp_status = cupsLastError(); in get_PrinterState()
306 LOGE("get_PrinterState(): response is null: ipp_status %d", ipp_status); in get_PrinterState()
310 ipp_status = cupsLastError(); in get_PrinterState()
311 LOGD("ipp CUPS last ERROR: %d, %s", ipp_status, ippErrorString(ipp_status)); in get_PrinterState()
317 ipp_status, printer_state_dyn->printer_status); in get_PrinterState()
321 return ipp_status; in get_PrinterState()
1457 ipp_status_t ipp_status; in ipp_doCupsRequest() local
1483 ipp_status = cupsLastError(); in ipp_doCupsRequest()
1484 if (ipp_status == IPP_INTERNAL_ERROR || ipp_status == HTTP_ERROR) { in ipp_doCupsRequest()
1491 printer_uri, ipp_status, internal_error_retry_count, in ipp_doCupsRequest()
1494 } else if (ipp_status == IPP_SERVICE_UNAVAILABLE) { in ipp_doCupsRequest()
1504 } else if (ipp_status == IPP_BAD_REQUEST) { in ipp_doCupsRequest()
1513 } else if (ipp_status == IPP_NOT_FOUND) { in ipp_doCupsRequest()
1518 ipp_status = cupsLastError(); in ipp_doCupsRequest()
1519 if (ipp_status == IPP_BAD_REQUEST) { in ipp_doCupsRequest()
1530 } else if (ipp_status == IPP_VERSION_NOT_SUPPORTED) { in ipp_doCupsRequest()