/external/llvm/lib/Support/ |
Errno.cpp | 39 std::string StrError(int errnum) { 46 if (errnum) 50 str = strerror_r(errnum,buffer,MaxErrStrLen-1); 52 strerror_r(errnum,buffer,MaxErrStrLen-1); 56 if (errnum) { 57 strerror_s(buffer, MaxErrStrLen - 1, errnum); 64 if (errnum) 65 str = strerror(errnum); 70 stream << "Error #" << errnum; local
|
/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/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/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-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))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-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))
|
/external/grub/stage2/ |
disk_io.c | 148 while (byte_len > 0 && !errnum) 161 errnum = ERR_NO_DISK; 172 errnum = ERR_GEOM; 215 errnum = ERR_GEOM; 225 errnum = ERR_READ; 251 errnum = ERR_READ; 289 return (!errnum); 303 errnum = ERR_OUTSIDE_PART; 339 errnum = ERR_WRITE; 354 errnum = ERR_WRITE [all...] |
boot.c | 71 if (!errnum) 72 errnum = ERR_EXEC_FORMAT; 85 errnum = ERR_BOOT_FEATURES; 112 errnum = ERR_BELOW_1MB; 119 errnum = ERR_EXEC_FORMAT; 163 errnum = ERR_EXEC_FORMAT; 166 errnum = ERR_BELOW_1MB; 214 errnum = ERR_BELOW_1MB; 276 errnum = ERR_WONT_FIT; 280 errnum = ERR_WONT_FIT [all...] |
cmdline.c | 92 errnum = ERR_UNRECOGNIZED; 105 errnum = 0; 140 errnum = ERR_NONE; 158 errnum = ERR_UNRECOGNIZED; 198 if (errnum) 200 errnum = ERR_NONE; 245 errnum = ERR_UNRECOGNIZED;
|
builtins.c | 227 return errnum; 308 errnum = ERR_BOOT_COMMAND; 342 if (errnum == ERR_NONE) 343 errnum = ERR_DEV_VALUES; 436 if (errnum == ERR_NONE) 437 errnum = ERR_EXEC_FORMAT; 448 errnum = ERR_EXEC_FORMAT; 464 errnum = ERR_NONE; 502 errnum = ERR_BAD_ARGUMENT; 827 errnum = ERR_FILE_NOT_FOUND [all...] |
fsys_ffs.c | 130 errnum = ERR_FSYS_CORRUPT; 149 while (len && !errnum) 175 if (errnum) 206 errnum = ERR_BAD_FILETYPE; 224 errnum = ERR_BAD_FILETYPE; 246 errnum = ERR_FILE_NOT_FOUND; 260 errnum = ERR_FSYS_CORRUPT;
|
fsys_ufs2.c | 155 errnum = ERR_FSYS_CORRUPT; 174 while (len && !errnum) 200 if (errnum) 231 errnum = ERR_BAD_FILETYPE; 249 errnum = ERR_BAD_FILETYPE; 267 errnum = ERR_FILE_NOT_FOUND; 281 errnum = ERR_FSYS_CORRUPT;
|
/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 | 65 /// string and the Unix error number given by \p errnum. If errnum is -1, the 72 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 75 if (errnum == -1) 76 errnum = errno; 77 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
System.inc | 17 char *strerror(int errnum) 19 return std::strerror(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);
|
/libnativehelper/include/nativehelper/ |
JNIHelp.h | 74 int jniThrowIOException(C_JNIEnv* env, int errnum); 78 * value 'errnum'. The returned pointer may or may not be equal to 'buf'. 82 const char* jniStrError(int errnum, char* buf, size_t buflen); 149 inline int jniThrowIOException(JNIEnv* env, int errnum) { 150 return jniThrowIOException(&env->functions, errnum);
|
/external/elfutils/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);
|