/toolchain/binutils/binutils-2.25/libiberty/ |
xstrerror.c | 7 @deftypefn Replacement char* xstrerror (int @var{errnum}) 54 xstrerror (int errnum) 65 We assume that `errnum' corresponds to the last value assigned to 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); 69 errstr = strerror (errnum); 72 /* If `errnum' is out of range, result might be NULL. We'll fix that. */ 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum);
|
/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...] |
/external/valgrind/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);
|
/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))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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))
|
/external/libxml2/win32/wince/ |
wincecompat.c | 62 char *strerror(int errnum) 64 if (errnum>MAX_STRERROR) 67 return strError[errnum];
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
error.h | 77 * Put a description of the AVERROR code errnum in errbuf. 80 * error message indicating the errnum provided to errbuf. 82 * @param errnum error code to describe 85 * @return 0 on success, a negative value if a description for errnum 88 int av_strerror(int errnum, char *errbuf, size_t errbuf_size); 92 * corresponding to the AVERROR code errnum. 96 * @param errnum error code to describe 100 static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) 102 av_strerror(errnum, errbuf, errbuf_size); 110 #define av_err2str(errnum) \ [all...] |
/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/conscrypt/src/openjdk/native/ |
JNIHelp.cpp | 125 int jniThrowIOException(JNIEnv* env, int errnum) { 127 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); 131 const char* jniStrError(int errnum, char* buf, size_t buflen) { 134 // char *strerror_r(int errnum, char *buf, size_t n); 135 return strerror_r(errnum, buf, buflen); 137 int rc = strerror_r(errnum, buf, buflen); 142 snprintf(buf, buflen, "errno %d", errnum);
|
/external/llvm/lib/Support/ |
Errno.cpp | 37 std::string StrError(int errnum) { 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/lib/Support/Unix/ |
Unix.h | 52 /// 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/autotest/client/cros/ |
rtc.py | 42 except IOError as (errnum, strerror): 43 if errnum != errno.EBUSY:
|
/external/valgrind/drd/tests/ |
pth_cond_destroy_busy.c | 15 static const char* err_to_str(int errnum) 17 switch (errnum) {
|
/external/libbrillo/brillo/errors/ |
error_codes.cc | 32 int errnum; member in struct:brillo::errors::system::__anon15627::ErrorMapEntry 188 // by increasing errnum values which is the same order used in the header 195 std::string ErrorCodeFromSystemError(int errnum) { 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); [all...] |
error_codes.h | 37 int errnum);
|
/frameworks/native/services/surfaceflinger/ |
GpuService.cpp | 151 int errnum; local 154 errnum = errno; 155 ALOGE("vkjson: failed to create output stream: %s", strerror(errnum)); 156 return -errnum; 160 errnum = errno; 161 ALOGE("vkjson: failed to create error stream: %s", strerror(errnum)); 163 return -errnum;
|
/system/extras/multinetwork/ |
httpurl.cpp | 155 int errnum = errno; local 157 << " errno: " << errnum << " [" << strerror(errnum) << "]" 174 int errnum = errno; local 175 std::cerr << "Failed to connect; errno=" << errnum 176 << " [" << strerror(errnum) << "]" 225 int errnum = errno; local 227 << " errno: " << errnum << " [" << 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);
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
System.inc | 21 char* strerror(int errnum) { 22 return std::strerror(errnum);
|
/external/libmicrohttpd/src/include/ |
platform_interface.h | 108 #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...] |
w32functions.h | 160 * 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);
|
/cts/tests/tests/net/jni/ |
NativeMultinetworkJni.c | 194 int i, errnum = 0; local 199 errnum = errno; 200 ALOGD("send(QUIC packet) returned sent=%zd, errno=%d", sent, errnum); 202 return -errnum; 209 errnum = errno; 211 i + 1, MAX_RETRIES, rcvd, errnum); 215 ALOGD("QUIC UDP %s: sent=%zd but rcvd=%zd, errno=%d", kPort, sent, rcvd, errnum);
|