| /freebsd-head/contrib/llvm-project/libcxx/include/__thread/support/ |
| HD | c11.h | 39 return mtx_init(__m, mtx_plain | mtx_recursive) == thrd_success ? 0 : EINVAL; in __libcpp_recursive_mutex_init() 44 return mtx_lock(__m) == thrd_success ? 0 : EINVAL; in __libcpp_recursive_mutex_lock() 49 return mtx_trylock(__m) == thrd_success; in __libcpp_recursive_mutex_trylock() 54 return mtx_unlock(__m) == thrd_success ? 0 : EINVAL; in __libcpp_recursive_mutex_unlock() 63 return mtx_lock(__m) == thrd_success ? 0 : EINVAL; in __libcpp_mutex_lock() 67 return mtx_trylock(__m) == thrd_success; in __libcpp_mutex_trylock() 71 return mtx_unlock(__m) == thrd_success ? 0 : EINVAL; in __libcpp_mutex_unlock() 88 return cnd_signal(__cv) == thrd_success ? 0 : EINVAL; in __libcpp_condvar_signal() 92 return cnd_broadcast(__cv) == thrd_success ? 0 : EINVAL; in __libcpp_condvar_broadcast() 97 return cnd_wait(__cv, __m) == thrd_success ? 0 : EINVAL; in __libcpp_condvar_wait() [all …]
|
| /freebsd-head/contrib/processor-trace/include/posix/ |
| HD | threads.h | 48 thrd_success = 1, enumerator 104 return thrd_success; in thrd_create() 122 return thrd_success; in thrd_join() 146 return thrd_success; in mtx_init() 166 return thrd_success; in mtx_lock() 180 return thrd_success; in mtx_unlock() 200 return thrd_success; in cnd_init() 214 return thrd_success; in cnd_destroy() 228 return thrd_success; in cnd_signal() 242 return thrd_success; in cnd_broadcast() [all …]
|
| /freebsd-head/contrib/processor-trace/include/windows/ |
| HD | threads.h | 42 thrd_success = 1, enumerator 100 return thrd_success; in thrd_create() 131 return thrd_success; in thrd_join() 150 return thrd_success; in mtx_init() 166 return thrd_success; in mtx_lock() 176 return thrd_success; in mtx_unlock() 192 return thrd_success; in cnd_init() 202 return thrd_success; in cnd_destroy() 212 return thrd_success; in cnd_signal() 222 return thrd_success; in cnd_broadcast() [all …]
|
| /freebsd-head/lib/libstdthreads/ |
| HD | cnd.c | 41 return (thrd_success); in cnd_broadcast() 57 return (thrd_success); in cnd_init() 71 return (thrd_success); in cnd_signal() 81 return (thrd_success); in cnd_timedwait() 95 return (thrd_success); in cnd_wait()
|
| HD | mtx.c | 63 res = thrd_success; in mtx_init() 77 return (thrd_success); in mtx_lock() 86 return (thrd_success); in mtx_timedlock() 100 return (thrd_success); in mtx_trylock() 114 return (thrd_success); in mtx_unlock()
|
| HD | thrd.c | 69 return (thrd_success); in thrd_create() 85 return (thrd_success); in thrd_detach() 111 return (thrd_success); in thrd_join()
|
| HD | threads.h | 66 thrd_success = 4, enumerator 95 __trylocks_exclusive(thrd_success, *__mtx); 97 __trylocks_exclusive(thrd_success, *__mtx);
|
| HD | tss.c | 40 return (thrd_success); in tss_create() 63 return (thrd_success); in tss_set()
|
| /freebsd-head/contrib/processor-trace/libipt/src/ |
| HD | pt_section.c | 97 if (errcode != thrd_success) { in pt_mk_section() 105 if (errcode != thrd_success) { in pt_mk_section() 136 if (errcode != thrd_success) in pt_section_lock() 154 if (errcode != thrd_success) in pt_section_unlock() 242 if (errcode != thrd_success) in pt_section_lock_attach() 260 if (errcode != thrd_success) in pt_section_unlock_attach()
|
| HD | pt_section_file.c | 50 if (errcode != thrd_success) in fmap_init() 82 if (errcode != thrd_success) in fmap_lock() 100 if (errcode != thrd_success) in fmap_unlock()
|
| HD | pt_image_section_cache.c | 75 if (errcode != thrd_success) in pt_iscache_init() 108 if (errcode != thrd_success) in pt_iscache_lock() 126 if (errcode != thrd_success) in pt_iscache_unlock()
|
| /freebsd-head/contrib/llvm-project/compiler-rt/lib/lsan/ |
| HD | lsan_fuchsia.cpp | 113 if (error != thrd_success) { in __sanitizer_thread_create_hook()
|
| /freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| HD | hwasan_fuchsia.cpp | 224 __hwasan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
|
| /freebsd-head/sys/dev/random/ |
| HD | unit_test.c | 245 if (rc != thrd_success) { in main()
|
| /freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/ |
| HD | asan_fuchsia.cpp | 263 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
|
| /freebsd-head/contrib/processor-trace/libipt/test/src/ |
| HD | ptunit-image_section_cache.c | 120 if (errcode != thrd_success) { in pt_mk_section() 126 if (errcode != thrd_success) { in pt_mk_section() 149 if (errcode != thrd_success) in pt_section_lock() 167 if (errcode != thrd_success) in pt_section_unlock() 185 if (errcode != thrd_success) in pt_section_lock_attach() 203 if (errcode != thrd_success) in pt_section_unlock_attach()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| HD | CSymbolMap.inc | 811 SYMBOL(thrd_success, None, <threads.h>)
|