/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | Errno.cpp | 38 std::string StrError(int errnum) { argument 45 if (errnum) 49 str = strerror_r(errnum,buffer,MaxErrStrLen-1); 51 strerror_r(errnum,buffer,MaxErrStrLen-1); 54 if (errnum) 55 strerror_s(buffer, errnum); 60 if (errnum) 61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1); 66 sprintf(buffer, "Error #%d", errnum);
|
/external/llvm/lib/Support/ |
H A D | Errno.cpp | 37 std::string StrError(int errnum) { argument 39 if (errnum == 0) 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); 54 strerror_r(errnum, buffer, MaxErrStrLen - 1); 58 strerror_s(buffer, MaxErrStrLen - 1, errnum); 64 str = strerror(errnum); 69 stream << "Error #" << errnum; local
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Errno.cpp | 37 std::string StrError(int errnum) {
argument 39 if (errnum == 0)
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
54 strerror_r(errnum, buffer, MaxErrStrLen - 1);
58 strerror_s(buffer, MaxErrStrLen - 1, errnum);
64 str = strerror(errnum);
69 stream << "Error #" << errnum;
local
|
/external/llvm/include/llvm/Support/ |
H A D | Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/llvm/lib/Support/Unix/ |
H A D | Unix.h | 52 /// string and the Unix error number given by \p errnum. If errnum is -1, the 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/include/llvm/Support/ |
H A D | Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/syslinux/com32/lib/ |
H A D | strerror.c | 7 char *strerror(int errnum) argument 12 unsigned int e = (unsigned int)errnum;
|
/external/libxml2/win32/wince/ |
H A D | wincecompat.c | 62 char *strerror(int errnum) argument 64 if (errnum>MAX_STRERROR) 67 return strError[errnum];
|
H A D | wincecompat.h | 40 char *strerror(int errnum);
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
H A D | Unix.h | 71 /// string and the Unix error number given by \p errnum. If errnum is -1, the 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/valgrind/none/tests/ |
H A D | pth_atfork1.c | 32 static void error (int status, int errnum, char* msg) argument 36 errnum ? ": " : "", 37 errnum ? strerror(errnum) : ""); 38 if (errnum) 39 exit(errnum);
|
/external/autotest/client/cros/ |
H A D | rtc.py | 42 except IOError as (errnum, strerror): 43 if errnum != errno.EBUSY:
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
H A D | Unix.h | 57 /// string and the Unix error number given by \p errnum. If errnum is -1, the 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/valgrind/drd/tests/ |
H A D | pth_cond_destroy_busy.c | 15 static const char* err_to_str(int errnum) argument 17 switch (errnum) {
|
/external/capstone/arch/X86/ |
H A D | X86Module.c | 60 handle->errnum = CS_ERR_OPTION; 76 handle->errnum = CS_ERR_X86_ATT; 80 handle->errnum = CS_ERR_DIET;
|
/external/python/cpython2/Tools/ssl/ |
H A 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/ |
H A 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/libbrillo/brillo/errors/ |
H A D | error_codes.cc | 32 int errnum; member in struct:brillo::errors::system::__anon10731::ErrorMapEntry 188 // by increasing errnum values which is the same order used in the header 195 std::string ErrorCodeFromSystemError(int errnum) { argument 198 if (entry.errnum == errnum) { 210 int errnum) { 211 std::string message = base::safe_strerror(errnum); 212 std::string code = ErrorCodeFromSystemError(errnum); 214 message = "Unknown error " + std::to_string(errnum); 217 code = "error_" + std::to_string(errnum); 208 AddSystemError(ErrorPtr* error, const tracked_objects::Location& location, int errnum) argument [all...] |
H A D | error_codes.h | 37 int errnum);
|
/external/libmicrohttpd/src/include/ |
H A D | platform_interface.h | 108 #define MHD_strerror_(errnum) strerror((errnum)) 110 #define MHD_strerror_(errnum) MHD_W32_strerror_((errnum)) 113 /* MHD_set_socket_errno_ set errno to errnum (non-W32) / set socket last error to errnum (W32) */ 115 #define MHD_set_socket_errno_(errnum) errno=(errnum) 117 #define MHD_set_socket_errno_(errnum) MHD_W32_set_last_winsock_error_((errnum)) [all...] |
H A D | w32functions.h | 160 * Return pointer to string description of errnum error 163 * @param errnum the errno or value from MHD_W32_errno_from_winsock_() 166 const char* MHD_W32_strerror_(int errnum); 176 * @param errnum the errno value to set 178 void MHD_W32_set_last_winsock_error_(int errnum);
|
/external/capstone/ |
H A D | cs.c | 198 return ud->errnum; 253 ud->errnum = CS_ERR_OK; 494 // handle->errnum = CS_ERR_HANDLE; 498 handle->errnum = CS_ERR_OK; 518 handle->errnum = CS_ERR_MEM; 630 handle->errnum = CS_ERR_MEM; 666 handle->errnum = CS_ERR_MEM; 707 handle->errnum = CS_ERR_MEM; 715 handle->errnum = CS_ERR_MEM; 740 handle->errnum [all...] |
/external/elfutils/libdwfl/ |
H A D | argp-std.c | 106 inline void failure (Dwfl *dwfl, int errnum, const char *msg) argument 110 if (errnum == -1) 114 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); 116 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg) argument 118 failure (dwfl, errnum, msg); 119 return errnum == -1 ? EIO : errnum;
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
H A D | compat.h | 54 #define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum)
|