Home
last modified time | relevance | path

Searched refs:thrd_success (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/include/c11/
Dthreads_posix.h106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast()
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init()
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal()
146 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait()
155 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait()
208 return thrd_success; in mtx_init()
215 return thrd_success; in mtx_init()
223 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
244 return thrd_success; in mtx_timedlock()
249 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
[all …]
Dthreads_win32.h262 return timeout ? thrd_busy : thrd_success; in impl_cond_do_wait()
335 return thrd_success; in cnd_broadcast()
367 return thrd_success; in cnd_init()
380 return thrd_success; in cnd_signal()
390 return thrd_success; in cnd_timedwait()
407 return thrd_success; in cnd_wait()
431 return thrd_success; in mtx_init()
440 return thrd_success; in mtx_lock()
451 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
458 return thrd_success; in mtx_timedlock()
[all …]
Dthreads.h54 thrd_success = 0, // succeeded enumerator
/external/llvm-project/libc/test/src/threads/
Dmtx_test.cpp40 static_cast<int>(thrd_success)); in TEST()
49 ASSERT_EQ(__llvm_libc::mtx_lock(&mutex), static_cast<int>(thrd_success)); in TEST()
58 ASSERT_EQ(__llvm_libc::mtx_unlock(&mutex), static_cast<int>(thrd_success)); in TEST()
84 static_cast<int>(thrd_success)); in TEST()
86 static_cast<int>(thrd_success)); in TEST()
93 ASSERT_EQ(__llvm_libc::mtx_lock(&step_lock), static_cast<int>(thrd_success)); in TEST()
101 static_cast<int>(thrd_success)); in TEST()
104 static_cast<int>(thrd_success)); in TEST()
114 static_cast<int>(thrd_success)); in TEST()
118 static_cast<int>(thrd_success)); in TEST()
[all …]
Dcall_once_test.cpp43 static_cast<int>(thrd_success)); in TEST()
49 static_cast<int>(thrd_success)); in TEST()
81 static_cast<int>(thrd_success)); in TEST()
84 static_cast<int>(thrd_success)); in TEST()
88 static_cast<int>(thrd_success)); in TEST()
90 static_cast<int>(thrd_success)); in TEST()
100 static_cast<int>(thrd_success)); in TEST()
104 static_cast<int>(thrd_success)); in TEST()
107 static_cast<int>(thrd_success)); in TEST()
Dthrd_test.cpp26 (int)thrd_success); in TEST()
28 ASSERT_EQ(__llvm_libc::thrd_join(&thread, &retval), (int)thrd_success); in TEST()
43 (int)thrd_success); in TEST()
49 (int)thrd_success); in TEST()
/external/virglrenderer/src/gallium/include/c11/
Dthreads_posix.h106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast()
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init()
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal()
150 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait()
159 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait()
188 return thrd_success; in mtx_init()
196 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock()
220 return thrd_success; in mtx_timedlock()
225 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
232 return thrd_success; in mtx_timedlock()
[all …]
Dthreads_win32.h258 return timeout ? thrd_busy : thrd_success; in impl_cond_do_wait()
331 return thrd_success; in cnd_broadcast()
363 return thrd_success; in cnd_init()
376 return thrd_success; in cnd_signal()
386 return thrd_success; in cnd_timedwait()
403 return thrd_success; in cnd_wait()
427 return thrd_success; in mtx_init()
436 return thrd_success; in mtx_lock()
447 while (mtx_trylock(mtx) != thrd_success) { in mtx_timedlock()
454 return thrd_success; in mtx_timedlock()
[all …]
Dthreads.h60 thrd_success = 0, // succeeded enumerator
/external/llvm-project/clang/test/Analysis/
Dc11lock.c10 thrd_success = 0, enumerator
57 if (mtx_trylock(&mtx1) != thrd_success) in bad6()
79 if (mtx_trylock(&mtx) == thrd_success) in good2()
87 if (mtx_timedlock(&mtx, 0) == thrd_success) in good3()
/external/llvm-project/libc/src/threads/linux/
Dmtx_unlock.cpp29 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
35 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
Dmtx_init.cpp18 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
Dthrd_join.cpp40 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
Dmtx_lock.cpp28 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
Dthrd_create.cpp95 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
/external/llvm-project/libcxx/include/
D__threading_support568 return mtx_init(__m, mtx_plain | mtx_recursive) == thrd_success ? 0 : EINVAL;
573 return mtx_lock(__m) == thrd_success ? 0 : EINVAL;
578 return mtx_trylock(__m) == thrd_success;
583 return mtx_unlock(__m) == thrd_success ? 0 : EINVAL;
594 return mtx_lock(__m) == thrd_success ? 0 : EINVAL;
599 return mtx_trylock(__m) == thrd_success;
604 return mtx_unlock(__m) == thrd_success ? 0 : EINVAL;
616 return cnd_signal(__cv) == thrd_success ? 0 : EINVAL;
621 return cnd_broadcast(__cv) == thrd_success ? 0 : EINVAL;
626 return cnd_wait(__cv, __m) == thrd_success ? 0 : EINVAL;
[all …]
/external/mesa3d/src/util/tests/sparse_array/
Dmulti_threaded.c61 assert(ret == thrd_success); in run_test()
66 assert(ret == thrd_success); in run_test()
/external/mesa3d/src/util/
Dsimple_mtx.h161 if (ret == thrd_success) in simple_mtx_assert_locked()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h57 if (ret == thrd_success) in __pipe_mutex_assert_locked()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-spuriously-wake-up-functions.rst20 if (thrd_success != cnd_wait(&condition, &lock)) {
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_fuchsia.cpp105 if (error != thrd_success) { in __sanitizer_thread_create_hook()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_fence.c150 if (ret != thrd_success) in lp_fence_timedwait()
/external/mesa3d/src/egl/main/
Deglcurrent.c89 if (tss_create(&_egl_TSD, (void (*)(void *)) _eglDestroyThreadInfo) != thrd_success) { in _eglInitTSD()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_fuchsia.cpp226 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
/external/llvm-project/libc/config/linux/
Dapi.td343 "thrd_success",

12