| /src/sys/arch/ews4800mips/stand/common/ |
| floppy_2hc.c | 39 int sector, side, cylinder; local in function:blk_to_2hc_position 52 side = logical_block_number - (cylinder * 15 * 2) > 14; 53 sector = logical_block_number - (side + cylinder * 2) * 15; 56 *position = (cylinder << 16) | (side << 8) | (sector + 1);
|
| floppy_2hd_ibmpc.c | 39 int sector, side, cylinder; local in function:blk_to_2hd_position 52 side = logical_block_number - (cylinder * 18 * 2) > 17; 53 sector = logical_block_number - (side + cylinder * 2) * 18; 56 *position = (cylinder << 16) | (side << 8) | (sector + 1);
|
| floppy_2d.c | 39 int i, sector, side, cylinder; local in function:blk_to_2d_position 42 * 2D: MFM format (cylinder 0 side 0 is FM format) 46 * 256 bytes/sector (cylinder 0 side 0 is 128 bytes/sector) 56 side = i - (cylinder * 26 * 2) > 25; 57 sector = i - (side + cylinder * 2) * 26; 59 *position = (cylinder << 16) | (side << 8) | (sector + 1);
|
| /src/sys/dev/isa/ |
| ics2101.c | 73 ics2101_mix_doit(struct ics2101_softc *sc, u_int chan, u_int side, u_int value, u_int flags) 84 if (side != ICSMIX_LEFT && side != ICSMIX_RIGHT) 88 value = cvt_value(sc->sc_setting[chan][side]); 89 sc->sc_mute[chan][side] = flags & ICS_MUTE_MUTED; 91 sc->sc_setting[chan][side] = value; 101 if (side == ICSMIX_LEFT) { 104 if (sc->sc_mute[chan][side]) 113 if (sc->sc_mute[chan][side]) 129 ics2101_mix_mute(struct ics2101_softc *sc, unsigned int chan, unsigned int side, unsigned int domute [all...] |
| /src/usr.bin/make/unit-tests/ |
| cond-eof.mk | 7 SIDE_EFFECT= ${:!echo 'side effect' 1>&2!} 8 SIDE_EFFECT2= ${:!echo 'side effect 2' 1>&2!} 15 # case they have side effects.
|
| cond-token-var.mk | 20 # A defined variable may appear on either side of the comparison. 28 # A variable that appears on the left-hand side must be defined. 34 # A variable that appears on the right-hand side must be defined. 58 # A defined variable may appear on either side of the comparison. 62 # A variable on the left-hand side must be defined. 67 # A variable on the right-hand side must be defined. 104 # The left-hand side of a comparison must not be an unquoted word. 109 # The left-hand side of a comparison must not be an unquoted word. 114 # The left-hand side of a comparison must not be an unquoted word. 139 # The left-hand side of a comparison must not be an undefined expression wit [all...] |
| opt-raw.mk | 6 # To provide a clean testing environment without unintended side effects,
|
| parse-var.mk | 53 # in a condition, left-hand side, unquoted 54 # in a condition, left-hand side, quoted 55 # in a condition, right-hand side, unquoted 56 # in a condition, right-hand side, quoted 57 # left-hand side of a variable assignment 58 # right-hand side of a ':=' variable assignment 59 # right-hand side of a '!=' variable assignment 75 # What other side effects are there? 80 # side of the assignment, but only if they occur inside expressions.
|
| cond-cmp-string.mk | 11 # The right-hand side of the comparison may be written without quotes. 16 # The left-hand side of the comparison must be enclosed in quotes. 23 # An expression that occurs on the left-hand side of the comparison must be 103 # If at least one side of the comparison is a string literal, the string 109 # If at least one side of the comparison is a string literal, the string 110 # comparison is performed. The ".0" in the left-hand side makes the two
|
| dotwait.mk | 43 # recursive: all children of the left hand side of the .WAIT 44 # must be made before any child of the right hand side. 51 # the right hand side of the .WAIT.
|
| dir.mk | 16 # on the left-hand side of a dependency operator. However, it is listed 56 # There may be multiple brace groups side by side.
|
| suff-main.mk | 19 # inference rule (OP_TRANSFORM). As a side effect, this target is no longer
|
| varmod-loop-delete.mk | 3 # Tests for the variable modifier ':@', which as a side effect allows to 6 # A side effect of the modifier ':@' is that the loop variable is created as
|
| cond-op-and.mk | 22 # The right-hand side is not evaluated since the left-hand side is already
|
| cond-op-or.mk | 22 # The right-hand side is not evaluated since the left-hand side is already
|
| cond-short.mk | 3 # Demonstrates that in conditions, the right-hand side of an && or || 9 # Before 2020-06-28, the right-hand side of an && or || operator was always 151 # The left-hand side of the '&&' evaluated to false, which should have made 152 # the right-hand side irrelevant. 154 # On the right-hand side of the '&&', the expression ${INDIR_UNDEF} was 156 # undefined. The right hand side "${INDIR_UNDEF}" still needed to be parsed, 159 # right hand side of the '&&' should have been irrelevant, the two sides of 185 # side of the '&&' irrelevant. Back then, irrelevant condition parts were 227 # Due to the quotes around the left-hand side of the '<', the operand is 237 # The right-hand side of '||' is irrelevant and thus not evaluated [all...] |
| cond-token-plain.mk | 47 # The right-hand side of a comparison is not parsed as a token, therefore 149 # If the right-hand side is missing, it's a parse error. 150 # expect+1: Missing right-hand side of operator "==" 157 # If the left-hand side is missing, it's a parse error as well, but without 203 # In a condition in an .if directive, the left-hand side must not be an 228 # bare word and second for parsing the left-hand side of a comparison. 230 # In '.if' directives, the left-hand side of a comparison must not be a bare 232 # for the second time. The right-hand side of a comparison may be a bare 233 # word, but that side has no risk of being parsed more than once. 263 # have side effects, making this problem rather academic, but it is there [all...] |
| cond-token-string.mk | 27 # The 'x' produces a "Malformed conditional" since the left-hand side of a 98 # In the conditions in .if directives, the left-hand side of a comparison must 99 # be enclosed in quotes. The right-hand side does not need to be enclosed in
|
| varmod-exclam-shell.mk | 12 # Truncating the output is not necessarily intended but may also be a side
|
| directive-for-if.mk | 29 # Since bare words were not allowed at the left-hand side of a condition, 40 # side of a condition, but that applies only to expression of the form 66 # 2008.11.30.22.37.55 does not complain about the left-hand side ${var}. 80 # ordinary variables, referring to an undefined variable on the left-hand side
|
| /src/sys/arch/mac68k/obio/ |
| iwm_fd.c | 179 /* Table of GCR disk zones for one side (see IM II-211, The Disk Driver) */ 1099 /* Calculate the side/track/sector our block is at. */ 1106 fd->pos.side, fd->pos.sector); 1108 if (fd->cachedSide != fd->pos.side) { 1112 fd->cachedSide = fd->pos.side; 1160 pos->track, pos->side, pos->sector); 1173 shdr->side = pos->side; 1177 (void)iwmSelectSide(pos->side); 1184 shdr->track, shdr->side >> 3 [all...] |
| iwm_fdvar.h | 81 short tracks; /* # of tracks per side (cyl's) */ 99 short side; member in struct:diskPosition
|
| /src/sys/arch/atari/stand/xxboot/fdboot/ |
| fdboot.S | 54 .word 0 | side 83 movq #0,%d1 | side 186 movw %d3,%d1 | side 195 movw %d1,%sp@- | side
|
| /src/games/hunt/hunt/ |
| otto.c | 230 stop_look(struct item *itemp, char c, int dist, int side) 235 if (side) 248 if (side < 0) 250 else if (side > 0) 262 if (itemp->distance == -1 || (!side 268 if (side < 0) 270 else if (side > 0) 282 if (side < 0) 284 else if (side > 0) 290 if (side) [all...] |
| /src/games/hack/ |
| hack.do.c | 504 long side = local in function:dothrow 508 (side == LEFT_SIDE) ? "left" : "right"); 509 set_wounded_legs(side, 500 + rn2(1000)); 559 set_wounded_legs(long side, int timex) 562 Wounded_legs |= side + timex; 564 Wounded_legs |= side;
|