/third_party/ltp/testcases/kernel/sched/nptl/ |
H A D | nptl01.c | 78 strerror_r(ret, buf, buf_len)); in call_mutex_init() 88 strerror_r(ret, buf, buf_len)); in call_mutex_lock() 98 strerror_r(ret, buf, buf_len)); in call_mutex_unlock() 108 strerror_r(ret, buf, buf_len)); in call_cond_init() 119 strerror_r(ret, buf, buf_len)); in call_cond_wait() 129 strerror_r(ret, buf, buf_len)); in call_cond_signal() 142 strerror_r(errno, buf, buf_len)); in do_timedwait() 193 strerror_r(ret, buf, buf_len)); in create_child_thread() 199 strerror_r(ret, buf, buf_len)); in create_child_thread() 203 strerror_r(re in create_child_thread() [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_errno.cpp | 101 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_noerror() 110 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_enoent() 119 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_enomem() 128 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_eacces() 137 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_eexist() 146 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_einval() 155 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_erofs() 164 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_etimeout()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | strerror_r.c | 25 * @tc.desc : Verify strerror_r process success 31 int32_t ret = strerror_r(EDOM, src, BUFSIZE); in strerror_r_0100() 37 * @tc.desc : Verify strerror_r process success when thrid param is 0 43 int32_t ret = strerror_r(EDOM, src, 0); in strerror_r_0200() 49 * @tc.desc : Verify strerror_r process success when thrid param is 1 55 int32_t ret = strerror_r(EDOM, src, invalidParam); in strerror_r_0300()
|
/third_party/musl/src/string/ |
H A D | strerror_r.c | 4 int strerror_r(int err, char *buf, size_t buflen) in strerror_r() function 19 weak_alias(strerror_r, __xpg_strerror_r);
|
/third_party/musl/porting/liteos_a/kernel/src/string/ |
H A D | strerror_r.c | 4 int strerror_r(int err, char *buf, size_t buflen) in strerror_r() function 19 weak_alias(strerror_r, __xpg_strerror_r);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Errno.cpp | 48 // strerror_r is thread-safe.
in StrError() 50 // glibc defines its own incompatible version of strerror_r
in StrError() 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
in StrError() 54 strerror_r(errnum, buffer, MaxErrStrLen - 1);
in StrError()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Errno.cpp | 47 // strerror_r is thread-safe. in StrError() 49 // glibc defines its own incompatible version of strerror_r in StrError() 51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 53 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-error.c | 53 original = strerror_r(errnum, errbuf, sizeof(errbuf)); in pa_cstrerror() 55 if (strerror_r(errnum, errbuf, sizeof(errbuf)) == 0) { in pa_cstrerror()
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_error.c | 142 /* Won't be changed by strerror_r, but not const so compiler doesn't throw warning */ in errnomsg() 146 return strerror_r (error, unknown, 0); in errnomsg() 148 /* To store the error message from strerror_r in a thread-safe manner */ in errnomsg() 150 return strerror_r (error, msg, sizeof (msg)) ? unknown : msg; in errnomsg()
|
/third_party/nghttp2/src/ |
H A D | xsi_strerror.c | 27 /* Make sure that we get XSI-compliant version of strerror_r */ 41 rv = strerror_r(errnum, buf, buflen); in xsi_strerror()
|
/third_party/libbpf/src/ |
H A D | str_error.c | 12 * libc, while checking strerror_r() return to avoid having to check this in 17 int ret = strerror_r(err < 0 ? -err : err, dst, len); in libbpf_strerror_r() 19 snprintf(dst, len, "ERROR: strerror_r(%d)=%d", err, ret); in libbpf_strerror_r()
|
H A D | libbpf_errno.c | 50 ret = strerror_r(err, buf, size); in libbpf_strerror()
|
/third_party/curl/CMake/ |
H A D | CurlTests.c | 330 /* This will not compile if strerror_r does not return a char* */ in main() 331 check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); in main() 346 /* This will not compile if strerror_r does not return an int */ in main() 347 check(strerror_r(EACCES, buffer, sizeof(buffer))); in main()
|
/third_party/gn/src/base/posix/ |
H A D | safe_strerror.cc | 6 // Post-L versions of bionic define the GNU-specific strerror_r if _GNU_SOURCE 39 // glibc has two strerror_r functions: a historical GNU-specific one that 60 // Wrapper for strerror_r functions that implement the POSIX interface. POSIX 63 // it will only be used on Linux if the POSIX strerror_r implementation is 97 // Either the error from strerror_r was the same as the previous value, or in wrap_posix_strerror_r() 113 // appropriate overloaded function based on the function type of strerror_r. in safe_strerror_r() 116 wrap_posix_strerror_r(&strerror_r, err, buf, len); in safe_strerror_r()
|
/third_party/musl/libc-test/src/api/ |
H A D | string.c | 37 {int(*p)(int,char*,size_t) = strerror_r;} in f()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | strerror.cc | 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 43 // XSI `strerror_r`; `ret` is `int`: in StrErrorAdaptor() 47 // GNU `strerror_r`; `ret` is `char *`: in StrErrorAdaptor()
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | string.h | 64 int strerror_r (int, char *, size_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | string.h | 66 int strerror_r (int, char *, size_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | string.h | 64 int strerror_r (int, char *, size_t);
|
/third_party/musl/include/ |
H A D | string.h | 66 int strerror_r (int, char *, size_t);
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | o_str.c | 305 * GNU strerror_r may not actually set buf. in openssl_strerror_r() 309 err = strerror_r(errnum, buf, buflen); in openssl_strerror_r() 325 * We can use "real" strerror_r. The OpenSSL version differs in that it in openssl_strerror_r() 327 * functions. Real strerror_r does it the other way around in openssl_strerror_r() 329 return !strerror_r(errnum, buf, buflen); in openssl_strerror_r()
|
/third_party/openssl/crypto/ |
H A D | o_str.c | 307 * GNU strerror_r may not actually set buf. in openssl_strerror_r() 311 err = strerror_r(errnum, buf, buflen); in openssl_strerror_r() 327 * We can use "real" strerror_r. The OpenSSL version differs in that it in openssl_strerror_r() 329 * functions. Real strerror_r does it the other way around in openssl_strerror_r() 331 return !strerror_r(errnum, buf, buflen); in openssl_strerror_r()
|
/third_party/ffmpeg/libavutil/ |
H A D | error.c | 20 #define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */ 123 ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); in av_strerror()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | string.h | 64 int strerror_r (int, char *, size_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | string.h | 66 int strerror_r (int, char *, size_t);
|