/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | strerror_r_test.cc | 11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
|
/external/lldb/source/Utility/ |
H A D | PseudoTerminal.cpp | 96 ::strerror_r (errno, error_str, error_len); 104 ::strerror_r (errno, error_str, error_len); 113 ::strerror_r (errno, error_str, error_len); 151 ::strerror_r (errno, error_str, error_len); 186 ::strerror_r (errno, error_str, error_len); 229 ::strerror_r (errno, error_str, error_len); 247 ::strerror_r (errno, error_str, error_len); 254 ::strerror_r (errno, error_str, error_len); 260 ::strerror_r (errno, error_str, error_len); 266 ::strerror_r (errn [all...] |
/external/compiler-rt/test/msan/ |
H A D | strerror_r-non-gnu.c | 3 // strerror_r under a weird set of circumstances can be redirected to 14 int res = strerror_r(EINVAL, buf, sizeof(buf));
|
/external/llvm/lib/Support/ |
H A D | Errno.cpp | 46 // strerror_r is thread-safe. 48 // glibc defines its own incompatible version of strerror_r 50 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); 52 strerror_r(errnum, buffer, MaxErrStrLen - 1);
|
/external/bison/lib/ |
H A D | perror.c | 41 ret = strerror_r (errno, stackbuf, sizeof stackbuf);
|
H A D | strerror_r.c | 0 /* strerror_r.c --- POSIX compatible system error routine 41 /* The system's strerror_r function is OK, except that its third argument 51 system strerror_r has the wrong return type, and cygwin 1.7.9 52 strerror_r clobbers strerror. */ 137 strerror_r (int errnum, char *buf, size_t buflen) function 138 #undef strerror_r macro 171 back to GNU strerror_r which always returns a thread-safe 173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen)); 183 /* On HP-UX 11.31, strerror_r always fails when buflen < 80; it 190 ret = strerror_r (errnu [all...] |
H A D | error.c | 107 char *strerror_r (); 109 int strerror_r (); 117 # if HAVE_STRERROR_R || defined strerror_r 118 # define __strerror_r strerror_r 119 # endif /* HAVE_STRERROR_R || defined strerror_r */
|
H A D | string.in.h | 963 # undef strerror_r macro 964 # define strerror_r rpl_strerror_r macro 966 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) 968 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); 971 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) 974 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); 977 _GL_CXXALIASWARN (strerror_r); variable 980 # undef strerror_r macro 982 _GL_WARN_ON_USE (strerror_r, "strerror_r i [all...] |
H A D | gnulib.mk | 2090 ## begin gnulib module strerror_r-posix 2093 EXTRA_DIST += strerror_r.c 2095 EXTRA_libbison_a_SOURCES += strerror_r.c 2097 ## end gnulib module strerror_r-posix
|
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_error.c | 171 strerror_r (error & 0xffff, "bad", 0); 174 return strerror_r (error & 0xffff, "bad", 0);
|
/external/chromium_org/base/ |
H A D | safe_strerror_posix.cc | 6 // Post-L versions of bionic define the GNU-specific strerror_r if _GNU_SOURCE 32 // glibc has two strerror_r functions: a historical GNU-specific one that 53 // Wrapper for strerror_r functions that implement the POSIX interface. POSIX 56 // it will only be used on Linux if the POSIX strerror_r implementation is 89 // Either the error from strerror_r was the same as the previous value, or 108 // appropriate overloaded function based on the function type of strerror_r. 111 wrap_posix_strerror_r(&strerror_r, err, buf, len);
|
/external/conscrypt/src/compat/native/ |
H A D | JNIHelp.cpp | 134 // Note: glibc has a nonstandard strerror_r that returns char* rather than POSIX's int. 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); 142 // type of strerror_r to accurately distinguish GNU from POSIX.)
|
/external/stressapptest/src/ |
H A D | sattypes.h | 180 return string(strerror_r(error_num, buf, sizeof buf)); 182 if (strerror_r(error_num, buf, sizeof buf))
|
/external/chromium_org/net/tools/epoll_server/ |
H A D | epoll_server.cc | 9 #include <errno.h> // for errno and strerror_r 55 // The size we use for buffers passed to strerror_r 105 << " in pipe(): " << strerror_r(saved_errno, buf, sizeof(buf)); 235 << strerror_r(saved_errno, buf, sizeof(buf)); 246 << strerror_r(saved_errno, buf, sizeof(buf)); 565 << strerror_r(saved_errno, buf, sizeof(buf)); 583 << strerror_r(saved_errno, buf, sizeof(buf)); 603 << strerror_r(saved_errno, buf, sizeof(buf)); 681 << strerror_r(saved_errno, buf, sizeof(buf));
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | target.c | 116 const char *err = strerror_r(errnum, buf, buflen);
|
/external/bison/darwin-lib/ |
H A D | string.h | 1275 # undef strerror_r macro 1276 # define strerror_r rpl_strerror_r macro 1278 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) 1280 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); 1283 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) 1286 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); 1289 _GL_CXXALIASWARN (strerror_r); variable 1292 # undef strerror_r macro 1294 _GL_WARN_ON_USE (strerror_r, "strerror_r i [all...] |
/external/bison/linux-lib/ |
H A D | string.h | 1275 # undef strerror_r macro 1276 # define strerror_r rpl_strerror_r macro 1278 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) 1280 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); 1283 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) 1286 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); 1289 _GL_CXXALIASWARN (strerror_r); variable 1292 # undef strerror_r macro 1294 _GL_WARN_ON_USE (strerror_r, "strerror_r i [all...] |
/external/bison/ |
H A D | Android.mk | 85 lib/strerror_r.c \
|
/external/jemalloc/src/ |
H A D | util.c | 76 * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so 88 char *b = strerror_r(err, buf, buflen); 95 return (strerror_r(err, buf, buflen));
|
/external/stressapptest/ |
H A D | configure | 5793 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 5804 for ac_func in strerror_r 5806 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 5816 $as_echo_n "checking whether strerror_r returns char *... " >&6; } 5831 char x = *strerror_r (0, buf, sizeof buf); 5832 char *p = strerror_r (0, buf, sizeof buf); 5844 # strerror_r is not declared. Choose between 5847 # former has a strerror_r that returns char*, while the latter 5848 # has a strerror_r tha [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
H A D | threadtest3.c | 457 strerror_r(iSys, pErr->zErr, 512);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-trace.c | 793 const char *emsg = strerror_r(-ret, bf, sizeof(bf)),
|
/external/lldb/tools/debugserver/source/ |
H A D | DNB.cpp | 213 ::strerror_r (errno, stat_error, sizeof(stat_error));
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2557 INTERCEPTOR(char *, strerror_r, int errnum, char *buf, SIZE_T buflen) { 2559 COMMON_INTERCEPTOR_ENTER(ctx, strerror_r, errnum, buf, buflen); 2563 char *res = REAL(strerror_r)(errnum, buf, buflen); 2564 // There are 2 versions of strerror_r: 2582 #define INIT_STRERROR_R COMMON_INTERCEPT_FUNCTION(strerror_r);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | hists.c | 1179 const char *err = strerror_r(errno, bf, sizeof(bf));
|