/freebsd/contrib/sendmail/include/sm/ |
H A D | assert.h | 66 # 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 D | test.h | 22 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) argument 24 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__) argument
|
/freebsd/lib/libstdthreads/ |
H A D | cnd.c | 36 cnd_broadcast(cnd_t *cond) in cnd_broadcast() 45 cnd_destroy(cnd_t *cond) in cnd_destroy() 52 cnd_init(cnd_t *cond) in cnd_init() 66 cnd_signal(cnd_t *cond) in cnd_signal() 75 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, in cnd_timedwait() 90 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | assertions.h | 85 #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/contrib/ntp/libntp/lib/isc/win32/ |
H A D | condition.c | 32 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/lib/libthr/thread/ |
H A D | thr_cond.c | 92 cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) in cond_init() 120 init_static(struct pthread *thread, pthread_cond_t *cond) in init_static() 154 _thr_cond_init(pthread_cond_t * __restrict cond, in _thr_cond_init() 163 _thr_cond_destroy(pthread_cond_t *cond) in _thr_cond_destroy() 352 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common() 382 _thr_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in _thr_cond_wait() 389 __thr_cond_wait(pthread_cond_t * __restrict cond, in __thr_cond_wait() 397 _thr_cond_timedwait(pthread_cond_t * __restrict cond, in _thr_cond_timedwait() 410 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in __pthread_cond_timedwait() 422 cond_signal_common(pthread_cond_t *cond) in cond_signal_common() [all …]
|
/freebsd/crypto/libecc/include/libecc/utils/ |
H A D | utils.h | 80 #define EG(cond,lbl) do { if (cond) { goto lbl ; } } while (0) argument 92 #define MUST_HAVE(cond, ret, lbl) do { \ argument 104 #define SHOULD_HAVE(cond, ret, lbl) do {\ argument 116 #define KNOWN_FACT(cond, ret, lbl) do { \ argument 137 #define MUST_HAVE(cond, ret, lbl) do { \ argument 145 #define SHOULD_HAVE(cond, ret, lbl) do { \ argument 153 #define KNOWN_FACT(cond, ret, lbl) do { \ argument
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_debug.h | 36 #define KMP_ASSERT(cond) \ argument 40 #define KMP_ASSERT2(cond, msg) \ argument 44 #define KMP_DEBUG_ASSERT(cond) KMP_ASSERT(cond) argument 45 #define KMP_DEBUG_ASSERT2(cond, msg) KMP_ASSERT2(cond, msg) argument 49 #define KMP_ASSERT(cond) \ argument 53 #define KMP_ASSERT2(cond, msg) KMP_ASSERT(cond) argument 54 #define KMP_DEBUG_ASSERT(cond) /* Nothing */ argument 55 #define KMP_DEBUG_ASSERT2(cond, msg) /* Nothing */ argument 59 #define KMP_ASSERT(cond) /* Nothing */ argument 60 #define KMP_ASSERT2(cond, msg) /* Nothing */ argument [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evthread-internal.h | 159 #define EVTHREAD_FREE_COND(cond) \ argument 165 #define EVTHREAD_COND_SIGNAL(cond) \ argument 168 #define EVTHREAD_COND_BROADCAST(cond) \ argument 174 #define EVTHREAD_COND_WAIT(cond, lock) \ argument 178 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument 281 #define EVTHREAD_FREE_COND(cond) \ argument 287 #define EVTHREAD_COND_SIGNAL(cond) \ argument 290 #define EVTHREAD_COND_BROADCAST(cond) \ argument 296 #define EVTHREAD_COND_WAIT(cond, lock) \ argument 300 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument [all …]
|
H A D | evthread_win32.c | 130 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 D | evthread_pthread.c | 106 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
|
H A D | util-internal.h | 360 #define EVUTIL_ASSERT(cond) EVUTIL_NIL_CONDITION_(cond) argument 361 #define EVUTIL_FAILURE_CHECK(cond) 0 argument 363 #define EVUTIL_ASSERT(cond) \ argument 377 #define EVUTIL_FAILURE_CHECK(cond) EVUTIL_UNLIKELY(cond) argument
|
/freebsd/contrib/libevent/ |
H A D | evthread-internal.h | 159 #define EVTHREAD_FREE_COND(cond) \ argument 165 #define EVTHREAD_COND_SIGNAL(cond) \ argument 168 #define EVTHREAD_COND_BROADCAST(cond) \ argument 174 #define EVTHREAD_COND_WAIT(cond, lock) \ argument 178 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument 281 #define EVTHREAD_FREE_COND(cond) \ argument 287 #define EVTHREAD_COND_SIGNAL(cond) \ argument 290 #define EVTHREAD_COND_BROADCAST(cond) \ argument 296 #define EVTHREAD_COND_WAIT(cond, lock) \ argument 300 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument [all …]
|
H A D | evthread_win32.c | 130 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 D | evthread_pthread.c | 106 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
|
H A D | util-internal.h | 360 #define EVUTIL_ASSERT(cond) EVUTIL_NIL_CONDITION_(cond) argument 361 #define EVUTIL_FAILURE_CHECK(cond) 0 argument 363 #define EVUTIL_ASSERT(cond) \ argument 377 #define EVUTIL_FAILURE_CHECK(cond) EVUTIL_UNLIKELY(cond) argument
|
/freebsd/lib/libc/resolv/ |
H A D | res_debug.h | 24 # define Dprint(cond, args) /*empty*/ argument 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | sanity.c | 59 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/sys/compat/linuxkpi/common/include/linux/ |
H A D | wait.h | 49 #define might_sleep_if(cond) do { \ argument 149 #define __wait_event_common(wqh, cond, timeout, state, lock) ({ \ argument 180 #define wait_event(wqh, cond) do { \ argument 185 #define wait_event_timeout(wqh, cond, timeout) ({ \ argument 190 #define wait_event_killable(wqh, cond) ({ \ argument 195 #define wait_event_interruptible(wqh, cond) ({ \ argument 200 #define wait_event_interruptible_timeout(wqh, cond, timeout) ({ \ argument 208 #define wait_event_interruptible_locked(wqh, cond) ({ \ argument 221 #define wait_event_interruptible_lock_irq(wqh, cond, lock) ({ \ argument 229 #define wait_event_lock_irq(wqh, cond, lock) ({ \ argument
|
H A D | wait_bit.h | 38 #define wait_var_event_killable(var, cond) \ argument 41 #define wait_var_event_interruptible(var, cond) \ argument
|
H A D | lockdep.h | 54 #define lockdep_assert(cond) do { WARN_ON(!(cond)); } while (0) argument 55 #define lockdep_assert_once(cond) do { WARN_ON_ONCE(!(cond)); } while (0) argument 75 #define lockdep_assert(cond) do { } while (0) argument 76 #define lockdep_assert_once(cond) do { } while (0) argument
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 164 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
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | assertions.c | 55 const char *cond) in isc_assertion_failed() 106 const char *cond) in default_callback()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | threading.c | 103 int ZSTD_pthread_cond_init(ZSTD_pthread_cond_t* cond, pthread_condattr_t const* attr) in ZSTD_pthread_cond_init() 111 int ZSTD_pthread_cond_destroy(ZSTD_pthread_cond_t* cond) in ZSTD_pthread_cond_destroy()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_dbg.h | 55 #define TARFS_DPF_IFF(category, cond, fmt, ...) \ argument 63 #define TARFS_DPF_IFF(category, cond, fmt, ...) argument
|