Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 241) sorted by relevance

12345678910

/freebsd-12.1/contrib/sendmail/include/sm/
H A Dassert.h66 # define SM_REQUIRE(cond) \ argument
70 # define SM_REQUIRE(cond) \ argument
75 # define SM_REQUIRE(cond) ((void) 0) argument
83 # define SM_ENSURE(cond) \ argument
87 # define SM_ENSURE(cond) \ argument
92 # define SM_ENSURE(cond) ((void) 0) argument
97 # define SM_ASSERT(cond) \ argument
101 # define SM_ASSERT(cond) \ argument
106 # define SM_ASSERT(cond) ((void) 0) argument
H A Dtest.h22 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) argument
24 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__) argument
/freebsd-12.1/lib/libstdthreads/
H A Dcnd.c40 cnd_broadcast(cnd_t *cond) in cnd_broadcast()
49 cnd_destroy(cnd_t *cond) in cnd_destroy()
56 cnd_init(cnd_t *cond) in cnd_init()
70 cnd_signal(cnd_t *cond) in cnd_signal()
79 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, in cnd_timedwait()
94 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
/freebsd-12.1/contrib/ntp/lib/isc/include/isc/
H A Dassertions.h85 #define ISC_REQUIRE(cond) \ argument
91 #define ISC_REQUIRE(cond) ((void) 0) argument
95 #define ISC_ENSURE(cond) \ argument
101 #define ISC_ENSURE(cond) ((void) 0) argument
105 #define ISC_INSIST(cond) \ argument
111 #define ISC_INSIST(cond) ((void) 0) argument
115 #define ISC_INVARIANT(cond) \ argument
121 #define ISC_INVARIANT(cond) ((void) 0) argument
/freebsd-12.1/contrib/apr/locks/unix/
H A Dthread_cond.c26 apr_thread_cond_t *cond = (apr_thread_cond_t *)data; in thread_cond_cleanup() local
38 APR_DECLARE(apr_status_t) apr_thread_cond_create(apr_thread_cond_t **cond, in apr_thread_cond_create()
63 APR_DECLARE(apr_status_t) apr_thread_cond_wait(apr_thread_cond_t *cond, in apr_thread_cond_wait()
77 APR_DECLARE(apr_status_t) apr_thread_cond_timedwait(apr_thread_cond_t *cond, in apr_thread_cond_timedwait()
102 APR_DECLARE(apr_status_t) apr_thread_cond_signal(apr_thread_cond_t *cond) in apr_thread_cond_signal()
115 APR_DECLARE(apr_status_t) apr_thread_cond_broadcast(apr_thread_cond_t *cond) in apr_thread_cond_broadcast()
128 APR_DECLARE(apr_status_t) apr_thread_cond_destroy(apr_thread_cond_t *cond) in apr_thread_cond_destroy()
/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dcondition.c32 isc_condition_init(isc_condition_t *cond) { in isc_condition_init()
98 find_thread_condition(unsigned long thrd, isc_condition_t *cond, in find_thread_condition()
125 isc_condition_signal(isc_condition_t *cond) { in isc_condition_signal()
142 isc_condition_broadcast(isc_condition_t *cond) { in isc_condition_broadcast()
171 isc_condition_destroy(isc_condition_t *cond) { in isc_condition_destroy()
206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) { in wait()
235 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) { in isc_condition_wait()
240 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, in isc_condition_waituntil()
/freebsd-12.1/lib/libthr/thread/
H A Dthr_cond.c122 init_static(struct pthread *thread, pthread_cond_t *cond) in init_static()
156 _thr_cond_init(pthread_cond_t * __restrict cond, in _thr_cond_init()
165 _thr_cond_destroy(pthread_cond_t *cond) in _thr_cond_destroy()
354 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common()
384 _thr_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in _thr_cond_wait()
391 __thr_cond_wait(pthread_cond_t * __restrict cond, in __thr_cond_wait()
399 _thr_cond_timedwait(pthread_cond_t * __restrict cond, in _thr_cond_timedwait()
424 cond_signal_common(pthread_cond_t *cond) in cond_signal_common()
510 cond_broadcast_common(pthread_cond_t *cond) in cond_broadcast_common()
548 _thr_cond_signal(pthread_cond_t * cond) in _thr_cond_signal()
[all …]
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_debug.h37 #define KMP_ASSERT(cond) \ argument
41 #define KMP_ASSERT2(cond, msg) \ argument
45 #define KMP_DEBUG_ASSERT(cond) KMP_ASSERT(cond) argument
46 #define KMP_DEBUG_ASSERT2(cond, msg) KMP_ASSERT2(cond, msg) argument
54 #define KMP_ASSERT2(cond, msg) KMP_ASSERT(cond) argument
55 #define KMP_DEBUG_ASSERT(cond) /* Nothing */ argument
56 #define KMP_DEBUG_ASSERT2(cond, msg) /* Nothing */ argument
60 #define KMP_ASSERT(cond) /* Nothing */ argument
61 #define KMP_ASSERT2(cond, msg) /* Nothing */ argument
62 #define KMP_DEBUG_ASSERT(cond) /* Nothing */ argument
[all …]
/freebsd-12.1/contrib/libevent/
H A Devthread-internal.h156 #define EVTHREAD_FREE_COND(cond) \ argument
162 #define EVTHREAD_COND_SIGNAL(cond) \ argument
165 #define EVTHREAD_COND_BROADCAST(cond) \ argument
171 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
175 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument
269 #define EVTHREAD_FREE_COND(cond) \ argument
275 #define EVTHREAD_COND_SIGNAL(cond) \ argument
278 #define EVTHREAD_COND_BROADCAST(cond) \ argument
284 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
314 #define EVTHREAD_FREE_COND(cond) EVUTIL_NIL_STMT_ argument
[all …]
H A Devthread_win32.c130 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); in evthread_win32_condvar_alloc() local
140 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_free() local
146 evthread_win32_condvar_signal(void *cond, int broadcast) in evthread_win32_condvar_signal()
148 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_signal() local
159 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_wait() local
192 struct evthread_win32_cond *cond; in evthread_win32_cond_alloc() local
211 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_free() local
220 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_signal() local
235 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_wait() local
H A Devthread_pthread.c106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc() local
119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free() local
127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal() local
140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait() local
/freebsd-12.1/contrib/ntp/sntp/libevent/
H A Devthread-internal.h156 #define EVTHREAD_FREE_COND(cond) \ argument
162 #define EVTHREAD_COND_SIGNAL(cond) \ argument
165 #define EVTHREAD_COND_BROADCAST(cond) \ argument
171 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
175 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument
269 #define EVTHREAD_FREE_COND(cond) \ argument
275 #define EVTHREAD_COND_SIGNAL(cond) \ argument
278 #define EVTHREAD_COND_BROADCAST(cond) \ argument
284 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
314 #define EVTHREAD_FREE_COND(cond) EVUTIL_NIL_STMT_ argument
[all …]
H A Devthread_win32.c130 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); in evthread_win32_condvar_alloc() local
140 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_free() local
146 evthread_win32_condvar_signal(void *cond, int broadcast) in evthread_win32_condvar_signal()
148 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_signal() local
159 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_wait() local
192 struct evthread_win32_cond *cond; in evthread_win32_cond_alloc() local
211 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_free() local
220 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_signal() local
235 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_wait() local
H A Devthread_pthread.c106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc() local
119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free() local
127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal() local
140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait() local
/freebsd-12.1/contrib/xz/src/common/
H A Dmythread.h116 pthread_cond_t cond; member
257 mythread_cond_destroy(mythread_cond *cond) in mythread_cond_destroy()
265 mythread_cond_signal(mythread_cond *cond) in mythread_cond_signal()
273 mythread_cond_wait(mythread_cond *cond, mythread_mutex *mutex) in mythread_cond_wait()
283 mythread_cond_timedwait(mythread_cond *cond, mythread_mutex *mutex, in mythread_cond_timedwait()
294 mythread_condtime_set(mythread_condtime *condtime, const mythread_cond *cond, in mythread_condtime_set()
439 mythread_cond_init(mythread_cond *cond) in mythread_cond_init()
451 mythread_cond_destroy(mythread_cond *cond) in mythread_cond_destroy()
461 mythread_cond_signal(mythread_cond *cond) in mythread_cond_signal()
471 mythread_cond_wait(mythread_cond *cond, mythread_mutex *mutex) in mythread_cond_wait()
[all …]
/freebsd-12.1/lib/libc/resolv/
H A Dres_debug.h26 # define Dprint(cond, args) /*empty*/ argument
27 # define DprintQ(cond, args, query, size) /*empty*/ argument
31 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument
32 # define DprintQ(cond, args, query, size) if (cond) {\ argument
/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Dassembly.h82 #define IT(cond) it cond argument
83 #define ITT(cond) itt cond argument
84 #define ITE(cond) ite cond argument
87 #define IT(cond) argument
88 #define ITT(cond) argument
89 #define ITE(cond) argument
94 #define IT(cond) argument
95 #define ITT(cond) argument
96 #define ITE(cond) argument
/freebsd-12.1/contrib/atf/atf-c/detail/
H A Dsanity.c59 atf_sanity_inv(const char *file, int line, const char *cond) in atf_sanity_inv()
65 atf_sanity_pre(const char *file, int line, const char *cond) in atf_sanity_pre()
71 atf_sanity_post(const char *file, int line, const char *cond) in atf_sanity_post()
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h50 #define might_sleep_if(cond) do { \ argument
148 #define __wait_event_common(wqh, cond, timeout, state, lock) ({ \ argument
179 #define wait_event(wqh, cond) do { \ argument
184 #define wait_event_timeout(wqh, cond, timeout) ({ \ argument
189 #define wait_event_killable(wqh, cond) ({ \ argument
194 #define wait_event_interruptible(wqh, cond) ({ \ argument
199 #define wait_event_interruptible_timeout(wqh, cond, timeout) ({ \ argument
207 #define wait_event_interruptible_locked(wqh, cond) ({ \ argument
220 #define wait_event_interruptible_lock_irq(wqh, cond, lock) ({ \ argument
228 #define wait_event_lock_irq(wqh, cond, lock) ({ \ argument
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-loop-unswitch.c117 tree stmt, def, cond, use; in tree_may_unswitch_on() local
151 simplify_using_entry_checks (struct loop *loop, tree cond) in simplify_using_entry_checks()
185 tree cond = NULL_TREE, stmt; in tree_unswitch_single_loop() local
281 basic_block unswitch_on, tree cond) in tree_unswitch_loop()
H A Dtree-if-conv.c169 tree cond; in tree_if_conversion() local
218 tree_if_convert_stmt (struct loop * loop, tree t, tree cond, in tree_if_convert_stmt()
261 tree_if_convert_cond_expr (struct loop *loop, tree stmt, tree cond, in tree_if_convert_cond_expr()
597 tree cond = bb->aux; in add_to_predicate_list() local
613 tree prev_cond, tree cond, in add_to_dst_predicate_list()
684 basic_block bb, tree *cond, in find_phi_replacement_condition()
798 replace_phi_with_cond_modify_expr (tree phi, tree cond, basic_block true_bb, in replace_phi_with_cond_modify_expr()
862 tree phi, cond; in process_phi_nodes() local
H A Dloop-unswitch.c95 rtx seq, jump, cond; in compare_and_jump_seq() local
245 reversed_condition (rtx cond) in reversed_condition()
268 rtx cond, rcond = NULL_RTX, conds, rconds, acond, cinsn; in unswitch_single_loop() local
402 rtx cond, rtx cinsn) in unswitch_loop()
H A Dtree-ssa-forwprop.c178 forward_propagate_into_cond_1 (tree cond, tree *test_var_p) in forward_propagate_into_cond_1()
425 find_equivalent_equality_comparison (tree cond) in find_equivalent_equality_comparison()
501 tree cond = COND_EXPR_COND (stmt); in simplify_cond() local
539 tree cond = COND_EXPR_COND (cond_expr); in forward_propagate_into_cond() local
912 tree cond = SWITCH_COND (stmt); in simplify_switch_expr() local
H A Difcvt.c345 rtx test_if, cond; in cond_exec_get_condition() local
628 rtx cond = if_info->cond; in noce_emit_store_flag() local
822 rtx cond = if_info->cond; in noce_try_move() local
1481 rtx cond, set, insn; in noce_get_alt_condition() local
1846 rtx cond, t, m, c, seq; in noce_try_sign_mask() local
1918 rtx cond, x, a, result, seq; in noce_try_bitop() local
2019 rtx cond, set, tmp; in noce_get_condition() local
2061 rtx cond, jump; in noce_init_if_info() local
2181 rtx jump, cond; in noce_process_if_block() local
3613 rtx cond, prob_val; in dead_or_predicable() local
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cc164 uptr cond = atomic_load(p, memory_order_acquire); in init_cond() local
179 pthread_cond_t *cond = init_cond(c, true); in INTERCEPTOR() local
185 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() local
196 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() local
206 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() local
212 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() local
218 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() local

12345678910