Searched refs:errnum (Results 1 - 25 of 81) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/lib/Support/
H A DErrno.cpp38 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 DErrno.cpp37 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 DErrno.cpp37 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 DErrno.h28 /// 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 DUnix.h52 /// 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 DErrno.h28 /// 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 DErrno.h28 /// 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 Dstrerror.c7 char *strerror(int errnum) argument
12 unsigned int e = (unsigned int)errnum;
/external/libxml2/win32/wince/
H A Dwincecompat.c62 char *strerror(int errnum) argument
64 if (errnum>MAX_STRERROR)
67 return strError[errnum];
H A Dwincecompat.h40 char *strerror(int errnum);
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
H A DUnix.h71 /// 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 Dpth_atfork1.c32 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 Drtc.py42 except IOError as (errnum, strerror):
43 if errnum != errno.EBUSY:
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
H A DUnix.h57 /// 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 Dpth_cond_destroy_busy.c15 static const char* err_to_str(int errnum) argument
17 switch (errnum) {
/external/capstone/arch/X86/
H A DX86Module.c60 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 Dmake_ssl_data.py55 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 Dmake_ssl_data.py55 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 Derror_codes.cc32 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 Derror_codes.h37 int errnum);
/external/libmicrohttpd/src/include/
H A Dplatform_interface.h108 #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 Dw32functions.h160 * 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 Dcs.c198 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 Dargp-std.c106 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 Dcompat.h54 #define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum)

Completed in 709 milliseconds

1234