Home
last modified time | relevance | path

Searched refs:_cupsSetError (Results 1 – 21 of 21) sorted by relevance

/external/libcups/cups/
Drequest.c64 _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()
[all …]
Dppd-util.c158 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer name"), 1); in cupsGetPPD3()
164 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No modification time"), 1); in cupsGetPPD3()
170 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad filename buffer"), 1); in cupsGetPPD3()
208 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetPPD3()
286 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetPPD3()
380 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetPPD3()
469 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No PPD name"), 1); in cupsGetServerPPD()
488 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetServerPPD()
553 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create printer-uri"), 1); in cups_get_printer_uri()
622 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer-uri found for class"), 1); in cups_get_printer_uri()
[all …]
Dtls-gnutls.c94 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsMakeServerCredentials()
121 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); in cupsMakeServerCredentials()
134 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsMakeServerCredentials()
196 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); in cupsMakeServerCredentials()
210 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsMakeServerCredentials()
262 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsSetServerCredentials()
441 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); in httpCredentialsGetTrust()
447 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); in httpCredentialsGetTrust()
484 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
494_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are older than stored credentials."), … in httpCredentialsGetTrust()
[all …]
Dadminutil.c244 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR, line, 0); in cupsAdminCreateWindowsPPD()
263 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR, line, 0); in cupsAdminCreateWindowsPPD()
282 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR, line, 0); in cupsAdminCreateWindowsPPD()
325 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR, _("Empty PPD file."), 1); in cupsAdminCreateWindowsPPD()
415 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsAdminExportSamba()
425 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsAdminExportSamba()
478 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); in cupsAdminExportSamba()
513 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); in cupsAdminExportSamba()
556 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); in cupsAdminExportSamba()
601 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); in cupsAdminExportSamba()
[all …]
Ddest-job.c99 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCloseDestJob()
124 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); in cupsCloseDestJob()
197 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCreateDestJob()
208 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); in cupsCreateDestJob()
281 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsFinishDestDocument()
343 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsStartDestDocument()
354 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); in cupsStartDestDocument()
Dtls-boringssl.c350 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Server credentials not set."), 1); in _httpTLSStart()
396 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, "Server not supported", 0); in _httpTLSStart()
420 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, message, 1); in _httpTLSStart()
448 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Client rejected the server certificate."), 1); in _httpTLSStart()
473 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in _httpTLSStop()
480 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, buf, 0); in _httpTLSStop()
Dhttp-addrlist.c100 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrConnect2()
383 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, "Connection failed", 0); in httpAddrConnect2()
385 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, strerror(errno), 0); in httpAddrConnect2()
624 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
659 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerror(error), 0); in httpAddrGetList()
784 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, hstrerror(h_errno), 0); in httpAddrGetList()
824 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown service name."), 1); in httpAddrGetList()
847 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
876 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
908 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
[all …]
Dutil.c82 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCancelJob2()
176 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCreateJob()
187 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); in cupsCreateJob()
466 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetJobs2()
481 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in cupsGetJobs2()
636 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetJobs2()
807 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsPrintFiles2()
846 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_ACCESS, NULL, 0); in cupsPrintFiles2()
927 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); in cupsStartDocument()
Dppd-cache.c430 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in _ppdCacheCreateWithFile()
440 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in _ppdCacheCreateWithFile()
450 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in _ppdCacheCreateWithFile()
458 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); in _ppdCacheCreateWithFile()
466 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Out of date PPD cache file."), 1); in _ppdCacheCreateWithFile()
479 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in _ppdCacheCreateWithFile()
505 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); in _ppdCacheCreateWithFile()
543 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); in _ppdCacheCreateWithFile()
549 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); in _ppdCacheCreateWithFile()
565 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); in _ppdCacheCreateWithFile()
[all …]
Dtls-darwin.c612 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); in httpCredentialsGetTrust()
618 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); in httpCredentialsGetTrust()
652 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
662_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are older than stored credentials."), … in httpCredentialsGetTrust()
672 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are not valid for name."), 1); in httpCredentialsGetTrust()
692 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No stored credentials, not valid for name."), 1); in httpCredentialsGetTrust()
730_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials do not validate against site CA certificat… in httpCredentialsGetTrust()
734 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
741 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials have expired."), 1); in httpCredentialsGetTrust()
747 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Self-signed credentials are blocked."), 1); in httpCredentialsGetTrust()
[all …]
Dhash.c53 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad arguments to function"), 1); in cupsHashData()
264 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown hash algorithm."), 1); in cupsHashData()
274 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Hash buffer too small."), 1); in cupsHashData()
Dpwg-media.c291 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid media name arguments."), in pwgFormatSizeName()
309 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in pwgFormatSizeName()
456 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in pwgInitSize()
462 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in pwgInitSize()
469 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media-size in media-col."), in pwgInitSize()
544 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unsupported media value."), 1); in pwgInitSize()
550 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media or media-col."), 1); in pwgInitSize()
Ddest-options.c676 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsCopyDestInfo()
725 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsFindDestDefault()
773 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsFindDestReady()
823 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsFindDestSupported()
917 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestMediaByIndex()
937 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestMediaByIndex()
949 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestMediaByIndex()
1012 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestMediaByName()
1024 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown media size name."), 1); in cupsGetDestMediaByName()
1087 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestMediaBySize()
[all …]
Dipp.c2979 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP extension tag larger than 0x7FFFFFFF."), 1); in ippReadIO()
2999 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid group tag."), 1); in ippReadIO()
3039 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP name larger than 32767 bytes."), 1); in ippReadIO()
3056 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP attribute has no name."), 1); in ippReadIO()
3092 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3119 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3142 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3170 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP member name is not empty."), 1); in ippReadIO()
3241 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3255 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
[all …]
Dgetdevices.c252 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0); in cupsGetDevices()
261 _cupsSetError(response->request.status.status_code, in cupsGetDevices()
Ddest.c628 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsConnectDest()
675 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); in cupsConnectDest()
687 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad printer-uri."), 1); in cupsConnectDest()
1130 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in _cupsGetDestResource()
1170 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); in _cupsGetDestResource()
1183 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad printer-uri."), 1); in _cupsGetDestResource()
1227 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetDestWithURI()
1234 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad printer-uri."), 1); in cupsGetDestWithURI()
1287 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsGetDestWithURI()
1654 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad NULL dests pointer"), 1); in cupsGetDests2()
[all …]
Dcups-private.h256 extern void _cupsSetError(ipp_status_t status, const char *message,
Dhttp.c2257 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request URI."), 1); in httpReadRequest()
2274 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request protocol version."), 1); in httpReadRequest()
2306 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request method."), 1); in httpReadRequest()
2326 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request version."), 1); in httpReadRequest()
2376 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in httpReconnect2()
4014 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in http_create()
4688 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, _("Encryption is not supported."), 1); in http_tls_upgrade()
Dlibcups2.def41 _cupsSetError
Ddest-localization.c72 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsLocalizeDestMedia()
Dtls-sspi.c1282 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI,
1299 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI,