/src/bin/sh/ |
mkoptions.sh | 72 COND="${line#*#}" 73 COND="#${COND%%#*}" 76 COND= 123 if [ -n "${COND}" ] 125 printf '%s\n' "${COND}" >&4 126 printf '%s\n' "${COND}" >&5 127 printf '%s\n' "${COND}" >&6 163 if [ -n "${COND}" ] 172 printf '%s _SH_OPT_%s %s\n' "${chr}" "${var}" "${COND}" [all...] |
/src/sys/arch/sparc/sparc/ |
db_disasm.c | 89 #define COND(x) (((x) & 0xf) << 25) 114 /* COND condition codes field... */ 222 {(FORMAT2(0, 2) | COND(8)), "ba", "a,m"}, 223 {(FORMAT2(0, 2) | COND(0)), "bn", "a,m"}, 224 {(FORMAT2(0, 2) | COND(9)), "bne", "a,m"}, 225 {(FORMAT2(0, 2) | COND(1)), "be", "a,m"}, 226 {(FORMAT2(0, 2) | COND(10)), "bg", "a,m"}, 227 {(FORMAT2(0, 2) | COND(2)), "ble", "a,m"}, 228 {(FORMAT2(0, 2) | COND(11)), "bge", "a,m"}, 229 {(FORMAT2(0, 2) | COND(3)), "bl", "a,m"} [all...] |
/src/sys/arch/sparc64/sparc64/ |
db_disasm.c | 94 #define COND(x) (((x) & 0xf) << 25) 119 /* COND condition codes field... */ 227 {(FORMAT2(0, 2) | COND(8)), "ba", "a,m"}, 228 {(FORMAT2(0, 2) | COND(0)), "bn", "a,m"}, 229 {(FORMAT2(0, 2) | COND(9)), "bne", "a,m"}, 230 {(FORMAT2(0, 2) | COND(1)), "be", "a,m"}, 231 {(FORMAT2(0, 2) | COND(10)), "bg", "a,m"}, 232 {(FORMAT2(0, 2) | COND(2)), "ble", "a,m"}, 233 {(FORMAT2(0, 2) | COND(11)), "bge", "a,m"}, 234 {(FORMAT2(0, 2) | COND(3)), "bl", "a,m"} [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_utils.h | 303 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ 311 if (COND) { \ 330 /* Guarantee COND check prior to timeout */ \ 332 if (COND) { \ 348 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ 356 /* Guarantee COND check prior to timeout */ \ 358 if (COND) { \ 374 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ 376 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000 [all...] |
intel_sideband.c | 504 #define COND \ 513 if (COND) { 517 ret = _wait_for(COND, timeout_base_ms * 1000, 10, 10); 535 ret = wait_for_atomic(COND, 50); 541 #undef COND
|
/src/usr.bin/make/unit-tests/ |
cond-late.mk | 1 # $NetBSD: cond-late.mk,v 1.10 2025/06/30 21:44:39 rillig Exp $ 9 # cond-short.mk. 18 all: parse-time cond-literal 23 COND.true= "yes" == "yes" 24 COND.false= "yes" != "yes" 38 cond-literal: 39 @echo ${ ${COND.true} :?yes:no} 40 @echo ${ ${COND.false} :?yes:no}
|
cond-token-plain.mk | 1 # $NetBSD: cond-token-plain.mk,v 1.23 2025/07/06 07:56:16 rillig Exp $ 208 # Before cond.c 1.276 from 2021-09-21, an expression containing the 220 # See cond-token-string.mk for similar tests where the condition is enclosed 226 # As of cond.c 1.320 from 2021-12-30, the code in CondParser_ComparisonOrLeaf 246 # situation arises in expressions of the form ${cond:?yes:no}. As of 256 COND= VAR.$${MOD_COUNT::+=1} 257 .if ${${COND} == "VAR.":?yes:no} != "yes"
|
varmod-ifelse.mk | 3 # Tests for the ${cond:?then:else} variable modifier, which evaluates either 39 COND:= ${${UNDEF} == "":?bad-assign:bad-assign} 47 .if ${${UNDEF} == "":?bad-cond:bad-cond} 153 # Since cond.c 1.262 from 2021-04-20, make reports a more specific error
|
/src/common/include/x86emu/ |
x86emu_regs.h | 122 #define CONDITIONAL_SET_FLAG(COND,FLAG) \ 123 if (COND) SET_FLAG(FLAG); else CLEAR_FLAG(FLAG)
|
/src/sys/arch/sun3/dev/ |
dma.c | 151 #define DMAWAIT(SC, COND, MSG, DONTPANIC) do if (COND) { \ 153 while ((COND) && --count > 0) \
|
/src/usr.bin/make/ |
cond.c | 1 /* $NetBSD: cond.c,v 1.378 2025/07/06 07:56:16 rillig Exp $ */ 77 * '.if <cond>', '.elifnmake <cond>', '.else', '.endif'. 92 /* "@(#)cond.c 8.2 (Berkeley) 1/2/94" */ 93 MAKE_RCSID("$NetBSD: cond.c,v 1.378 2025/07/06 07:56:16 rillig Exp $"); 184 ToToken(bool cond) 186 return cond ? TOK_TRUE : TOK_FALSE; 306 DEBUG2(COND, "\"%s\" exists in \"%s\"\n", file, path); 308 DEBUG1(COND, "\"%s\" does not exist\n", file); 511 DEBUG3(COND, "Comparing %f %s %f\n", lhs, opname[op], rhs) [all...] |
/src/sys/dev/ic/ |
lsi64854.c | 146 #define DMAWAIT(SC, COND, MSG, DONTPANIC) do if (COND) { \ 148 while ((COND) && --count > 0) DELAY(1); \
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_display_power.c | 1163 #define COND \ 1166 if (COND) 1174 if (wait_for(COND, 100)) 1179 #undef COND 1746 #define COND \ 1749 if (COND) 1757 if (wait_for(COND, 100)) 1762 #undef COND
|
/src/sys/external/bsd/acpica/dist/tests/misc/ |
grammar.asl | 83 grammar.asl 1804: Method (COND) 84 Warning 1087 - ^ Not all control paths return a value (COND) 1028 COND() 1821 Method (COND)
|