/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 56 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 58 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 78 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 55 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 57 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 77 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 56 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 58 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 78 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 56 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 58 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 78 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/external/ltp/testcases/kernel/syscalls/statx/ |
D | statx03.c | 53 int32_t errnum; member 56 .mask = 0, .errnum = EBADF}, 59 .mask = 0, .errnum = EFAULT}, 62 .mask = 0, .errnum = EINVAL}, 65 .mask = -1, .errnum = EINVAL}, 68 .mask = 0, .errnum = ENOENT}, 71 .mask = 0, .errnum = ENOTDIR}, 74 .mask = 0, .errnum = ENAMETOOLONG}, 90 if (tc->errnum == TST_ERR) { in run_test() 96 "statx() should fail with %s", tst_strerrno(tc->errnum)); in run_test()
|
/external/libpcap/ |
D | fmtutils.c | 269 pcap_fmt_errmsg_for_errno(char *errbuf, size_t errbuflen, int errnum, in pcap_fmt_errmsg_for_errno() argument 306 errno_t err = _wcserror_s(utf_16_errbuf, PCAP_ERRBUF_SIZE, errnum); in pcap_fmt_errmsg_for_errno() 312 snprintf(p, errbuflen_remaining, "Error %d", errnum); in pcap_fmt_errmsg_for_errno() 339 char *errstring = strerror_r(errnum, strerror_buf, PCAP_ERRBUF_SIZE); in pcap_fmt_errmsg_for_errno() 346 int err = strerror_r(errnum, p, errbuflen_remaining); in pcap_fmt_errmsg_for_errno() 353 errnum); in pcap_fmt_errmsg_for_errno() 360 "Message for error %d is too long", errnum); in pcap_fmt_errmsg_for_errno() 367 snprintf(p, errbuflen_remaining, "%s", pcap_strerror(errnum)); in pcap_fmt_errmsg_for_errno() 377 pcap_fmt_errmsg_for_win32_err(char *errbuf, size_t errbuflen, DWORD errnum, in pcap_fmt_errmsg_for_win32_err() argument 426 NULL, errnum, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), in pcap_fmt_errmsg_for_win32_err() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Errno.cpp | 36 std::string StrError(int errnum) { in StrError() argument 38 if (errnum == 0) in StrError() 51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 53 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 57 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 63 str = strerror(errnum); in StrError() 68 stream << "Error #" << errnum; in StrError()
|
/external/llvm-project/llvm/lib/Support/ |
D | Errno.cpp | 36 std::string StrError(int errnum) { in StrError() argument 38 if (errnum == 0) in StrError() 51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 53 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 57 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 63 str = strerror(errnum); in StrError() 68 stream << "Error #" << errnum; in StrError()
|
/external/llvm/lib/Support/ |
D | Errno.cpp | 37 std::string StrError(int errnum) { in StrError() argument 39 if (errnum == 0) in StrError() 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 54 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 58 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 64 str = strerror(errnum); in StrError() 69 stream << "Error #" << errnum; in StrError()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Errno.cpp | 37 std::string StrError(int errnum) { in StrError() argument 39 if (errnum == 0) in StrError() 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 54 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 58 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 64 str = strerror(errnum); in StrError() 69 stream << "Error #" << errnum; in StrError()
|
/external/llvm-project/llvm/lib/Support/Unix/ |
D | Unix.h | 60 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 63 if (errnum == -1) 64 errnum = errno; 65 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum); 71 int errnum) { in ReportErrnumFatal() argument 73 MakeErrMsg(&ErrMsg, Msg, errnum); in ReportErrnumFatal()
|
D | Threading.inc | 67 int errnum; 71 if ((errnum = ::pthread_attr_init(&Attr)) != 0) { 72 ReportErrnumFatal("pthread_attr_init failed", errnum); 76 if ((errnum = ::pthread_attr_destroy(&Attr)) != 0) { 77 ReportErrnumFatal("pthread_attr_destroy failed", errnum); 83 if ((errnum = ::pthread_attr_setstacksize(&Attr, *StackSizeInBytes)) != 0) { 84 ReportErrnumFatal("pthread_attr_setstacksize failed", errnum); 90 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0) 91 ReportErrnumFatal("pthread_create failed", errnum); 95 if ((errnum = ::pthread_join(Thread, nullptr)) != 0) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Unix.h | 64 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 67 if (errnum == -1) 68 errnum = errno; 69 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum); 75 int errnum) { in ReportErrnumFatal() argument 77 MakeErrMsg(&ErrMsg, Msg, errnum); in ReportErrnumFatal()
|
D | Threading.inc | 61 int errnum; 65 if ((errnum = ::pthread_attr_init(&Attr)) != 0) { 66 ReportErrnumFatal("pthread_attr_init failed", errnum); 70 if ((errnum = ::pthread_attr_destroy(&Attr)) != 0) { 71 ReportErrnumFatal("pthread_attr_destroy failed", errnum); 77 if ((errnum = ::pthread_attr_setstacksize(&Attr, *StackSizeInBytes)) != 0) { 78 ReportErrnumFatal("pthread_attr_setstacksize failed", errnum); 84 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0) 85 ReportErrnumFatal("pthread_create failed", errnum); 89 if ((errnum = ::pthread_join(Thread, nullptr)) != 0) { [all …]
|
/external/llvm/lib/Support/Unix/ |
D | Unix.h | 59 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 62 if (errnum == -1) 63 errnum = errno; 64 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/libbrillo/brillo/errors/ |
D | error_codes.cc | 32 int errnum; member 195 std::string ErrorCodeFromSystemError(int errnum) { in ErrorCodeFromSystemError() argument 198 if (entry.errnum == errnum) { in ErrorCodeFromSystemError() 210 int errnum) { in AddSystemError() argument 211 std::string message = base::safe_strerror(errnum); in AddSystemError() 212 std::string code = ErrorCodeFromSystemError(errnum); in AddSystemError() 214 message = "Unknown error " + std::to_string(errnum); in AddSystemError() 217 code = "error_" + std::to_string(errnum); in AddSystemError()
|
/external/capstone/ |
D | cs.c | 431 return ud->errnum; in cs_errno() 496 ud->errnum = CS_ERR_OK; in cs_open() 848 handle->errnum = CS_ERR_OK; in cs_disasm() 868 handle->errnum = CS_ERR_MEM; in cs_disasm() 983 handle->errnum = CS_ERR_MEM; in cs_disasm() 1019 handle->errnum = CS_ERR_MEM; in cs_disasm() 1060 handle->errnum = CS_ERR_MEM; in cs_malloc() 1068 handle->errnum = CS_ERR_MEM; in cs_malloc() 1093 handle->errnum = CS_ERR_OK; in cs_disasm_iter() 1221 handle->errnum = CS_ERR_DETAIL; in cs_insn_group() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Unix.h | 64 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 67 if (errnum == -1) 68 errnum = errno; 69 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/tpm2-tss/src/tss2-rc/ |
D | tss2_rc.c | 324 UINT8 errnum = tpm2_rc_fmt1_error_get(rc); in tpm2_err_handler_fmt1() local 325 if (errnum < ARRAY_LEN(fmt1_err_strs)) { in tpm2_err_handler_fmt1() 326 m = fmt1_err_strs[errnum]; in tpm2_err_handler_fmt1() 329 catbuf(buf, "unknown error num: 0x%X", errnum); in tpm2_err_handler_fmt1() 641 UINT8 errnum = tpm2_rc_fmt0_error_get(rc); in tpm2_err_handler_fmt0() local 646 catbuf(buf, "Vendor specific error: 0x%X", errnum); in tpm2_err_handler_fmt0() 656 if (errnum >= len) { in tpm2_err_handler_fmt0() 660 const char *m = selection[errnum]; in tpm2_err_handler_fmt0()
|
/external/libxml2/win32/wince/ |
D | wincecompat.c | 62 char *strerror(int errnum) in strerror() argument 64 if (errnum>MAX_STRERROR) in strerror() 67 return strError[errnum]; in strerror()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | util.h | 47 set_errno(int errnum) { in set_errno() argument 49 SetLastError(errnum); in set_errno() 51 errno = errnum; in set_errno()
|
/external/elfutils/libdwfl/ |
D | argp-std.c | 105 failure (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in failure() argument 109 if (errnum == -1) in failure() 113 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); in failure() 117 fail (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in fail() argument 119 failure (dwfl, errnum, msg, state); in fail() 120 return errnum == -1 ? EIO : errnum; in fail()
|
/external/capstone/arch/X86/ |
D | X86Module.c | 59 handle->errnum = CS_ERR_OPTION; in X86_option() 80 handle->errnum = CS_ERR_X86_ATT; in X86_option() 84 handle->errnum = CS_ERR_DIET; in X86_option()
|
/external/python/cpython2/Tools/ssl/ |
D | make_ssl_data.py | 55 for errname, (libnum, errnum) in _ssl.err_names_to_codes.items(): 60 if (libcode, errnum) not in new_code_nums: 61 codes[errcode] = libcode, errname, errnum
|
/external/compiler-rt/lib/profile/ |
D | GCDAProfiling.c | 227 int errnum = errno; in map_file() local 229 strerror(errnum)); in map_file() 237 int errnum = errno; in unmap_file() local 239 strerror(errnum)); in unmap_file() 278 int errnum = errno; in llvm_gcda_start_file() local 280 strerror(errnum)); in llvm_gcda_start_file()
|