Searched refs:cond (Results 51 - 75 of 256) sorted by relevance

1234567891011

/freebsd-current/contrib/expat/tests/
H A Dminicheck.h88 # define assert_true(cond) \
90 if (! (cond)) { \
91 _fail(__FILE__, __LINE__, "check failed: " #cond); \
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dbackground_thread_structs.h25 pthread_cond_t cond; member in struct:background_thread_info_s
/freebsd-current/contrib/ofed/opensm/complib/
H A Dcl_threadpool.c64 pthread_cond_wait(&p_thread_pool->cond,
91 pthread_cond_init(&p_thread_pool->cond, NULL);
135 pthread_cond_destroy(&p_thread_pool->cond);
147 ret = pthread_cond_signal(&p_thread_pool->cond);
/freebsd-current/contrib/ofed/opensm/include/complib/
H A Dcl_threadpool.h99 pthread_cond_t cond; member in struct:_cl_thread_pool
118 * mutex for cond variable protection
120 * cond
H A Dcl_timer_osd.h70 pthread_cond_t cond; member in struct:_cl_timer_t
/freebsd-current/sys/cddl/dev/kinst/aarch64/
H A Dkinst_isa.c26 uint8_t cond, reg, bitpos; local
54 /* b.cond */
58 cond = instr & 0xf;
59 switch ((cond >> 1) & 0x7) {
89 if ((cond & 0x1) && cond != 0b1111)
104 cond = (instr >> 24) & 0x1;
109 if (cond == 1 && frame->tf_x[reg] != 0)
112 else if (cond == 0 && frame->tf_x[reg] == 0)
119 cond
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h87 #define BUG_ON(cond) do { \
88 if (cond) { \
90 __stringify(cond), __FILE__, __LINE__); \
95 #define WARN_ON(cond) ({ \
96 bool __ret = (cond); \
99 __stringify(cond), __FILE__, __LINE__); \
106 #define WARN_ON_SMP(cond) WARN_ON(cond)
108 #define WARN_ON_ONCE(cond) ({ \
110 bool __ret = (cond); \
[all...]
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_stats.h98 pthread_cond_t cond; member in struct:osm_stats
172 pthread_cond_signal(&stats->cond);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_termination.cpp67 void NORETURN CheckFailed(const char *file, int line, const char *cond, argument
71 SanitizerToolName, StripModuleName(file), line, cond, (uptr)v1,
/freebsd-current/contrib/bmake/unit-tests/
H A Dcond-late.mk1 # $NetBSD: cond-late.mk,v 1.6 2023/12/10 20:12:28 rillig Exp $
9 # cond-short.mk.
18 all: cond-literal
28 cond-literal:
H A DMakefile65 TESTS+= cond-cmp-numeric
66 TESTS+= cond-cmp-numeric-eq
67 TESTS+= cond-cmp-numeric-ge
68 TESTS+= cond-cmp-numeric-gt
69 TESTS+= cond-cmp-numeric-le
70 TESTS+= cond-cmp-numeric-lt
71 TESTS+= cond-cmp-numeric-ne
72 TESTS+= cond-cmp-string
73 TESTS+= cond-cmp-unary
74 TESTS+= cond
[all...]
H A Dcond-op.mk1 # $NetBSD: cond-op.mk,v 1.16 2023/06/01 20:56:35 rillig Exp $
6 # cond-op-and.mk
7 # cond-op-not.mk
8 # cond-op-or.mk
9 # cond-op-parentheses.mk
66 # Before cond.c 1.286 from 2021-12-10, the extra expression was evaluated
126 # This obviously malformed condition was not detected as such before cond.c
135 # This obviously malformed condition was not detected as such before cond.c
H A Dcond-eof.mk1 # $NetBSD: cond-eof.mk,v 1.6 2023/11/19 21:47:52 rillig Exp $
11 # parse error. Before cond.c 1.286 from 2021-12-10, it was always fully
/freebsd-current/include/ssp/
H A Dssp.h72 #define __ssp_redirect_raw(rtype, fun, symbol, args, call, cond, bos) \
76 if (cond) \
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp230 const Stmt *cond = pred->getTerminatorCondition(); local
232 //assert(cond && "CFGBlock's predecessor has a terminator condition");
235 if (!cond)
239 return containsMacro(cond) || containsEnum(cond) ||
240 containsStaticLocal(cond) || containsBuiltinOffsetOf(cond) ||
241 containsStmt<UnaryExprOrTypeTraitExpr>(cond);
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dutil-internal.h360 #define EVUTIL_ASSERT(cond) EVUTIL_NIL_CONDITION_(cond)
361 #define EVUTIL_FAILURE_CHECK(cond) 0
363 #define EVUTIL_ASSERT(cond) \
365 if (EVUTIL_UNLIKELY(!(cond))) { \
368 __FILE__,__LINE__,#cond,__func__); \
373 __FILE__,__LINE__,#cond,__func__); \
377 #define EVUTIL_FAILURE_CHECK(cond) EVUTIL_UNLIKELY(cond)
/freebsd-current/contrib/libevent/
H A Dutil-internal.h360 #define EVUTIL_ASSERT(cond) EVUTIL_NIL_CONDITION_(cond)
361 #define EVUTIL_FAILURE_CHECK(cond) 0
363 #define EVUTIL_ASSERT(cond) \
365 if (EVUTIL_UNLIKELY(!(cond))) { \
368 __FILE__,__LINE__,#cond,__func__); \
373 __FILE__,__LINE__,#cond,__func__); \
377 #define EVUTIL_FAILURE_CHECK(cond) EVUTIL_UNLIKELY(cond)
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/
H A Dassert.h70 #define VERIFY(cond) \
71 (void) ((!(cond)) && \
72 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__))
74 #define VERIFYF(cond, STR, ...) \
76 if (!(cond)) \
78 "%s " STR, #cond, \
82 #define verify(cond) \
83 (void) ((!(cond)) && \
84 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__))
/freebsd-current/contrib/lib9p/pytest/
H A Dsequencer.py589 def append_encdec(self, cond, code):
590 "add EncDec en/de-coder, conditional on cond"
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, cod
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libpthread/
H A Dt_condwait.c56 pthread_cond_t cond; local
64 pthread_cond_init(&cond, &attr);
77 switch (ret = pthread_cond_timedwait(&cond, &m, &ts)) {
/freebsd-current/sys/dev/rtwn/
H A Dif_rtwnreg.h133 const uint8_t cond[RTWN_MAX_CONDITIONS]; member in struct:rtwn_bb_prog
140 const uint8_t cond[RTWN_MAX_CONDITIONS]; member in struct:rtwn_agc_prog
151 const uint8_t cond[RTWN_MAX_CONDITIONS]; member in struct:rtwn_rf_prog
/freebsd-current/usr.bin/calendar/tests/
H A DMakefile14 ${PACKAGE}FILES+= calendar.cond
15 ${PACKAGE}FILES+= regress.cond.out
16 ${PACKAGE}FILES+= cond.sh
/freebsd-current/usr.bin/bmake/unit-tests/
H A DMakefile68 TESTS+= cond-cmp-numeric
69 TESTS+= cond-cmp-numeric-eq
70 TESTS+= cond-cmp-numeric-ge
71 TESTS+= cond-cmp-numeric-gt
72 TESTS+= cond-cmp-numeric-le
73 TESTS+= cond-cmp-numeric-lt
74 TESTS+= cond-cmp-numeric-ne
75 TESTS+= cond-cmp-string
76 TESTS+= cond-cmp-unary
77 TESTS+= cond
[all...]
/freebsd-current/contrib/atf/atf-c/detail/
H A Dsanity_test.c90 do_test(enum type t, bool cond) argument
99 struct test_data td = { t, cond };
115 if (!cond) {
124 if (!cond) {
/freebsd-current/usr.bin/mail/
H A Dglob.h47 extern int cond; /* Current state of conditional exc. */

Completed in 158 milliseconds

1234567891011