/freebsd-9.3-release/contrib/nvi/common/ |
H A D | key.c | 251 int cnt, shift; local 299 shift = SHIFT - 3; 301 cnt = BITS / 3; cnt-- > 0; mask >>= 3, shift -= 3) 302 sp->cname[len++] = octdigit[(ch & mask) >> shift]; 369 * If there are currently items in the queue, shift them up,
|
/freebsd-9.3-release/sys/dev/uart/ |
H A D | uart_kbd_sun.c | 116 static int keycode2scancode(int keycode, int shift, int up); 495 case 0x2a: /* left shift */ 496 case 0x36: /* right shift */ 831 keycode2scancode(int keycode, int shift, int up) argument 863 if ((keycode == 104) && !(shift & CTLS)) 865 if (shift & SHIFTS)
|
/freebsd-9.3-release/sys/i386/xen/ |
H A D | clock.c | 175 * into a shift. 193 scale_delta(uint64_t delta, uint32_t mul_frac, int shift) argument 198 if ( shift < 0 ) 199 delta >>= -shift; 201 delta <<= shift; local
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_ntptime.c | 147 #define SHIFT_PLL 4 /* PLL loop gain (shift) */ 148 #define SHIFT_FLL 2 /* FLL loop gain (shift) */ 154 static long time_constant; /* poll interval (shift) (s) */ 172 #define PPS_FAVG 2 /* min freq avg interval (s) (shift) */ 173 #define PPS_FAVGDEF 8 /* default freq avg int (s) (shift) */ 174 #define PPS_FAVGMAX 15 /* max freq avg interval (s) (shift) */ 175 #define PPS_PAVG 4 /* phase avg interval (s) (shift) */ 178 #define PPS_POPCORN 2 /* popcorn spike threshold (shift) */ 187 static int pps_shift = PPS_FAVG; /* interval duration (s) (shift) */ 188 static int pps_shiftmax = PPS_FAVGDEF; /* max interval duration (s) (shift) */ [all...] |
/freebsd-9.3-release/sys/mips/include/ |
H A D | cpuregs.h | 439 #define MIPS3_CONFIG_CACHE_SIZE(config, mask, base, shift) \ 440 ((base) << (((config) & (mask)) >> (shift))) 510 #define MIPS4_CONFIG_CACHE_SIZE(config, mask, base, shift) \ 511 ((base) << (((config) & (mask)) >> (shift))) 820 * r3000: shift count to put the index in the right spot.
|
/freebsd-9.3-release/usr.sbin/keyserv/ |
H A D | keyserv.c | 231 int shift; local 236 shift = i % 8 * sizeof (int); 237 seed ^= (tv.tv_usec << shift) | (tv.tv_usec >> (32 - shift));
|
/freebsd-9.3-release/contrib/gcclibs/libcpp/ |
H A D | expr.c | 464 unsigned int shift; local 473 shift = 1; 477 shift = 4; 481 shift = 3; 483 overflow = !!(num.high >> (PART_PRECISION - shift)); 484 result.high = num.high << shift; 485 result.low = num.low << shift; 486 result.high |= num.low >> (PART_PRECISION - shift); 1373 /* A negative shift is a positive shift th [all...] |
/freebsd-9.3-release/sys/dev/isci/scil/ |
H A D | sati_passthrough.c | 75 #define PASSTHROUGH_ISOLATE_BITS(cdb, index, mask, shift) (((sati_get_cdb_byte(cdb, index) & mask) >> shift))
|
/freebsd-9.3-release/usr.bin/yacc/ |
H A D | mkpar.c | 112 tostate = sp->shift; 204 tostate = p->shift; 332 warnx("1 shift/reduce conflict"); 334 warnx("%d shift/reduce conflicts", SRtotal);
|
/freebsd-9.3-release/contrib/ntp/util/ |
H A D | ntptime.c | 346 ftemp, 1 << ntx.shift); 359 if (ntx.shift == 0)
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | dojump.c | 247 tree shift = TREE_OPERAND (exp0, 1); 249 if (TREE_CODE (shift) == INTEGER_CST 250 && compare_tree_int (shift, 0) >= 0 251 && compare_tree_int (shift, HOST_BITS_PER_WIDE_INT) < 0 253 TREE_INT_CST_LOW (shift))) 256 << TREE_INT_CST_LOW (shift); 246 tree shift = TREE_OPERAND (exp0, 1); local
|
H A D | expmed.c | 99 shift count and some by mode. */ 129 struct rtx_def shift; rtunion shift_fld1; member in struct:__anon1152 194 PUT_CODE (&all.shift, ASHIFT); 195 XEXP (&all.shift, 0) = &all.reg; 221 PUT_MODE (&all.shift, mode); 255 XEXP (&all.shift, 1) = cint[m]; 258 shift_cost[mode][m] = rtx_cost (&all.shift, SET); 1771 shift it so it does. */ 1773 /* Maybe propagate the target for the shift. */ 1793 /* To extract a signed bit-field, first shift it 1905 rtx base, a1, a2, v1, v2, comb, shift, result, start; local 3175 int shift = floor_log2 (CONST_DOUBLE_HIGH (op1)) local 3608 rtx result, temp, shift, label; local 3709 tree shift; local [all...] |
H A D | varasm.c | 3084 const int shift = sizeof (hashval_t) * CHAR_BIT; 3091 hwi >>= shift; 4430 int shift; 4453 shift = end_offset - next_offset - this_time; 4459 if (shift < HOST_BITS_PER_WIDE_INT 4460 && shift + this_time > HOST_BITS_PER_WIDE_INT) 4462 this_time = shift + this_time - HOST_BITS_PER_WIDE_INT; 4463 shift = HOST_BITS_PER_WIDE_INT; 4467 if (shift < HOST_BITS_PER_WIDE_INT) 4471 gcc_assert (shift < 3068 const int shift = sizeof (hashval_t) * CHAR_BIT; local 3075 hwi >>= shift; local 4404 int shift; local [all...] |
H A D | real.c | 80 #error "Some constant folding done by hand to avoid shift count warnings" 168 /* Right-shift the significand of A by N bits; put the result in the 207 /* Right-shift the significand of A by N bits; put the result in the 236 /* Left-shift the significand of A by N bits; put the result in the 483 int shift = 0, exp; 492 shift += HOST_BITS_PER_LONG; 508 shift += j; 510 if (shift > 0) 512 exp = REAL_EXP (r) - shift; 520 lshift_significand (r, r, shift); 481 int shift = 0, exp; local 2374 int shift; local 2444 int shift = REAL_EXP (r) & (fmt->log2_b - 1); local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | APFloat.cpp | 990 // In case MSB resides at the left-hand side of radix point, shift the 1944 int shift; 1950 shift = toSemantics.precision - fromSemantics.precision; 1965 // right shift could lose result mantissa bits. Adjust exponent instead 1966 // of performing excessive shift. 1967 if (shift < 0 && isFiniteNonZero()) { 1971 if (exponentChange < shift) 1972 exponentChange = shift; 1974 shift -= exponentChange; 1979 // If this is a truncation, perform the shift befor [all...] |
/freebsd-9.3-release/contrib/binutils/gas/config/ |
H A D | tc-arc.c | 308 << operand->shift); 1335 && operand->shift == 7); 1342 && operand->shift == 32); 1349 && operand->shift == 32); 1378 We must shift it right by 2 in this case as well because the 1643 insn |= suf->value << operand->shift; 1664 insn |= suffix->value << operand->shift; 1780 insn |= (value & ((1 << operand->bits) - 1)) << operand->shift;
|
H A D | tc-s390.c | 592 if (operand->bits == 20 && operand->shift == 20) 622 offset = operand->shift + operand->bits; 1518 f - frag_now->fr_literal + (operand->shift/8), 2040 if (operand->bits == 12 && operand->shift == 20) 2046 else if (operand->bits == 12 && operand->shift == 36) 2052 else if (operand->bits == 20 && operand->shift == 20) 2058 else if (operand->bits == 8 && operand->shift == 8) 2064 else if (operand->bits == 16 && operand->shift == 16) 2076 else if (operand->bits == 32 && operand->shift == 16
|
/freebsd-9.3-release/tools/tools/cxgbetool/ |
H A D | cxgbetool.c | 75 unsigned char shift; /* # of low order bits omitted and implicitly 0 */ member in struct:field_desc 248 xtract(uint32_t val, int shift, int len) argument 250 return (val >> shift) & ((1 << len) - 1); 1224 int shift = fd->start % 32; local 1228 data = (words[first_word] >> shift) | 1229 ((uint64_t)words[first_word + 1] << (32 - shift)); 1230 if (shift) 1231 data |= ((uint64_t)words[first_word + 2] << (64 - shift)); 1236 printf(fd->hex ? "%#llx\n" : "%llu\n", data << fd->shift);
|
/freebsd-9.3-release/contrib/binutils/libiberty/ |
H A D | hashtab.c | 129 hashval_t shift; member in struct:prime_ent 239 htab_mod_1 (hashval_t x, hashval_t y, hashval_t inv, int shift) argument 253 q = t4 >> shift; 270 return htab_mod_1 (hash, p->prime, p->inv, p->shift); 279 return 1 + htab_mod_1 (hash, p->prime - 2, p->inv_m2, p->shift);
|
/freebsd-9.3-release/contrib/bsnmp/lib/ |
H A D | asn1.c | 202 u_int lenlen, shift; local 213 /* shift value down */ 214 shift = (TEMP_LEN - 1) - lenlen; 216 b->asn_ptr -= shift; 217 b->asn_len += shift; 219 *moved = shift;
|
/freebsd-9.3-release/contrib/gcclibs/libiberty/ |
H A D | hashtab.c | 129 hashval_t shift; member in struct:prime_ent 239 htab_mod_1 (hashval_t x, hashval_t y, hashval_t inv, int shift) argument 253 q = t4 >> shift; 270 return htab_mod_1 (hash, p->prime, p->inv, p->shift); 279 return 1 + htab_mod_1 (hash, p->prime - 2, p->inv_m2, p->shift);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cg.c | 245 uint64_t shift; local 259 * ctm_offset % NBBY itself is the amount we want to shift right to 266 * properties are used to compute shift as USHIFT or SSHIFT, below. 270 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - 273 shift = mp->ctm_offset % NBBY + e.cte_bits; 275 dt_cg_setx(dlp, r2, 64 - shift); 284 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - 287 shift = mp->ctm_offset % NBBY; 289 dt_cg_setx(dlp, r2, shift); 327 uint64_t cmask, fmask, shift; local [all...] |
/freebsd-9.3-release/sys/dev/adb/ |
H A D | adb_kbd.c | 136 keycode2scancode(int keycode, int shift, int up) argument 168 if ((keycode == 104) && !(shift & CTLS)) 170 if (shift & SHIFTS)
|
/freebsd-9.3-release/contrib/one-true-awk/ |
H A D | README | 40 conflicts: 43 shift/reduce, 85 reduce/reduce
|
/freebsd-9.3-release/sys/arm/econa/ |
H A D | if_ece.c | 1197 unsigned char shift; local 1213 shift = vlan*3; 1214 val = read_4(sc, VLAN_MEMBER_PORT_MAP) & (~(0x7 << shift)); 1217 write_4(sc, VLAN_MEMBER_PORT_MAP, val | ((group & 0x7) << shift)); 1223 unsigned char shift; local 1228 shift = vlan*3; 1229 val = read_4(sc, VLAN_TAG_PORT_MAP) & (~(0x7 << shift)); 1232 write_4(sc, VLAN_TAG_PORT_MAP, val | ((tag & 0x7) << shift));
|