Lines Matching refs:_cupsSetError
64 _cupsSetError(errno == ENOENT ? IPP_STATUS_ERROR_NOT_FOUND : IPP_STATUS_ERROR_NOT_AUTHORIZED, in cupsDoFileRequest()
125 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsDoIORequest()
153 …_cupsSetError(errno == EBADF ? IPP_STATUS_ERROR_NOT_FOUND : IPP_STATUS_ERROR_NOT_AUTHORIZED, NULL,… in cupsDoIORequest()
169 _cupsSetError(IPP_STATUS_ERROR_NOT_POSSIBLE, strerror(EISDIR), 0); in cupsDoIORequest()
334 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection."), 1); in cupsGetResponse()
342 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request sent."), 1); in cupsGetResponse()
459 _cupsSetError(response->request.status.status_code, in cupsGetResponse()
553 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection"), 1); in cupsReadResponseData()
606 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsSendRequest()
925 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection"), 1); in cupsWriteRequestData()
940 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0); in cupsWriteRequestData()
1059 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, NULL, 0); in _cupsConnect()
1061 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, in _cupsConnect()
1079 _cupsSetError(ipp_status_t status, /* I - IPP status code */ in _cupsSetError() function
1135 _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, httpStatus(status), 0); in _cupsSetHTTPError()
1139 _cupsSetError(IPP_STATUS_ERROR_NOT_AUTHENTICATED, httpStatus(status), 0); in _cupsSetHTTPError()
1143 _cupsSetError(IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED, httpStatus(status), 0); in _cupsSetHTTPError()
1147 _cupsSetError(IPP_STATUS_ERROR_FORBIDDEN, httpStatus(status), 0); in _cupsSetHTTPError()
1151 _cupsSetError(IPP_STATUS_ERROR_BAD_REQUEST, httpStatus(status), 0); in _cupsSetHTTPError()
1155 _cupsSetError(IPP_STATUS_ERROR_REQUEST_VALUE, httpStatus(status), 0); in _cupsSetHTTPError()
1159 _cupsSetError(IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, httpStatus(status), 0); in _cupsSetHTTPError()
1163 _cupsSetError(IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, httpStatus(status), 0); in _cupsSetHTTPError()
1167 _cupsSetError(IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED, httpStatus(status), 0); in _cupsSetHTTPError()
1171 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, httpStatus(status), 0); in _cupsSetHTTPError()
1175 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in _cupsSetHTTPError()
1181 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, httpStatus(status), 0); in _cupsSetHTTPError()