Searched refs:cond (Results 101 - 125 of 256) sorted by relevance

1234567891011

/freebsd-current/usr.bin/mail/
H A Dcmd3.c627 if (cond != CANY) {
631 cond = CANY;
635 cond = CRCV;
639 cond = CSEND;
657 switch (cond) {
663 cond = CRCV;
667 cond = CSEND;
672 cond = CANY;
679 * End of if statement. Just set cond back to anything.
685 if (cond
[all...]
H A Dutil.c278 sstack[ssp].s_cond = cond;
282 cond = CANY;
301 if (cond != CANY)
304 cond = sstack[ssp].s_cond;
/freebsd-current/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h293 #define BUG_ON(cond) \
295 if (cond) \
296 panic("BUG_ON: " #cond); \
304 #define vchiq_static_assert(cond) CTASSERT(cond)
/freebsd-current/sys/powerpc/fpu/
H A Dfpu_emu.c266 unsigned int cond; local
279 cond = instr.i_any.i_rc;
308 cond = 0; /* ld/st never set condition codes */
439 cond = 0;
477 cond = 0;
499 cond = 0;
761 if (cond) {
762 cond = fsr & 0xf0000000;
764 cond >>= 28;
767 tf->cr |= (cond<<2
[all...]
/freebsd-current/sys/dev/drm2/
H A Ddrm_os_freebsd.h95 #define WARN_ON(cond) WARN(cond, "WARN ON: " #cond)
96 #define WARN_ON_SMP(cond) WARN_ON(cond)
98 #define BUG_ON(cond) KASSERT(!(cond), ("BUG ON: " #cond " -> 0x%jx", (uintmax_t)(cond)))
/freebsd-current/contrib/xz/src/liblzma/common/
H A Dstream_decoder_mt.c131 mythread_cond cond; member in struct:worker_thread
226 mythread_cond cond; member in struct:lzma_stream_coder
344 mythread_cond_signal(&thr->cond);
365 mythread_cond_signal(&thr->coder->cond);
384 mythread_cond_wait(&thr->cond, &thr->mutex);
395 mythread_cond_destroy(&thr->cond);
426 mythread_cond_wait(&thr->cond, &thr->mutex);
467 mythread_cond_signal(&thr->coder->cond);
527 mythread_cond_signal(&coder->threads[i].cond);
556 mythread_cond_signal(&coder->threads[i].cond);
[all...]
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_gcd.c553 int i, j, top, rlen, glen, m, bit = 1, delta = 1, cond = 0, shifts = 0, ret = 0; local
614 cond = ((unsigned int)-delta >> (8 * sizeof(delta) - 1)) & g->d[0] & 1
617 delta = (-cond & -delta) | ((cond - 1) & delta);
618 r->neg ^= cond;
620 BN_consttime_swap(cond, r, g, top);
/freebsd-current/usr.sbin/bhyve/
H A Dtpm_intf_crb.c175 pthread_cond_t cond; member in struct:tpm_crb
193 pthread_cond_wait(&crb->cond, &crb->mutex);
356 pthread_cond_signal(&crb->cond);
491 error = pthread_cond_init(&crb->cond, NULL);
493 warnc(error, "%s: failed to init cond", __func__);
528 pthread_cond_signal(&crb->cond);
531 pthread_cond_destroy(&crb->cond);
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dthreading.h119 int ZSTD_pthread_cond_init(ZSTD_pthread_cond_t* cond, pthread_condattr_t const* attr);
120 int ZSTD_pthread_cond_destroy(ZSTD_pthread_cond_t* cond);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp80 void NORETURN CheckFailed(const char *file, int, const char *cond, u64, u64) {
84 message(cond);
/freebsd-current/lib/libc/include/isc/
H A Dlist.h25 #define INSIST(cond) assert(cond)
/freebsd-current/sys/sys/
H A Drefcount.h175 #define _refcount_release_if_cond(cond, name) \
184 if (!(cond)) \
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.h35 ZSTD_pthread_cond_t cond; member in struct:COVER_best_s
/freebsd-current/contrib/lua/src/
H A Dlauxlib.h133 #define luaL_argcheck(L, cond,arg,extramsg) \
134 ((void)(luai_likely(cond) || luaL_argerror(L, (arg), (extramsg))))
136 #define luaL_argexpected(L,cond,arg,tname) \
137 ((void)(luai_likely(cond) || luaL_typeerror(L, (arg), (tname))))
/freebsd-current/bin/sh/
H A Darith_yacc.c278 static arith_t cond(int token, union yystype *val, int op, int noeval) function
295 c = cond(token, val, yylex(), noeval | !!a);
308 return cond(var, &val, op, noeval);
311 return cond(var, &val, op, noeval);
/freebsd-current/sys/dev/ocs_fc/
H A Docs_utils.h243 extern void _ocs_assert(const char *cond, const char *filename, int linenum);
245 #define ocs_assert(cond, ...) \
247 if (!(cond)) { \
248 _ocs_assert(#cond, __FILE__, __LINE__); \
H A Docs_list.h52 #define ocs_list_assert(cond, ...) \
53 if (!(cond)) { \
58 #define ocs_list_assert(cond, ...)
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarmod-ifelse.exp4 make: Bad conditional expression ' == ""' before '?bad-cond:bad-cond'
5 make: "varmod-ifelse.mk" line 46: Malformed conditional (${${UNDEF} == "":?bad-cond:bad-cond})
H A Dcond-func.mk1 # $NetBSD: cond-func.mk,v 1.14 2023/11/19 21:47:52 rillig Exp $
80 # allowed for the 'empty' function (see cond-func-empty.mk), therefore
89 # .if directive, this function is defined(); see "struct If ifs" in cond.c.
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h90 #define RETURN_ERROR_IF(cond, err, ...) \
91 if (cond) { \
93 __FILE__, __LINE__, ZSTD_QUOTE(cond), ZSTD_QUOTE(ERROR(err))); \
/freebsd-current/sys/arm64/arm64/
H A Dundefined.c125 uint32_t cond; local
136 cond = INSN_COND(insn);
139 switch (cond) {
/freebsd-current/sys/contrib/zlib/
H A Dzutil.h224 # define Assert(cond,msg) {if(!(cond)) z_error(msg);}
231 # define Assert(cond,msg)
/freebsd-current/tools/build/
H A Dcheckstyle9.pl1626 my ($stat, $cond, $line_nr_next, $remain_next, $off_next,
1629 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
1632 $cond =~ s/\n./\n /g;
1772 my ($s, $c) = ($stat, $cond);
2239 my ($s, $c) = ($stat, $cond);
2453 my ($cond, $block) = @{$chunk};
2456 my ($whitespace) = ($cond =~ /^((?:\s*\n[+-])*\s*)/s);
2459 #print "COND<$cond> whitespace<$whitespace> offset<$offset>\n";
2467 substr($block, 0, length($cond), '');
2474 print "APW: cond<
[all...]
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcmtime.c94 pthread_cond_t cond; member in struct:work_list
149 pthread_cond_signal(&work_list->cond);
247 pthread_cond_wait(&req_work.cond, &req_work.lock);
262 pthread_cond_wait(&disc_work.cond, &disc_work.lock);
433 ret = pthread_cond_init(&req_work.cond, NULL);
435 perror("initializing cond for req work");
439 ret = pthread_cond_init(&disc_work.cond, NULL);
441 perror("initializing cond for disc work");
/freebsd-current/contrib/openbsm/bin/auditd/
H A Dauditd.c375 int cond; local
384 cond = AUC_DISABLED;
385 err_ret = audit_set_cond(&cond);

Completed in 305 milliseconds

1234567891011