Searched refs:cond (Results 76 - 100 of 256) sorted by relevance

1234567891011

/freebsd-current/contrib/bzip2/
H A Dbzlib_private.h59 #define AssertH(cond,errcode) \
60 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
63 #define AssertD(cond,msg) \
64 { if (!(cond)) { \
70 #define AssertD(cond,msg) /* */
89 #define AssertH(cond,errcode) \
90 { if (!(cond)) bz_internal_error ( errcode ); }
91 #define AssertD(cond,msg) do { } while (0)
/freebsd-current/sys/dev/rtwn/rtl8192c/
H A Dr92c_init.c55 r92c_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) argument
61 if (cond[0] == 0)
66 __func__, cond[0], rs->chip, rs->board_type);
82 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++)
83 if ((cond[i] & mask) == mask)
132 while (!rtwn_check_condition(sc, bb_prog->cond)) {
169 while (!rtwn_check_condition(sc, agc_prog->cond)) {
202 while (!rtwn_check_condition(sc, prog->cond)) {
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dfs_core.h190 #define fs_list_for_each_entry(pos, cond, root) \
192 if (!(cond)) {} else
194 #define fs_list_for_each_entry_continue(pos, cond, root) \
196 if (!(cond)) {} else
198 #define fs_list_for_each_entry_reverse(pos, cond, root) \
200 if (!(cond)) {} else
202 #define fs_list_for_each_entry_continue_reverse(pos, cond, root) \
204 if (!(cond)) {} else
/freebsd-current/contrib/ofed/libibverbs/
H A Ddevice.c147 err = pthread_cond_init(&cq->cond, NULL);
171 pthread_cond_destroy(&cq->cond);
380 pthread_cond_signal(&cq->cond);
399 pthread_cond_signal(&qp->cond);
412 pthread_cond_signal(&srq->cond);
424 pthread_cond_signal(&wq->cond);
444 err = pthread_cond_init(&wq->cond, NULL);
459 pthread_cond_destroy(&wq->cond);
/freebsd-current/contrib/llvm-project/libcxx/src/
H A Dcondition_variable.cpp59 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) { argument
66 __thread_local_data()->notify_all_at_thread_exit(&cond, lk.release());
/freebsd-current/contrib/bmake/unit-tests/
H A Dcond-op-or.mk1 # $NetBSD: cond-op-or.mk,v 1.11 2023/12/17 09:44:00 rillig Exp $
28 # of its operands must be evaluated. This had been wrong in cond.c 1.283 from
29 # 2021-12-09 and was reverted in cond.c 1.284 an hour later.
H A Ddirective-for-break.mk49 # Since cond.c 1.335 from 2022-09-02 and before cond.c 1.338 from 2022-09-23,
/freebsd-current/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c96 mythread_cond cond; member in struct:worker_thread_s
196 mythread_cond cond; member in struct:lzma_stream_coder_s
211 mythread_cond_signal(&thr->coder->cond);
271 mythread_cond_wait(&thr->cond, &thr->mutex);
323 mythread_cond_wait(&thr->cond, &thr->mutex);
376 mythread_cond_signal(&thr->cond);
383 mythread_cond_wait(&thr->cond, &thr->mutex);
404 mythread_cond_signal(&thr->cond);
427 mythread_cond_signal(&thr->coder->cond);
435 mythread_cond_destroy(&thr->cond);
[all...]
/freebsd-current/sys/dev/rtwn/rtl8821a/
H A Dr21a_init.c284 r21a_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) argument
292 __func__, cond[0], rs->ext_pa_5g, rs->ext_lna_5g);
294 if (cond[0] == 0)
311 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++)
312 if (cond[i] == mask)
/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.h55 #define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \
56 if (cond) return (retval); \
59 #define RTE_LPM_RETURN_IF_TRUE(cond, retval)
/freebsd-current/crypto/heimdal/lib/kadm5/
H A Dchpass_s.c42 int cond)
63 &ent, password, cond);
80 if (cond)
39 change(void *server_handle, krb5_principal princ, const char *password, int cond) argument
/freebsd-current/sys/contrib/zstd/examples/
H A Dcommon.h42 #define CHECK(cond, ...) \
44 if (!(cond)) { \
49 #cond); \
/freebsd-current/contrib/ntp/sntp/libevent/sample/
H A Dhttp-connect.c11 #define VERIFY(cond) do { \
12 if (!(cond)) { \
13 fprintf(stderr, "[error] %s\n", #cond); \
/freebsd-current/contrib/libevent/sample/
H A Dhttp-connect.c11 #define VERIFY(cond) do { \
12 if (!(cond)) { \
13 fprintf(stderr, "[error] %s\n", #cond); \
/freebsd-current/contrib/ntp/sntp/libevent/
H A Devthread.c475 evthreadimpl_cond_free_(void *cond) argument
478 evthread_cond_fns_.free_condition(cond);
481 evthreadimpl_cond_signal_(void *cond, int broadcast) argument
484 return evthread_cond_fns_.signal_condition(cond, broadcast);
489 evthreadimpl_cond_wait_(void *cond, void *lock, const struct timeval *tv) argument
492 return evthread_cond_fns_.wait_condition(cond, lock, tv);
/freebsd-current/contrib/libevent/
H A Devthread.c475 evthreadimpl_cond_free_(void *cond) argument
478 evthread_cond_fns_.free_condition(cond);
481 evthreadimpl_cond_signal_(void *cond, int broadcast) argument
484 return evthread_cond_fns_.signal_condition(cond, broadcast);
489 evthreadimpl_cond_wait_(void *cond, void *lock, const struct timeval *tv) argument
492 return evthread_cond_fns_.wait_condition(cond, lock, tv);
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Ddebug.h106 #define VERIFY(cond) \
107 (void) (unlikely(!(cond)) && \
108 spl_assert("VERIFY(" #cond ") failed\n", \
111 #define VERIFYF(cond, str, ...) do { \
112 if (unlikely(!cond)) \
114 "VERIFY(" #cond ") failed " str "\n", __VA_ARGS__);\
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Ddebug.h106 #define VERIFY(cond) \
107 (void) (unlikely(!(cond)) && \
108 spl_assert("VERIFY(" #cond ") failed\n", \
111 #define VERIFYF(cond, str, ...) do { \
112 if (unlikely(!cond)) \
114 "VERIFY(" #cond ") failed " str "\n", __VA_ARGS__);\
/freebsd-current/sys/ofed/include/rdma/
H A Duverbs_types.h183 #define UVERBS_BUILD_BUG_ON(cond) (sizeof(char[1 - 2 * !!(cond)]) - \
/freebsd-current/crypto/openssl/crypto/
H A Dia64cpuid.S150 (p6) br.cond.dptk .Lot };;
156 (p6) br.cond.dptk .Little
161 (p6) br.cond.dptk .Laligned };;
172 (p6) br.cond.dptk .Laligned };;
175 (p7) br.cond.dpnt .Little
248 (p6) br.cond.dptk .Loop };;
284 (p6) br.cond.spnt .Ldone2 };;
293 (p7) br.cond.dptk .Loop2 };;
/freebsd-current/contrib/lib9p/pytest/
H A Dprotocol.py481 for pair in seq: # (cond, code) pair
503 for cond, sub in self.autos:
505 if cond is not None and not conditions[cond]:
1497 cond = None
1516 Convert cond (if not None) to its .value, so that instead
1525 condval = None if cond is None else cond.value
1548 cond is not None.
1580 condval = None if cond i
[all...]
/freebsd-current/sys/sys/
H A Dfail.h225 #define _FAIL_POINT_EVAL(name, cond, code...) \
228 if (__predict_false(cond && \
352 #define KFAIL_POINT_CODE_COND(parent, name, cond, flags, code...) \
355 _FAIL_POINT_EVAL(name, cond, code) \
/freebsd-current/crypto/openssl/util/
H A Dcheck-format-test-negatives.c294 #define IF(cond) if (cond)
299 #define CB_ERR_IF(cond, ctx, cert, depth, err) \
300 if ((cond) && ((depth) < 0 || verify_cb_cert(ctx, cert, depth, err) == 0)) \
/freebsd-current/sys/dev/rtwn/rtl8812a/
H A Dr12a_init.c64 r12a_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) argument
72 "%d/%d (5 GHz)\n", __func__, cond[0], rs->ext_pa_2g,
75 if (cond[0] == 0)
104 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++)
106 if ((cond[i] & mask[j]) == mask[j])
152 while (!rtwn_check_condition(sc, bb_prog->cond)) {
175 while (!rtwn_check_condition(sc, agc_prog->cond)) {
/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c499 audit_get_cond(int *cond) argument
503 ret = auditon(A_GETCOND, cond, sizeof(*cond));
506 long lcond = *cond;
509 *cond = (int)lcond;
516 audit_set_cond(int *cond) argument
520 ret = auditon(A_SETCOND, cond, sizeof(*cond));
523 long lcond = (long)*cond;
526 *cond
[all...]

Completed in 312 milliseconds

1234567891011