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

123

/external/llvm/lib/Support/
H A DErrno.cpp37 std::string StrError(int errnum) { argument
42 if (errnum == 0)
50 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
52 strerror_r(errnum, buffer, MaxErrStrLen - 1);
56 strerror_s(buffer, MaxErrStrLen - 1, errnum);
62 str = strerror(errnum);
67 stream << "Error #" << errnum;
/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.h63 /// string and the Unix error number given by \p errnum. If errnum is -1, the
70 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
73 if (errnum == -1)
74 errnum = errno;
75 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
/external/elfutils/0.153/bionic-fixup/
H A Derror.h26 error(int status, int errnum, const char *fmt, ...) argument
31 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
/external/bison/lib/
H A 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) argument
152 char const *msg = strerror_override (errnum);
165 ret = __xpg_strerror_r (errnum, buf, buflen);
173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen));
190 ret = strerror_r (errnum, stackbuf, sizeof stackbuf);
195 ret = strerror_r (errnum, buf, buflen);
198 ret = strerror_r (errnum, buf, buflen);
212 strerror_r (errnum, stackbuf, sizeof stackbuf);
232 if (strerror_r (errnum, stackbu
[all...]
H A Dstrerror-override.h51 extern const char *strerror_override (int errnum);
H A 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) argument
175 s = __strerror_r (errnum, errbuf, sizeof errbuf);
177 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
183 s = strerror (errnum);
199 error_tail (int status, int errnum, const char *message, va_list args) argument
272 if (errnum)
273 print_errno_message (errnum);
290 error (int status, int errnum, cons argument
333 error_at_line(int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) argument
[all...]
H A Dstrerror-override.c35 strerror_override (int errnum) argument
38 switch (errnum)
/external/valgrind/main/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/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dtarget.c107 int perf_target__strerror(struct perf_target *target, int errnum, argument
115 if (errnum >= 0) {
116 const char *err = strerror_r(errnum, buf, buflen);
127 if (errnum < __PERF_ERRNO_TARGET__START ||
128 errnum >= __PERF_ERRNO_TARGET__END)
131 idx = errnum - __PERF_ERRNO_TARGET__START;
134 switch (errnum) {
H A Dtarget.h47 int perf_target__strerror(struct perf_target *target, int errnum, char *buf,
/external/valgrind/main/drd/tests/
H A Dpth_cond_destroy_busy.c15 static const char* err_to_str(int errnum) argument
17 switch (errnum) {
/external/conscrypt/src/compat/native/
H A DJNIHelp.cpp126 int jniThrowIOException(C_JNIEnv* env, int errnum) { argument
128 const char* message = jniStrError(errnum, buffer, sizeof(buffer));
132 const char* jniStrError(int errnum, char* buf, size_t buflen) { argument
135 // char *strerror_r(int errnum, char *buf, size_t n);
136 return strerror_r(errnum, buf, buflen);
138 int rc = strerror_r(errnum, buf, buflen);
143 snprintf(buf, buflen, "errno %d", errnum);
H A DJNIHelp.h76 int jniThrowIOException(C_JNIEnv* env, int errnum);
80 * value 'errnum'. The returned pointer may or may not be equal to 'buf'.
84 const char* jniStrError(int errnum, char* buf, size_t buflen);
151 inline int jniThrowIOException(JNIEnv* env, int errnum) { argument
152 return jniThrowIOException(&env->functions, errnum);
/external/elfutils/0.153/host-darwin-fixup/
H A DAndroidFixup.h59 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...) argument
64 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
/external/elfutils/0.153/libdwfl/
H A Dargp-std.c117 inline void failure (Dwfl *dwfl, int errnum, const char *msg) argument
121 if (errnum == -1)
125 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg);
127 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg) argument
129 failure (dwfl, errnum, msg);
130 return errnum == -1 ? EIO : errnum;
/external/jemalloc/include/jemalloc/internal/
H A Dutil.h116 void set_errno(int errnum);
213 set_errno(int errnum) argument
217 SetLastError(errnum);
219 errno = errnum;
/external/freetype/src/gzip/
H A Dzutil.h150 # define zstrerror(errnum) strerror(errnum)
152 # define zstrerror(errnum) ""
/external/zlib/src/contrib/iostream2/
H A Dzstream.h92 * given compressed file. errnum is set to zlib error number. If an
94 * errnum is set to Z_ERRNO and the application may consult errno
97 const char* error(int* errnum) { argument
98 return ::gzerror(m_fp, errnum);
225 * given compressed file. errnum is set to zlib error number. If an
227 * errnum is set to Z_ERRNO and the application may consult errno
230 const char* error(int* errnum) { argument
231 return ::gzerror(m_fp, errnum);
/external/compiler-rt/lib/profile/
H A DGCDAProfiling.c238 int errnum = errno; local
240 strerror(errnum));
248 int errnum = errno; local
250 strerror(errnum));
289 int errnum = errno; local
291 strerror(errnum));
/external/chromium_org/media/audio/alsa/
H A Dalsa_wrapper.cc100 const char* AlsaWrapper::StrError(int errnum) { argument
101 return snd_strerror(errnum);
H A Dalsa_wrapper.h74 virtual const char* StrError(int errnum);
/external/chromium_org/third_party/zlib/
H A Dgzlib.c443 const char * ZEXPORT gzerror(file, errnum)
445 int *errnum;
457 if (errnum != NULL)
458 *errnum = state->err;
/external/qemu/distrib/zlib-1.2.8/
H A Dgzlib.c528 const char * ZEXPORT gzerror(file, errnum)
530 int *errnum;
542 if (errnum != NULL)
543 *errnum = state->err;
/external/valgrind/main/coregrind/
H A Dpub_core_syscall.h98 extern const HChar* VG_(strerror) ( UWord errnum );

Completed in 845 milliseconds

123