Searched refs:cond (Results 1 - 25 of 216) sorted by relevance

123456789

/freebsd-9.3-release/lib/libc/resolv/
H A Dres_debug.h22 # define Dprint(cond, args) /*empty*/
23 # define DprintQ(cond, args, query, size) /*empty*/
27 # define Dprint(cond, args) if (cond) {fprintf args;} else {}
28 # define DprintQ(cond, args, query, size) if (cond) {\
/freebsd-9.3-release/contrib/sendmail/include/sm/
H A Dassert.h66 # define SM_REQUIRE(cond) \
67 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
68 "SM_REQUIRE(" #cond ") failed"), 0)))
70 # define SM_REQUIRE(cond) \
71 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
72 "SM_REQUIRE(cond) failed"), 0)))
75 # define SM_REQUIRE(cond) ((void) 0)
83 # define SM_ENSURE(cond) \
84 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
85 "SM_ENSURE(" #cond ") faile
[all...]
H A Dtest.h22 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__)
24 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__)
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_cond.c54 int __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
55 int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
73 _pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) argument
80 if (cond == NULL)
130 *cond = pcond;
139 _pthread_cond_destroy(pthread_cond_t *cond) argument
145 if (cond == NULL || *cond == NULL)
149 THR_LOCK_ACQUIRE(curthread, &(*cond)->c_lock);
155 cv = *cond;
176 _pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument
359 __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument
371 _pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, const struct timespec * abstime) argument
562 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) argument
576 _pthread_cond_signal(pthread_cond_t * cond) argument
645 _pthread_cond_broadcast(pthread_cond_t * cond) argument
712 check_continuation(struct pthread *curthread, struct pthread_cond *cond, pthread_mutex_t *mutex) argument
736 pthread_cond_t cond; local
770 cond_queue_deq(pthread_cond_t cond) argument
795 cond_queue_remove(pthread_cond_t cond, struct pthread *pthread) argument
814 cond_queue_enq(pthread_cond_t cond, struct pthread *pthread) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dassertions.h85 #define ISC_REQUIRE(cond) \
86 ((void) ((cond) || \
89 #cond), 0)))
91 #define ISC_REQUIRE(cond) ((void) 0)
95 #define ISC_ENSURE(cond) \
96 ((void) ((cond) || \
99 #cond), 0)))
101 #define ISC_ENSURE(cond) ((void) 0)
105 #define ISC_INSIST(cond) \
106 ((void) ((cond) || \
[all...]
H A Derror.h57 #define ISC_ERROR_RUNTIMECHECK(cond) \
58 ((void) ((cond) || \
59 ((isc_error_runtimecheck)(__FILE__, __LINE__, #cond), 0)))
/freebsd-9.3-release/crypto/openssl/test/
H A Dtestsslproxy6 for cond in A B C 'A|B&!C'; do
7 sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond"
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dassertions.h85 #define ISC_REQUIRE(cond) \
86 ((void) ((cond) || \
89 #cond), 0)))
91 #define ISC_REQUIRE(cond) ((void) 0)
95 #define ISC_ENSURE(cond) \
96 ((void) ((cond) || \
99 #cond), 0)))
101 #define ISC_ENSURE(cond) ((void) 0)
105 #define ISC_INSIST(cond) \
106 ((void) ((cond) || \
[all...]
H A Derror.h57 #define ISC_ERROR_RUNTIMECHECK(cond) \
58 ((void) ((cond) || \
59 ((isc_error_runtimecheck)(__FILE__, __LINE__, #cond), 0)))
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devthread_win32.c130 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); local
131 if (!cond)
133 InitializeConditionVariable_fn(cond);
134 return cond;
140 CONDITION_VARIABLE *cond = cond_; local
142 mm_free(cond);
146 evthread_win32_condvar_signal(void *cond, int broadcast) argument
148 CONDITION_VARIABLE *cond = cond_; local
150 WakeAllConditionVariable_fn(cond);
152 WakeConditionVariable_fn(cond);
159 CONDITION_VARIABLE *cond = cond_; local
192 struct evthread_win32_cond *cond; local
211 struct evthread_win32_cond *cond = cond_; local
220 struct evthread_win32_cond *cond = cond_; local
235 struct evthread_win32_cond *cond = cond_; local
[all...]
H A Devthread-internal.h156 #define EVTHREAD_FREE_COND(cond) \
158 if (cond) \
159 evthread_cond_fns_.free_condition((cond)); \
161 /** Signal one thread waiting on cond */
162 #define EVTHREAD_COND_SIGNAL(cond) \
163 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 0) : 0 )
164 /** Signal all threads waiting on cond */
165 #define EVTHREAD_COND_BROADCAST(cond) \
166 ( (cond)
[all...]
H A Devthread_pthread.c106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); local
107 if (!cond)
109 if (pthread_cond_init(cond, NULL)) {
110 mm_free(cond);
113 return cond;
119 pthread_cond_t *cond = cond_; local
120 pthread_cond_destroy(cond);
121 mm_free(cond);
127 pthread_cond_t *cond = cond_; local
130 r = pthread_cond_broadcast(cond);
140 pthread_cond_t *cond = cond_; local
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dcondition.c32 isc_condition_init(isc_condition_t *cond) { argument
35 REQUIRE(cond != NULL);
37 cond->waiters = 0;
46 cond->events[LSIGNAL] = h;
52 ISC_LIST_INIT(cond->threadlist);
98 find_thread_condition(unsigned long thrd, isc_condition_t *cond, argument
108 for (threadcond = ISC_LIST_HEAD(cond->threadlist);
121 return (register_thread(thrd, cond, threadcondp));
125 isc_condition_signal(isc_condition_t *cond) { argument
131 REQUIRE(cond !
142 isc_condition_broadcast(isc_condition_t *cond) argument
171 isc_condition_destroy(isc_condition_t *cond) argument
206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) argument
235 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) argument
240 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, isc_time_t *t) argument
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dtree-ssa-loop-unswitch.c117 tree stmt, def, cond, use; local
136 cond = COND_EXPR_COND (stmt);
140 if (integer_zerop (cond) || integer_nonzerop (cond))
143 return cond;
151 simplify_using_entry_checks (struct loop *loop, tree cond) argument
161 && operand_equal_p (COND_EXPR_COND (stmt), cond, 0))
167 return cond;
171 return cond;
185 tree cond local
280 tree_unswitch_loop(struct loops *loops, struct loop *loop, basic_block unswitch_on, tree cond) argument
[all...]
H A Dc-omp.c207 c_finish_omp_for (location_t locus, tree decl, tree init, tree cond, argument
245 if (cond == NULL_TREE)
254 if (EXPR_HAS_LOCATION (cond))
255 elocus = EXPR_LOCATION (cond);
257 if (TREE_CODE (cond) == LT_EXPR
258 || TREE_CODE (cond) == LE_EXPR
259 || TREE_CODE (cond) == GT_EXPR
260 || TREE_CODE (cond) == GE_EXPR)
262 tree op0 = TREE_OPERAND (cond, 0);
263 tree op1 = TREE_OPERAND (cond,
[all...]
H A Dtree-ssa-phiopt.c61 if (cond) goto bb2; else goto bb1;
69 x' = cond;
380 tree new, cond; local
402 cond = COND_EXPR_COND (last_stmt (cond_bb));
404 if (TREE_CODE (cond) != SSA_NAME
405 && !lang_hooks.types_compatible_p (TREE_TYPE (cond), TREE_TYPE (result)))
409 if (!COMPARISON_CLASS_P (cond))
412 tmp = create_tmp_var (TREE_TYPE (cond), NULL);
415 old_result = cond;
416 cond
548 tree cond; local
627 tree cond, new; local
878 tree new, cond; local
[all...]
H A Dtree-ssa-threadedge.c302 tree cond = COND_EXPR_COND (TREE_OPERAND (stmt, 1)); local
303 cond = fold (cond);
304 if (cond == boolean_true_node)
306 else if (cond == boolean_false_node)
360 tree cond, cached_lhs; local
363 cond = COND_EXPR_COND (stmt);
365 cond = GOTO_DESTINATION (stmt);
367 cond = SWITCH_COND (stmt);
371 if (COMPARISON_CLASS_P (cond))
541 tree cond; local
[all...]
/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_cond.c42 int __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
43 int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
45 static int cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr);
46 static int cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex,
48 static int cond_signal_common(pthread_cond_t *cond);
49 static int cond_broadcast_common(pthread_cond_t *cond);
67 cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) argument
86 *cond = cvp;
92 init_static(struct pthread *thread, pthread_cond_t *cond) argument
98 if (*cond
122 _pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) argument
130 _pthread_cond_destroy(pthread_cond_t *cond) argument
278 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime, int cancel) argument
303 _pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument
310 __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument
317 _pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec * abstime) argument
329 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) argument
341 cond_signal_common(pthread_cond_t *cond) argument
427 cond_broadcast_common(pthread_cond_t *cond) argument
465 _pthread_cond_signal(pthread_cond_t * cond) argument
472 _pthread_cond_broadcast(pthread_cond_t * cond) argument
[all...]
/freebsd-9.3-release/lib/libc/ia64/gen/
H A Dsigsetjmp.S53 (p6) br.cond.dptk.many setjmp
54 (p7) br.cond.dpnt.many _setjmp
64 (p6) br.cond.dptk.many longjmp
65 (p7) br.cond.dpnt.many _longjmp
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dwait.h72 #define wait_event(q, cond) \
75 if (!(cond)) { \
78 if (cond) { \
88 #define wait_event_interruptible(q, cond) \
94 if (!(cond)) { \
97 if (cond) { \
/freebsd-9.3-release/lib/libc/ia64/string/
H A Dbcopy.S40 (p6) br.cond.spnt.few 5f
45 (p6) br.cond.spnt.few 2f // branch if same alignment
51 (p6) br.cond.dptk.few 1b // loop
55 (p6) br.cond.sptk.few 4f
64 (p7) br.cond.spnt.few 4f // go to main copy
65 br.cond.sptk.few 3b // more bytes to copy
71 (p6) br.cond.spnt.few 1b // byte copy the end
76 (p6) br.cond.spnt.few 4b // again
91 (p6) br.cond.spnt.few 6b
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Dthread.h150 void (*free_condition)(void *cond);
152 * threads waiting on 'cond' should be woken; otherwise, only on one
157 int (*signal_condition)(void *cond, int broadcast);
168 int (*wait_condition)(void *cond, void *lock,
/freebsd-9.3-release/bin/sh/
H A Derror.c163 exverror(int cond, const char *msg, va_list ap) argument
177 TRACE(("exverror(%d, \"%s\") pid=%d\n", cond, msg, getpid()));
179 TRACE(("exverror(%d, NULL) pid=%d\n", cond, getpid()));
184 exraise(cond);
199 exerror(int cond, const char *msg, ...) argument
203 exverror(cond, msg, ap);
/freebsd-9.3-release/lib/libkse/arch/ia64/ia64/
H A Denter_uts.S56 br.cond.sptk b7
59 1: br.cond.sptk 1b
/freebsd-9.3-release/libexec/rtld-elf/
H A Ddebug.h59 #define assert(cond) ((cond) ? (void) 0 : \

Completed in 132 milliseconds

123456789