/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_timer.c | 57 pthread_cond_t cond; member 86 pthread_cond_init(&gp_timer_prov->cond, NULL); in __cl_timer_prov_create() 107 pthread_cond_broadcast(&gp_timer_prov->cond); in __cl_timer_prov_destroy() 113 pthread_cond_destroy(&gp_timer_prov->cond); in __cl_timer_prov_destroy() 142 ret = pthread_cond_wait(&gp_timer_prov->cond, in __cl_timer_prov_cb() 200 pthread_cond_signal(&p_timer->cond); in __cl_timer_prov_cb() 235 pthread_cond_init(&p_timer->cond, NULL); in cl_timer_init() 253 pthread_cond_broadcast(&p_timer->cond); in cl_timer_destroy() 254 pthread_cond_destroy(&p_timer->cond); in cl_timer_destroy() 325 pthread_cond_signal(&gp_timer_prov->cond); in cl_timer_start() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrRef.td | 20 !cond(!eq(ht, "func") : 0xd070, 23 defm SELECT_#rc: I<(outs rc:$dst), (ins rc:$lhs, rc:$rhs, I32:$cond), 26 (select I32:$cond, rc:$lhs, rc:$rhs))], 27 vt#".select\t$dst, $lhs, $rhs, $cond", 42 def : Pat<(select (i32 (setne I32:$cond, 0)), rc:$lhs, rc:$rhs), 43 (!cast<Instruction>("SELECT_"#rc) rc:$lhs, rc:$rhs, I32:$cond)>; 44 def : Pat<(select (i32 (seteq I32:$cond, 0)), rc:$lhs, rc:$rhs), 45 (!cast<Instruction>("SELECT_"#rc) rc:$rhs, rc:$lhs, I32:$cond)>;
|
H A D | WebAssemblyInstrFloat.td | 38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))], 42 [(set I32:$dst, (setcc F64:$lhs, F64:$rhs, cond))], 106 defm SELECT_F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs, I32:$cond), 118 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs), 119 (SELECT_F32 F32:$lhs, F32:$rhs, I32:$cond)>; 120 def : Pat<(select (i32 (setne I32:$cond, 0)), F64:$lhs, F64:$rhs), 121 (SELECT_F64 F64:$lhs, F64:$rhs, I32:$cond)>; 124 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs), 125 (SELECT_F32 F32:$rhs, F32:$lhs, I32:$cond)>; 126 def : Pat<(select (i32 (seteq I32:$cond, 0)), F64:$lhs, F64:$rhs), [all …]
|
H A D | WebAssemblyInstrInteger.td | 38 [(set I32:$dst, (setcc I32:$lhs, I32:$rhs, cond))], 42 [(set I32:$dst, (setcc I64:$lhs, I64:$rhs, cond))], 110 defm SELECT_I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs, I32:$cond), 122 def : Pat<(select (i32 (setne I32:$cond, 0)), I32:$lhs, I32:$rhs), 123 (SELECT_I32 I32:$lhs, I32:$rhs, I32:$cond)>; 124 def : Pat<(select (i32 (setne I32:$cond, 0)), I64:$lhs, I64:$rhs), 125 (SELECT_I64 I64:$lhs, I64:$rhs, I32:$cond)>; 128 def : Pat<(select (i32 (seteq I32:$cond, 0)), I32:$lhs, I32:$rhs), 129 (SELECT_I32 I32:$rhs, I32:$lhs, I32:$cond)>; 130 def : Pat<(select (i32 (seteq I32:$cond, 0)), I64:$lhs, I64:$rhs), [all …]
|
H A D | WebAssemblyInstrControl.td | 16 defm BR_IF : I<(outs), (ins bb_op:$dst, I32:$cond), 18 [(brcond I32:$cond, bb:$dst)], 19 "br_if \t$dst, $cond", "br_if \t$dst", 0x0d>; 21 defm BR_UNLESS : I<(outs), (ins bb_op:$dst, I32:$cond), 29 def : Pat<(brcond (i32 (setne I32:$cond, 0)), bb:$dst), 30 (BR_IF bb_op:$dst, I32:$cond)>; 31 def : Pat<(brcond (i32 (seteq I32:$cond, 0)), bb:$dst), 32 (BR_UNLESS bb_op:$dst, I32:$cond)>; 34 (BR_UNLESS bb_op:$dst, I32:$cond)>; 76 defm IF : I<(outs), (ins Signature:$sig, I32:$cond), [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | assembly.h | 146 #define IT(cond) it cond argument 147 #define ITT(cond) itt cond argument 148 #define ITE(cond) ite cond argument 151 #define IT(cond) argument 152 #define ITT(cond) argument 153 #define ITE(cond) argument 158 #define IT(cond) argument 159 #define ITT(cond) argument 160 #define ITE(cond) argument
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | aeabi_dcmp.S | 28 #define DEFINE_AEABI_DCMP(cond) \ argument 31 DEFINE_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond) \ 34 bl SYMBOL_NAME(__ ## cond ## df2) SEPARATOR \ 36 b ## cond 1f SEPARATOR \ 42 END_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond)
|
H A D | aeabi_fcmp.S | 28 #define DEFINE_AEABI_FCMP(cond) \ argument 31 DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond) \ 34 bl SYMBOL_NAME(__ ## cond ## sf2) SEPARATOR \ 36 b ## cond 1f SEPARATOR \ 42 END_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond)
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | lockdep.h | 53 #define lockdep_assert(cond) do { WARN_ON(!(cond)); } while (0) argument 54 #define lockdep_assert_once(cond) do { WARN_ON_ONCE(!(cond)); } while (0) argument 85 #define lockdep_assert(cond) do { } while (0) argument 86 #define lockdep_assert_once(cond) do { } while (0) argument
|
H A D | kernel.h | 87 #define BUG_ON(cond) do { \ argument 88 if (cond) { \ 90 __stringify(cond), __FILE__, __LINE__); \ 95 #define WARN_ON(cond) ({ \ argument 96 bool __ret = (cond); \ 99 __stringify(cond), __FILE__, __LINE__); \ 106 #define WARN_ON_SMP(cond) WARN_ON(cond) argument 108 #define WARN_ON_ONCE(cond) ({ \ argument 110 bool __ret = (cond); \ 114 __stringify(cond), __FILE__, __LINE__); \
|
H A D | wait_bit.h | 38 #define wait_var_event_killable(var, cond) \ argument 39 wait_event_killable(linux_var_waitq, cond) 41 #define wait_var_event_interruptible(var, cond) \ argument 42 wait_event_interruptible(linux_var_waitq, cond)
|
/freebsd/contrib/bmake/ |
H A D | FILES | 20 cond.c 115 unit-tests/cond-eof.exp 116 unit-tests/cond-eof.mk 131 unit-tests/cond-func.exp 132 unit-tests/cond-func.mk 133 unit-tests/cond-late.exp 134 unit-tests/cond-late.mk 144 unit-tests/cond-op-or.mk 147 unit-tests/cond-op.exp 148 unit-tests/cond-op.mk [all …]
|
/freebsd/usr.bin/bmake/unit-tests/ |
H A D | Makefile | 76 TESTS+= cond-cmp-unary 77 TESTS+= cond-eof 78 TESTS+= cond-func 83 TESTS+= cond-func-make 86 TESTS+= cond-late 87 TESTS+= cond-op 88 TESTS+= cond-op-and 90 TESTS+= cond-op-not 91 TESTS+= cond-op-or 94 TESTS+= cond-short [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | Makefile | 73 TESTS+= cond-cmp-unary 74 TESTS+= cond-eof 75 TESTS+= cond-func 80 TESTS+= cond-func-make 83 TESTS+= cond-late 84 TESTS+= cond-op 85 TESTS+= cond-op-and 87 TESTS+= cond-op-not 88 TESTS+= cond-op-or 91 TESTS+= cond-short [all …]
|
/freebsd/sys/cddl/dev/kinst/aarch64/ |
H A D | kinst_isa.c | 26 uint8_t cond, reg, bitpos; in kinst_emulate() local 58 cond = instr & 0xf; in kinst_emulate() 59 switch ((cond >> 1) & 0x7) { in kinst_emulate() 89 if ((cond & 0x1) && cond != 0b1111) in kinst_emulate() 104 cond = (instr >> 24) & 0x1; in kinst_emulate() 109 if (cond == 1 && frame->tf_x[reg] != 0) in kinst_emulate() 112 else if (cond == 0 && frame->tf_x[reg] == 0) in kinst_emulate() 119 cond = (instr >> 24) & 0x1; in kinst_emulate() 126 if (cond == 1 && (frame->tf_x[reg] & (1 << bitpos)) != 0) in kinst_emulate() 129 else if (cond == 0 && (frame->tf_x[reg] & (1 << bitpos)) == 0) in kinst_emulate()
|
/freebsd/contrib/lib9p/pytest/ |
H A D | sequencer.py | 589 def append_encdec(self, cond, code): argument 591 self._codes.append((cond, code)) 598 for cond, code in self._codes: 600 if cond is not None and not cdict[cond]: 601 self.dprint('skip %r - %r is False' % (code, cond)) 605 self.dprint('pack %r - no cond or %r is True' % (code, cond)) 628 for cond, code in self._codes: 630 if cond is not None and not cdict[cond]: 631 self.dprint('skip %r - %r is False' % (code, cond)) 635 self.dprint('unpack %r - no cond or %r is True' % (code, cond))
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | common.c | 97 pthread_cond_t cond; member 115 pthread_cond_init(&s->cond, NULL); in heim_ipc_semaphore_create() 142 ret = pthread_cond_wait(&s->cond, &s->mutex); in heim_ipc_semaphore_wait() 147 ret = pthread_cond_timedwait(&s->cond, &s->mutex, &ts); in heim_ipc_semaphore_wait() 174 pthread_cond_signal(&s->cond); in heim_ipc_semaphore_signal() 192 pthread_cond_destroy(&s->cond); in heim_ipc_semaphore_release()
|
/freebsd/contrib/processor-trace/include/posix/ |
H A D | threads.h | 185 pthread_cond_t cond; member 196 errcode = pthread_cond_init(&cnd->cond, NULL); in cnd_init() 210 errcode = pthread_cond_destroy(&cnd->cond); in cnd_destroy() 224 errcode = pthread_cond_signal(&cnd->cond); in cnd_signal() 238 errcode = pthread_cond_broadcast(&cnd->cond); in cnd_broadcast() 252 errcode = pthread_cond_wait(&cnd->cond, &mtx->mutex); in cnd_wait()
|
/freebsd/contrib/xz/src/liblzma/common/ |
H A D | stream_encoder_mt.c | 96 mythread_cond cond; member 196 mythread_cond cond; member 211 mythread_cond_signal(&thr->coder->cond); in worker_error() 376 mythread_cond_signal(&thr->cond); in worker_start() 404 mythread_cond_signal(&thr->cond); in worker_start() 435 mythread_cond_destroy(&thr->cond); in worker_start() 508 if (mythread_cond_init(&thr->cond)) in initialize_new_thread() 528 mythread_cond_destroy(&thr->cond); in initialize_new_thread() 704 &coder->cond, &coder->mutex, in wait_for_work() 707 mythread_cond_wait(&coder->cond, in wait_for_work() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnreachableCodeChecker.cpp | 230 const Stmt *cond = pred->getTerminatorCondition(); in isInvalidPath() local 235 if (!cond) in isInvalidPath() 239 return containsMacro(cond) || containsEnum(cond) || in isInvalidPath() 240 containsStaticLocal(cond) || containsBuiltinOffsetOf(cond) || in isInvalidPath() 241 containsStmt<UnaryExprOrTypeTraitExpr>(cond); in isInvalidPath()
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_notify.c | 166 int cond; in cannot_audit() 168 if (audit_get_cond(&cond) != 0) { in cannot_audit() 175 if (cond == AUC_NOAUDIT || cond == AUC_DISABLED) in cannot_audit()
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | assertions.c | 55 const char *cond) in isc_assertion_failed() argument 57 isc_assertion_failed_cb(file, line, type, cond); in isc_assertion_failed() 106 const char *cond) in default_callback() argument 119 file, line, isc_assertion_typetotext(type), cond, in default_callback()
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | assert.h | 70 #define VERIFY(cond) \ argument 71 (void) ((!(cond)) && \ 72 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__)) 74 #define VERIFYF(cond, STR, ...) \ argument 76 if (!(cond)) \ 78 "%s " STR, #cond, \ 82 #define verify(cond) \ argument 83 (void) ((!(cond)) && \ 84 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__))
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | error.h | 57 #define ISC_ERROR_RUNTIMECHECK(cond) \ argument 58 ((void) ((cond) || \ 59 ((isc_error_runtimecheck)(__FILE__, __LINE__, #cond), 0)))
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_preempt.c | 47 pthread_cond_t cond; variable 64 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); in threadfunc() 94 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); in ATF_TC_BODY() 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY()
|