Home
last modified time | relevance | path

Searched refs:strerror_r (Results 1 – 25 of 59) sorted by relevance

123

/external/bison/m4/
Dstrerror_r.m41 # strerror_r.m4 serial 15
12 dnl Persuade Solaris <string.h> to declare strerror_r().
15 dnl Some systems don't declare strerror_r() if _THREAD_SAFE and _REENTRANT
17 AC_CHECK_DECLS_ONCE([strerror_r])
26 dnl The system's strerror_r has bugs. Replace it.
30 dnl The system's strerror_r() has a wrong signature. Replace it.
34 dnl The system's strerror_r() cannot know about the new errno values we
41 # Prerequisites of lib/strerror_r.c.
49 # Detect if strerror_r works, but without affecting whether a replacement
50 # strerror_r will be used.
[all …]
Dperror.m414 dnl since on glibc systems, strerror_r is replaced only for signature
16 dnl replace perror if strerror_r was replaced for a content fix.
59 dnl system's strerror_r(). Replace it.
Dstrerror.m443 dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's
/external/bison/lib/
Dstrerror_r.c137 strerror_r (int errnum, char *buf, size_t buflen) in strerror_r() function
138 #undef strerror_r in strerror_r()
173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen)); in strerror_r()
190 ret = strerror_r (errnum, stackbuf, sizeof stackbuf); in strerror_r()
195 ret = strerror_r (errnum, buf, buflen); in strerror_r()
198 ret = strerror_r (errnum, buf, buflen); in strerror_r()
212 strerror_r (errnum, stackbuf, sizeof stackbuf); in strerror_r()
232 if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE) in strerror_r()
Dstring.in.h963 # undef strerror_r
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);
980 # undef strerror_r
982 _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - "
Derror.c107 char *strerror_r ();
109 int strerror_r ();
117 # if HAVE_STRERROR_R || defined strerror_r
118 # define __strerror_r strerror_r
Dperror.c41 ret = strerror_r (errno, stackbuf, sizeof stackbuf); in perror()
/external/valgrind/none/tests/
Dthreadederrno.c14 strerror_r(errno, errstr, sizeof(errstr)); in thr2()
23 strerror_r(errno, errstr, sizeof(errstr)); in thr3()
37 strerror_r(errno, errstr, sizeof(errstr)); in main()
/external/llvm/lib/Support/
DErrno.cpp52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
54 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
/external/bison/darwin-lib/
Dstring.h1275 # undef strerror_r
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);
1292 # undef strerror_r
1294 _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - "
/external/bison/linux-lib/
Dstring.h1275 # undef strerror_r
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);
1292 # undef strerror_r
1294 _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - "
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Derror_code.ipp48 strerror_r(value, buf, sizeof(buf));
52 return strerror_r(value, buf, sizeof(buf));
/external/conscrypt/src/openjdk/native/
DJNIHelp.cpp135 return strerror_r(errnum, buf, buflen); in jniStrError()
137 int rc = strerror_r(errnum, buf, buflen); in jniStrError()
/external/conscrypt/src/compat/native/
DJNIHelp.cpp136 return strerror_r(errnum, buf, buflen); in jniStrError()
138 int rc = strerror_r(errnum, buf, buflen); in jniStrError()
/external/compiler-rt/test/asan/TestCases/Posix/
Dstrerror_r_test.cc11 char *res = (char *)strerror_r(300, buf, sizeof(buf)); in main()
/external/compiler-rt/test/msan/
Dstrerror_r-non-gnu.c14 int res = strerror_r(EINVAL, buf, sizeof(buf)); in main()
/external/curl/CMake/
DCurlTests.c514 strerror_r(EACCES, buffer, sizeof(buffer)); in main()
528 strerror_r(EACCES, buffer, sizeof(buffer)); in main()
/external/curl/lib/
Dstrerror.c666 if(0 != strerror_r(err, buf, max)) { in Curl_strerror()
678 char *msg = strerror_r(err, buffer, sizeof(buffer)); in Curl_strerror()
691 if(OK == strerror_r(err, buffer)) in Curl_strerror()
/external/libchrome/base/posix/
Dsafe_strerror.cc114 wrap_posix_strerror_r(&strerror_r, err, buf, len); in safe_strerror_r()
/external/elfutils/libdwfl/
Ddwfl_error.c157 return strerror_r (error & 0xffff, "bad", 0); in dwfl_errmsg()
/external/curl/m4/
Dcurl-reentrant.m4154 dnl makes function strerror_r compiler visible.
158 AC_LANG_FUNC_LINK_TRY([strerror_r])
165 AC_EGREP_CPP([strerror_r],[
171 AC_EGREP_CPP([strerror_r],[
Dcurl-functions.m46042 dnl Verify if strerror_r is available, prototyped, can be compiled and
6048 dnl glibc-style strerror_r:
6050 dnl char *strerror_r(int errnum, char *workbuf, size_t bufsize);
6052 dnl glibc-style strerror_r returns a pointer to the the error string,
6056 dnl POSIX-style strerror_r:
6058 dnl int strerror_r(int errnum, char *resultbuf, size_t bufsize);
6060 dnl POSIX-style strerror_r returns 0 upon successful completion and the
6079 AC_MSG_CHECKING([if strerror_r can be linked])
6081 AC_LANG_FUNC_LINK_TRY([strerror_r])
6091 AC_MSG_CHECKING([if strerror_r is prototyped])
[all …]
/external/jemalloc/src/
Dutil.c96 char *b = strerror_r(err, buf, buflen); in buferror()
103 return (strerror_r(err, buf, buflen)); in buferror()
/external/ImageMagick/MagickCore/
Dexception.c482 (void) strerror_r(error,exception,sizeof(exception)); in GetExceptionMessage()
484 (void) CopyMagickString(exception,strerror_r(error,exception, in GetExceptionMessage()
/external/bison/
DAndroid.mk85 lib/strerror_r.c \

123