Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/libcxx/include/__thread/support/
HDc11.h39 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/
HDthreads.h48 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/
HDthreads.h42 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/
HDcnd.c41 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()
HDmtx.c63 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()
HDthrd.c69 return (thrd_success); in thrd_create()
85 return (thrd_success); in thrd_detach()
111 return (thrd_success); in thrd_join()
HDthreads.h66 thrd_success = 4, enumerator
95 __trylocks_exclusive(thrd_success, *__mtx);
97 __trylocks_exclusive(thrd_success, *__mtx);
HDtss.c40 return (thrd_success); in tss_create()
63 return (thrd_success); in tss_set()
/freebsd-head/contrib/processor-trace/libipt/src/
HDpt_section.c97 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()
HDpt_section_file.c50 if (errcode != thrd_success) in fmap_init()
82 if (errcode != thrd_success) in fmap_lock()
100 if (errcode != thrd_success) in fmap_unlock()
HDpt_image_section_cache.c75 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/
HDlsan_fuchsia.cpp113 if (error != thrd_success) { in __sanitizer_thread_create_hook()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
HDhwasan_fuchsia.cpp224 __hwasan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
/freebsd-head/sys/dev/random/
HDunit_test.c245 if (rc != thrd_success) { in main()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_fuchsia.cpp263 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
/freebsd-head/contrib/processor-trace/libipt/test/src/
HDptunit-image_section_cache.c120 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/
HDCSymbolMap.inc811 SYMBOL(thrd_success, None, <threads.h>)