Home
last modified time | relevance | path

Searched refs:errnum (Results 1 – 25 of 79) sorted by relevance

1234

/external/bison/lib/
Dstrerror_r.c37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
137 strerror_r (int errnum, char *buf, size_t buflen) in strerror_r() argument
152 char const *msg = strerror_override (errnum); in strerror_r()
165 ret = __xpg_strerror_r (errnum, buf, buflen); in strerror_r()
173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen)); in strerror_r()
190 ret = strerror_r (errnum, stackbuf, sizeof stackbuf); in strerror_r()
195 ret = strerror_r (errnum, buf, buflen); in strerror_r()
198 ret = strerror_r (errnum, buf, buflen); in strerror_r()
212 strerror_r (errnum, stackbuf, sizeof stackbuf); in strerror_r()
232 if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE) in strerror_r()
[all …]
Derror.c70 extern void __error (int status, int errnum, const char *message, ...)
72 extern void __error_at_line (int status, int errnum, const char *file_name,
168 print_errno_message (int errnum) in print_errno_message() argument
175 s = __strerror_r (errnum, errbuf, sizeof errbuf); in print_errno_message()
177 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) in print_errno_message()
183 s = strerror (errnum); in print_errno_message()
199 error_tail (int status, int errnum, const char *message, va_list args) in error_tail() argument
272 if (errnum) in error_tail()
273 print_errno_message (errnum); in error_tail()
290 error (int status, int errnum, const char *message, ...) in error() argument
[all …]
Dstrerror-override.c35 strerror_override (int errnum) in strerror_override() argument
38 switch (errnum) in strerror_override()
/external/llvm/lib/Support/
DErrno.cpp37 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/valgrind/none/tests/
Dpth_atfork1.c32 static void error (int status, int errnum, char* msg) in error() argument
36 errnum ? ": " : "", in error()
37 errnum ? strerror(errnum) : ""); in error()
38 if (errnum) in error()
39 exit(errnum); in error()
/external/libbrillo/brillo/errors/
Derror_codes.cc32 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/opencv3/3rdparty/include/ffmpeg_/libavutil/
Derror.h88 int av_strerror(int errnum, char *errbuf, size_t errbuf_size);
100 static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) in av_make_error_string() argument
102 av_strerror(errnum, errbuf, errbuf_size); in av_make_error_string()
110 #define av_err2str(errnum) \ argument
111 av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)
/external/llvm/lib/Support/Unix/
DUnix.h59 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/libmicrohttpd/src/include/
Dplatform_interface.h108 #define MHD_strerror_(errnum) strerror((errnum)) argument
110 #define MHD_strerror_(errnum) MHD_W32_strerror_((errnum)) argument
115 #define MHD_set_socket_errno_(errnum) errno=(errnum) argument
117 #define MHD_set_socket_errno_(errnum) MHD_W32_set_last_winsock_error_((errnum)) argument
Dw32functions.h166 const char* MHD_W32_strerror_(int errnum);
178 void MHD_W32_set_last_winsock_error_(int errnum);
/external/conscrypt/src/openjdk/native/
DJNIHelp.cpp125 int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
127 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException()
131 const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument
135 return strerror_r(errnum, buf, buflen); in jniStrError()
137 int rc = strerror_r(errnum, buf, buflen); in jniStrError()
142 snprintf(buf, buflen, "errno %d", errnum); in jniStrError()
DJNIHelp.h76 int jniThrowIOException(JNIEnv* env, int errnum);
84 const char* jniStrError(int errnum, char* buf, size_t buflen);
/external/conscrypt/src/compat/native/
DJNIHelp.cpp126 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() argument
128 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException()
132 const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument
136 return strerror_r(errnum, buf, buflen); in jniStrError()
138 int rc = strerror_r(errnum, buf, buflen); in jniStrError()
143 snprintf(buf, buflen, "errno %d", errnum); in jniStrError()
DJNIHelp.h76 int jniThrowIOException(C_JNIEnv* env, int errnum);
84 const char* jniStrError(int errnum, char* buf, size_t buflen);
151 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
152 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
/external/libxml2/win32/wince/
Dwincecompat.c62 char *strerror(int errnum) in strerror() argument
64 if (errnum>MAX_STRERROR) in strerror()
67 return strError[errnum]; in strerror()
/external/elfutils/libdwfl/
Dargp-std.c106 inline void failure (Dwfl *dwfl, int errnum, const char *msg) in parse_opt()
110 if (errnum == -1) in parse_opt()
114 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); in parse_opt()
116 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg) in parse_opt()
118 failure (dwfl, errnum, msg); in parse_opt()
119 return errnum == -1 ? EIO : errnum; in parse_opt()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c217 int errnum = errno; in map_file() local
219 strerror(errnum)); in map_file()
227 int errnum = errno; in unmap_file() local
229 strerror(errnum)); in unmap_file()
268 int errnum = errno; in llvm_gcda_start_file() local
270 strerror(errnum)); in llvm_gcda_start_file()
/external/autotest/client/cros/
Drtc.py42 except IOError as (errnum, strerror):
43 if errnum != errno.EBUSY:
/external/jemalloc/include/jemalloc/internal/
Dutil.h134 void set_errno(int errnum);
320 set_errno(int errnum) in set_errno() argument
324 SetLastError(errnum); in set_errno()
326 errno = errnum; in set_errno()
/external/valgrind/drd/tests/
Dpth_cond_destroy_busy.c15 static const char* err_to_str(int errnum) in err_to_str() argument
17 switch (errnum) { in err_to_str()
/external/zlib/src/contrib/iostream2/
Dzstream.h97 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()
/external/libmicrohttpd/src/platform/
Dw32functions.c108 const char* MHD_W32_strerror_(int errnum) in MHD_W32_strerror_() argument
110 switch(errnum) in MHD_W32_strerror_()
187 return strerror(errnum); in MHD_W32_strerror_()
398 void MHD_W32_set_last_winsock_error_(int errnum) in MHD_W32_set_last_winsock_error_() argument
400 switch (errnum) in MHD_W32_set_last_winsock_error_()
/external/freetype/src/gzip/
Dzutil.h150 # define zstrerror(errnum) strerror(errnum) argument
152 # define zstrerror(errnum) "" argument
/external/mksh/src/
Dshf.c1073 cstrerror(int errnum) in cstrerror() argument
1076 return (strerror(errnum)); in cstrerror()
1089 cstrerror(int errnum) in cstrerror() argument
1095 if (errnum > 0 && errnum < sys_nerr && sys_errlist[errnum]) in cstrerror()
1096 return (sys_errlist[errnum]); in cstrerror()
1099 switch (errnum) { in cstrerror()
1138 "Unknown error: %d", errnum); in cstrerror()
/external/dbus/dbus/
Ddbus-spawn.c211 int errnum; /**< Error number */ member
407 sitter->errnum = 0; in read_data()
415 sitter->errnum = arg; in read_data()
416 _dbus_verbose ("recorded fork errnum %d\n", sitter->errnum); in read_data()
421 sitter->errnum = arg; in read_data()
422 _dbus_verbose ("recorded exec errnum %d\n", sitter->errnum); in read_data()
701 sitter->executable, _dbus_strerror (sitter->errnum)); in _dbus_babysitter_set_child_exit_error()
707 sitter->executable, _dbus_strerror (sitter->errnum)); in _dbus_babysitter_set_child_exit_error()

1234