/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Errno.cpp | 38 std::string StrError(int errnum) { in StrError() argument 45 if (errnum) in StrError() 49 str = strerror_r(errnum,buffer,MaxErrStrLen-1); in StrError() 51 strerror_r(errnum,buffer,MaxErrStrLen-1); in StrError() 54 if (errnum) in StrError() 55 strerror_s(buffer, errnum); in StrError() 60 if (errnum) in StrError() 61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1); in StrError() 66 sprintf(buffer, "Error #%d", 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/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/swiftshader/third_party/llvm-7.0/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/libpcap/ |
D | fmtutils.c | 61 pcap_fmt_errmsg_for_errno(char *errbuf, size_t errbuflen, int errnum, in pcap_fmt_errmsg_for_errno() argument 99 err = strerror_s(p, errbuflen_remaining, errnum); in pcap_fmt_errmsg_for_errno() 105 pcap_snprintf(p, errbuflen_remaining, "Error %d", errnum); in pcap_fmt_errmsg_for_errno() 108 err = strerror_r(errnum, p, errbuflen_remaining); in pcap_fmt_errmsg_for_errno() 115 errnum); in pcap_fmt_errmsg_for_errno() 122 "Message for error %d is too long", errnum); in pcap_fmt_errmsg_for_errno() 129 pcap_snprintf(p, errbuflen_remaining, "%s", pcap_strerror(errnum)); in pcap_fmt_errmsg_for_errno()
|
/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 | 198 return ud->errnum; in cs_errno() 253 ud->errnum = CS_ERR_OK; in cs_open() 498 handle->errnum = CS_ERR_OK; in cs_disasm() 518 handle->errnum = CS_ERR_MEM; in cs_disasm() 630 handle->errnum = CS_ERR_MEM; in cs_disasm() 666 handle->errnum = CS_ERR_MEM; in cs_disasm() 707 handle->errnum = CS_ERR_MEM; in cs_malloc() 715 handle->errnum = CS_ERR_MEM; in cs_malloc() 740 handle->errnum = CS_ERR_OK; in cs_disasm_iter() 876 handle->errnum = CS_ERR_DETAIL; in cs_insn_group() [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/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Unix.h | 78 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 81 if (errnum == -1) 82 errnum = errno; 83 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/u-boot/fs/reiserfs/ |
D | reiserfs.c | 34 static reiserfs_error_t errnum = ERR_NONE; variable 263 return errnum == 0; in journal_init() 416 errnum = ERR_FSYS_CORRUPT; in read_tree_node() 581 errnum = ERR_FSYS_CORRUPT; in search_stat() 605 while (! errnum) in reiserfs_read() 668 return errnum ? 0 : buf - prev_buf; in reiserfs_read() 724 errnum = ERR_SYMLINK_LOOP; in reiserfs_dir() 740 errnum = ERR_FILELENGTH; in reiserfs_dir() 754 if (! errnum) in reiserfs_dir() 755 errnum = ERR_FSYS_CORRUPT; in reiserfs_dir() [all …]
|
/external/swiftshader/third_party/llvm-7.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);
|
/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/u-boot/tools/dtoc/ |
D | fdt.py | 25 def CheckErr(errnum, msg): argument 26 if errnum: 28 (errnum, libfdt.fdt_strerror(errnum), msg)) 339 def CheckErr(errnum, msg): argument 340 if errnum: 342 (errnum, libfdt.fdt_strerror(errnum), msg))
|
/external/u-boot/common/ |
D | kgdb.c | 380 volatile int errnum; in handle_exception() local 392 errnum = kgdb_setjmp(error_jmp_buf); in handle_exception() 394 if (errnum == 0) switch (remcomInBuffer[0]) { in handle_exception() 511 if (errnum != 0) in handle_exception() 512 sprintf(remcomOutBuffer, "E%02d", errnum); in handle_exception() 541 kgdb_error(int errnum) in kgdb_error() argument 544 kgdb_longjmp(error_jmp_buf, errnum); in kgdb_error()
|
/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/elfutils/libdwfl/ |
D | argp-std.c | 108 failure (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in failure() argument 112 if (errnum == -1) in failure() 116 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); in failure() 120 fail (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in fail() argument 122 failure (dwfl, errnum, msg, state); in fail() 123 return errnum == -1 ? EIO : errnum; in fail()
|
/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/capstone/arch/X86/ |
D | X86Module.c | 60 handle->errnum = CS_ERR_OPTION; in option() 76 handle->errnum = CS_ERR_X86_ATT; in option() 80 handle->errnum = CS_ERR_DIET; in 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/python/cpython3/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()
|
/external/jemalloc/include/jemalloc/internal/ |
D | util.h | 132 void set_errno(int errnum); 318 set_errno(int errnum) in set_errno() argument 322 SetLastError(errnum); in set_errno() 324 errno = errnum; in set_errno()
|
/external/autotest/client/cros/ |
D | rtc.py | 42 except IOError as (errnum, strerror): 43 if errnum != errno.EBUSY:
|
/external/zlib/src/contrib/iostream2/ |
D | zstream.h | 97 const char* error(int* errnum) { in error() argument 98 return ::gzerror(m_fp, errnum); in error() 230 const char* error(int* errnum) { in error() argument 231 return ::gzerror(m_fp, errnum); in error()
|