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()
605 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsSendRequest()
913 _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()
268 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetPPD3()
362 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetPPD3()
451 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No PPD name"), 1); in cupsGetServerPPD()
470 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetServerPPD()
542 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create printer-uri"), 1); in cups_get_printer_uri()
693 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer-uri found for class"), 1); in cups_get_printer_uri()
[all …]
Dtls-gnutls.c92 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsMakeServerCredentials()
119 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); in cupsMakeServerCredentials()
132 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsMakeServerCredentials()
194 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); in cupsMakeServerCredentials()
208 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in cupsMakeServerCredentials()
260 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsSetServerCredentials()
439 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); in httpCredentialsGetTrust()
445 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); in httpCredentialsGetTrust()
482 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
492_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.c346 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Server credentials not set."), 1); in _httpTLSStart()
392 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, "Server not supported", 0); in _httpTLSStart()
416 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, message, 1); in _httpTLSStart()
444 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Client rejected the server certificate."), 1); in _httpTLSStart()
469 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in _httpTLSStop()
476 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, buf, 0); in _httpTLSStop()
Dhttp-addrlist.c98 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrConnect2()
381 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, "Connection failed", 0); in httpAddrConnect2()
383 _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, strerror(errno), 0); in httpAddrConnect2()
621 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
656 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerror(error), 0); in httpAddrGetList()
781 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, hstrerror(h_errno), 0); in httpAddrGetList()
821 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown service name."), 1); in httpAddrGetList()
844 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
873 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
905 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in httpAddrGetList()
[all …]
Dutil.c95 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCancelJob2()
189 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsCreateJob()
205 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); in cupsCreateJob()
484 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsGetJobs2()
499 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in cupsGetJobs2()
654 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); in cupsGetJobs2()
825 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsPrintFiles2()
864 _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_ACCESS, NULL, 0); in cupsPrintFiles2()
945 _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 …]
Dhash.c51 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad arguments to function"), 1); in cupsHashData()
233 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown hash algorithm."), 1); in cupsHashData()
243 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Hash buffer too small."), 1); in cupsHashData()
Dtls-darwin.c610 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); in httpCredentialsGetTrust()
616 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); in httpCredentialsGetTrust()
650 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
660_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are older than stored credentials."), … in httpCredentialsGetTrust()
670 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are not valid for name."), 1); in httpCredentialsGetTrust()
690 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No stored credentials, not valid for name."), 1); in httpCredentialsGetTrust()
728_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials do not validate against site CA certificat… in httpCredentialsGetTrust()
732 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); in httpCredentialsGetTrust()
739 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials have expired."), 1); in httpCredentialsGetTrust()
745 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Self-signed credentials are blocked."), 1); in httpCredentialsGetTrust()
[all …]
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.c3074 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP extension tag larger than 0x7FFFFFFF."), 1); in ippReadIO()
3127 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP name larger than 32767 bytes."), 1); in ippReadIO()
3144 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP attribute has no name."), 1); in ippReadIO()
3180 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3207 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3230 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3258 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP member name is not empty."), 1); in ippReadIO()
3329 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3343 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, in ippReadIO()
3346 _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.c2243 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request URI."), 1); in httpReadRequest()
2260 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request protocol version."), 1); in httpReadRequest()
2292 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request method."), 1); in httpReadRequest()
2312 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request version."), 1); in httpReadRequest()
2362 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in httpReconnect2()
3946 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); in http_create()
4620 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, _("Encryption is not supported."), 1); in http_tls_upgrade()
Dlibcups2.def55 _cupsSetError
Ddest-localization.c72 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsLocalizeDestMedia()
Dtls-sspi.c1277 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI,
1294 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI,