Home
last modified time | relevance | path

Searched refs:strerror_r (Results 1 - 25 of 43) sorted by relevance

12

/third_party/ltp/testcases/kernel/sched/nptl/
H A Dnptl01.c78 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 Dlibc_errno.cpp101 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 Dstrerror_r.c25 * @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 Dstrerror_r.c4 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 Dstrerror_r.c4 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 DErrno.cpp48 // 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 DErrno.cpp47 // 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 Dcore-error.c53 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 Ddwfl_error.c142 /* 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 Dxsi_strerror.c27 /* 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 Dstr_error.c12 * 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 Dlibbpf_errno.c50 ret = strerror_r(err, buf, size); in libbpf_strerror()
/third_party/curl/CMake/
H A DCurlTests.c330 /* 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 Dsafe_strerror.cc6 // 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 Dstring.c37 {int(*p)(int,char*,size_t) = strerror_r;} in f()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dstrerror.cc41 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 Dstring.h64 int strerror_r (int, char *, size_t);
/third_party/musl/porting/linux/user/include/
H A Dstring.h66 int strerror_r (int, char *, size_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstring.h64 int strerror_r (int, char *, size_t);
/third_party/musl/include/
H A Dstring.h66 int strerror_r (int, char *, size_t);
/third_party/node/deps/openssl/openssl/crypto/
H A Do_str.c305 * 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 Do_str.c307 * 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 Derror.c20 #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 Dstring.h64 int strerror_r (int, char *, size_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstring.h66 int strerror_r (int, char *, size_t);

Completed in 8 milliseconds

12