/external/bison/lib/ |
strerror_r.c | 37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen); 137 strerror_r (int errnum, char *buf, size_t buflen) 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, stackbuf, sizeof stackbuf) == ERANGE [all...] |
strerror-override.h | 29 /* If ERRNUM maps to an errno value defined by gnulib, return a string 51 extern const char *strerror_override (int errnum);
|
error.c | 70 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) 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) 272 if (errnum) 273 print_errno_message (errnum); 287 If ERRNUM is nonzero, print its corresponding system error message [all...] |
error.h | 39 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
|
/external/valgrind/main/none/tests/ |
pth_atfork1.c | 32 static void error (int status, int errnum, char* msg) 36 errnum ? ": " : "", 37 errnum ? strerror(errnum) : ""); 38 if (errnum) 39 exit(errnum);
|
/external/elfutils/0.153/bionic-fixup/ |
error.h | 26 error(int status, int errnum, const char *fmt, ...) 31 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
assert.h | 54 /* void assert_perror (int errnum); 56 If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an 57 error message with the error text for ERRNUM and abort. 61 # define assert_perror(errnum) (__ASSERT_VOID_CAST (0)) 75 /* Likewise, but prints the error text for ERRNUM. */ 97 # define assert_perror(errnum) \ 98 (!(errnum) \ 100 : __assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION))
|
error.h | 29 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
assert.h | 54 /* void assert_perror (int errnum); 56 If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an 57 error message with the error text for ERRNUM and abort. 61 # define assert_perror(errnum) (__ASSERT_VOID_CAST (0)) 75 /* Likewise, but prints the error text for ERRNUM. */ 97 # define assert_perror(errnum) \ 98 (!(errnum) \ 100 : __assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION))
|
error.h | 29 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
|
/external/conscrypt/src/compat/native/ |
JNIHelp.cpp | 126 int jniThrowIOException(C_JNIEnv* env, int errnum) { 128 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); 132 const char* jniStrError(int errnum, char* buf, size_t buflen) { 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);
|
JNIHelp.h | 76 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) { 152 return jniThrowIOException(&env->functions, errnum);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
target.c | 107 int perf_target__strerror(struct perf_target *target, int errnum, 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) {
|
/external/llvm/lib/Support/ |
Errno.cpp | 37 std::string StrError(int errnum) { 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;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
error.c | 70 extern void __error (int status, int errnum, const char *message, ...) 72 extern void __error_at_line (int status, int errnum, const char *file_name, 105 print_errno_message (int errnum) 112 s = __strerror_r (errnum, errbuf, sizeof errbuf); 114 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) 120 s = strerror (errnum); 136 error_tail (int status, int errnum, const char *message, va_list args) 209 if (errnum) 210 print_errno_message (errnum); 224 If ERRNUM is nonzero, print its corresponding system error message [all...] |
error.h | 39 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
|
/external/llvm/lib/Support/Unix/ |
Unix.h | 63 /// 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/valgrind/main/drd/tests/ |
pth_cond_destroy_busy.c | 15 static const char* err_to_str(int errnum) 17 switch (errnum) {
|
/external/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
System.inc | 20 char* strerror(int errnum) 22 return std::strerror(errnum);
|
/libnativehelper/include/nativehelper/ |
JNIHelp.h | 76 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) { 152 return jniThrowIOException(&env->functions, errnum);
|
/external/elfutils/0.153/host-darwin-fixup/ |
AndroidFixup.h | 59 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...) 64 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
|
/external/zlib/src/contrib/iostream2/ |
zstream.h | 92 * 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) { 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) { 231 return ::gzerror(m_fp, errnum);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
System.inc | 23 char *strerror(int errnum) 25 return std::strerror(errnum);
|
/external/jemalloc/include/jemalloc/internal/ |
util.h | 116 void set_errno(int errnum); 213 set_errno(int errnum) 217 SetLastError(errnum); 219 errno = errnum;
|