Lines Matching refs:ipp_status
157 ipp_status_t ipp_status = cupsLastError(); in test_and_set_ipp_version() local
159 ipp_status, ippErrorString(ipp_status)); in test_and_set_ipp_version()
160 if (ipp_status == IPP_INTERNAL_ERROR) { in test_and_set_ipp_version()
163 } else if ((ipp_status == IPP_SERVICE_UNAVAILABLE) && in test_and_set_ipp_version()
169 } else if (ipp_status == IPP_BAD_REQUEST) { in test_and_set_ipp_version()
178 } else if (ipp_status == IPP_NOT_FOUND) { in test_and_set_ipp_version()
184 ipp_status_t ipp_status = cupsLastError(); in test_and_set_ipp_version() local
185 LOGD("ipp CUPS last ERROR: %d, %s", ipp_status, ippErrorString(ipp_status)); in test_and_set_ipp_version()
186 if (ipp_status == IPP_BAD_REQUEST) { in test_and_set_ipp_version()
237 ipp_status_t ipp_status = IPP_OK; in get_PrinterState() local
244 return ipp_status; in get_PrinterState()
260 ipp_status = cupsLastError(); in get_PrinterState()
261 LOGE("get_PrinterState(): response is null: ipp_status %d", ipp_status); in get_PrinterState()
265 ipp_status = cupsLastError(); in get_PrinterState()
266 LOGD("ipp CUPS last ERROR: %d, %s", ipp_status, ippErrorString(ipp_status)); in get_PrinterState()
272 ipp_status, printer_state_dyn->printer_status); in get_PrinterState()
276 return ipp_status; in get_PrinterState()
1264 ipp_status_t ipp_status; in ipp_doCupsRequest() local
1290 ipp_status = cupsLastError(); in ipp_doCupsRequest()
1291 if (ipp_status == IPP_INTERNAL_ERROR || ipp_status == HTTP_ERROR) { in ipp_doCupsRequest()
1298 printer_uri, ipp_status, internal_error_retry_count, in ipp_doCupsRequest()
1301 } else if (ipp_status == IPP_SERVICE_UNAVAILABLE) { in ipp_doCupsRequest()
1311 } else if (ipp_status == IPP_BAD_REQUEST) { in ipp_doCupsRequest()
1320 } else if (ipp_status == IPP_NOT_FOUND) { in ipp_doCupsRequest()
1325 ipp_status = cupsLastError(); in ipp_doCupsRequest()
1326 if (ipp_status == IPP_BAD_REQUEST) { in ipp_doCupsRequest()
1337 } else if (ipp_status == IPP_VERSION_NOT_SUPPORTED) { in ipp_doCupsRequest()