/external/mesa3d/include/c11/ |
D | threads_posix.h | 106 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 …]
|
D | threads_win32.h | 262 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 …]
|
D | threads.h | 54 thrd_success = 0, // succeeded enumerator
|
/external/llvm-project/libc/test/src/threads/ |
D | mtx_test.cpp | 40 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 …]
|
D | call_once_test.cpp | 43 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()
|
D | thrd_test.cpp | 26 (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/ |
D | threads_posix.h | 106 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 …]
|
D | threads_win32.h | 258 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 …]
|
D | threads.h | 60 thrd_success = 0, // succeeded enumerator
|
/external/llvm-project/clang/test/Analysis/ |
D | c11lock.c | 10 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/ |
D | mtx_unlock.cpp | 29 return thrd_success; in LLVM_LIBC_ENTRYPOINT() 35 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
|
D | mtx_init.cpp | 18 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
|
D | thrd_join.cpp | 40 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
|
D | mtx_lock.cpp | 28 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
|
D | thrd_create.cpp | 95 return thrd_success; in LLVM_LIBC_ENTRYPOINT()
|
/external/llvm-project/libcxx/include/ |
D | __threading_support | 568 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/ |
D | multi_threaded.c | 61 assert(ret == thrd_success); in run_test() 66 assert(ret == thrd_success); in run_test()
|
/external/mesa3d/src/util/ |
D | simple_mtx.h | 161 if (ret == thrd_success) in simple_mtx_assert_locked()
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_thread.h | 57 if (ret == thrd_success) in __pipe_mutex_assert_locked()
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-spuriously-wake-up-functions.rst | 20 if (thrd_success != cnd_wait(&condition, &lock)) {
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_fuchsia.cpp | 105 if (error != thrd_success) { in __sanitizer_thread_create_hook()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_fence.c | 150 if (ret != thrd_success) in lp_fence_timedwait()
|
/external/mesa3d/src/egl/main/ |
D | eglcurrent.c | 89 if (tss_create(&_egl_TSD, (void (*)(void *)) _eglDestroyThreadInfo) != thrd_success) { in _eglInitTSD()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_fuchsia.cpp | 226 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
|
/external/llvm-project/libc/config/linux/ |
D | api.td | 343 "thrd_success",
|