/external/libcups/cups/ |
D | request.c | 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() [all …]
|
D | ppd-util.c | 158 _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 …]
|
D | tls-gnutls.c | 94 _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 …]
|
D | adminutil.c | 244 _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 …]
|
D | dest-job.c | 99 _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()
|
D | tls-boringssl.c | 350 _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()
|
D | http-addrlist.c | 100 _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 …]
|
D | util.c | 82 _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()
|
D | ppd-cache.c | 430 _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 …]
|
D | tls-darwin.c | 612 _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 …]
|
D | hash.c | 53 _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()
|
D | pwg-media.c | 291 _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()
|
D | dest-options.c | 676 _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 …]
|
D | ipp.c | 2979 _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 …]
|
D | getdevices.c | 252 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0); in cupsGetDevices() 261 _cupsSetError(response->request.status.status_code, in cupsGetDevices()
|
D | dest.c | 628 _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 …]
|
D | cups-private.h | 256 extern void _cupsSetError(ipp_status_t status, const char *message,
|
D | http.c | 2257 _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()
|
D | libcups2.def | 41 _cupsSetError
|
D | dest-localization.c | 72 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); in cupsLocalizeDestMedia()
|
D | tls-sspi.c | 1282 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, 1299 _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI,
|