Searched refs:shift (Results 151 - 175 of 296) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/nvi/common/
H A Dkey.c251 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 Duart_kbd_sun.c116 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 Dclock.c175 * 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 Dkern_ntptime.c147 #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 Dcpuregs.h439 #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 Dkeyserv.c231 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 Dexpr.c464 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 Dsati_passthrough.c75 #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 Dmkpar.c112 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 Dntptime.c346 ftemp, 1 << ntx.shift);
359 if (ntx.shift == 0)
/freebsd-9.3-release/contrib/gcc/
H A Ddojump.c247 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 Dexpmed.c99 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 Dvarasm.c3084 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 Dreal.c80 #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 DAPFloat.cpp990 // 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 Dtc-arc.c308 << 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 Dtc-s390.c592 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 Dcxgbetool.c75 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 Dhashtab.c129 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 Dasn1.c202 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 Dhashtab.c129 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 Ddt_cg.c245 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 Dadb_kbd.c136 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 DREADME40 conflicts: 43 shift/reduce, 85 reduce/reduce
/freebsd-9.3-release/sys/arm/econa/
H A Dif_ece.c1197 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));

Completed in 263 milliseconds

1234567891011>>