Searched refs:shift (Results 1 - 25 of 402) sorted by relevance

1234567891011>>

/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.quantmany.d31 int64_t val, shift;
36 val = -(1 << shift);
37 shift++;
41 /shift == 32/
49 val = (1 << shift);
54 @[shift] = quantize(val, val);
/freebsd-10-stable/lib/libc/quad/
H A Dashldi3.c43 * Shift a (signed) quad value left (arithmetic shift left).
44 * This is the same as logical shift left!
47 __ashldi3(a, shift)
49 qshift_t shift;
54 if (shift >= LONG_BITS) {
55 aa.ul[H] = shift >= QUAD_BITS ? 0 :
56 aa.ul[L] << (shift - LONG_BITS);
58 } else if (shift > 0) {
59 aa.ul[H] = (aa.ul[H] << shift) |
60 (aa.ul[L] >> (LONG_BITS - shift));
[all...]
H A Dlshldi3.c43 * Shift an (unsigned) quad value left (logical shift left).
44 * This is the same as arithmetic shift left!
47 __lshldi3(a, shift)
49 qshift_t shift;
54 if (shift >= LONG_BITS) {
55 aa.ul[H] = shift >= QUAD_BITS ? 0 :
56 aa.ul[L] << (shift - LONG_BITS);
58 } else if (shift > 0) {
59 aa.ul[H] = (aa.ul[H] << shift) |
60 (aa.ul[L] >> (LONG_BITS - shift));
[all...]
H A Dlshrdi3.c43 * Shift an (unsigned) quad value right (logical shift right).
46 __lshrdi3(a, shift)
48 qshift_t shift;
53 if (shift >= LONG_BITS) {
54 aa.ul[L] = shift >= QUAD_BITS ? 0 :
55 aa.ul[H] >> (shift - LONG_BITS);
57 } else if (shift > 0) {
58 aa.ul[L] = (aa.ul[L] >> shift) |
59 (aa.ul[H] << (LONG_BITS - shift));
60 aa.ul[H] >>= shift;
[all...]
H A Dashrdi3.c43 * Shift a (signed) quad value right (arithmetic shift right).
46 __ashrdi3(a, shift)
48 qshift_t shift;
53 if (shift >= LONG_BITS) {
57 * Smear bits rightward using the machine's right-shift
60 * LONG_BITS is undefined, so we shift (LONG_BITS-1),
64 aa.ul[L] = shift >= QUAD_BITS ? s :
65 aa.sl[H] >> (shift - LONG_BITS);
67 } else if (shift > 0) {
68 aa.ul[L] = (aa.ul[L] >> shift) |
[all...]
/freebsd-10-stable/sys/libkern/
H A Dlshrdi3.c40 * Shift an (unsigned) quad value right (logical shift right).
43 __lshrdi3(a, shift)
45 qshift_t shift;
50 if (shift >= LONG_BITS) {
51 aa.ul[L] = shift >= QUAD_BITS ? 0 :
52 aa.ul[H] >> (shift - LONG_BITS);
54 } else if (shift > 0) {
55 aa.ul[L] = (aa.ul[L] >> shift) |
56 (aa.ul[H] << (LONG_BITS - shift));
57 aa.ul[H] >>= shift;
[all...]
H A Dashldi3.c40 * Shift a (signed) quad value left (arithmetic shift left).
41 * This is the same as logical shift left!
44 __ashldi3(a, shift)
46 qshift_t shift;
51 if (shift >= LONG_BITS) {
52 aa.ul[H] = shift >= QUAD_BITS ? 0 :
53 aa.ul[L] << (shift - LONG_BITS);
55 } else if (shift > 0) {
56 aa.ul[H] = (aa.ul[H] << shift) |
57 (aa.ul[L] >> (LONG_BITS - shift));
[all...]
H A Dashrdi3.c40 * Shift a (signed) quad value right (arithmetic shift right).
43 __ashrdi3(a, shift)
45 qshift_t shift;
50 if (shift >= LONG_BITS) {
54 * Smear bits rightward using the machine's right-shift
57 * LONG_BITS is undefined, so we shift (LONG_BITS-1),
61 aa.ul[L] = shift >= QUAD_BITS ? s :
62 aa.sl[H] >> (shift - LONG_BITS);
64 } else if (shift > 0) {
65 aa.ul[L] = (aa.ul[L] >> shift) |
[all...]
/freebsd-10-stable/lib/libutil/
H A Dexpand_number.c44 unsigned shift; local
59 shift = 60;
62 shift = 50;
65 shift = 40;
68 shift = 30;
71 shift = 20;
74 shift = 10;
86 if ((number << shift) >> shift != number) {
91 *num = number << shift;
[all...]
/freebsd-10-stable/contrib/compiler-rt/lib/
H A Dfloatunsisf.c34 // Shift a into the significand field, rounding if it is a right-shift
36 const int shift = significandBits - exponent; local
37 result = (rep_t)a << shift ^ implicitBit;
39 const int shift = exponent - significandBits; local
40 result = (rep_t)a >> shift ^ implicitBit;
41 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatsisf.c42 // Shift a into the significand field, rounding if it is a right-shift
44 const int shift = significandBits - exponent; local
45 result = (rep_t)a << shift ^ implicitBit;
47 const int shift = exponent - significandBits; local
48 result = (rep_t)a >> shift ^ implicitBit;
49 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatsidf.c45 const int shift = significandBits - exponent; local
46 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
H A Dfloatunsidf.c35 const int shift = significandBits - exponent; local
36 result = (rep_t)a << shift ^ implicitBit;
/freebsd-10-stable/lib/libc/stdlib/
H A Da64l.c27 long shift; local
31 shift = 0;
42 value |= digit << shift;
43 shift += 6;
/freebsd-10-stable/sys/gnu/dts/arm/
H A Domap446x-clocks.dtsi15 ti,bit-shift = <24>;
24 ti,bit-shift = <8>;
H A Domap443x-clocks.dtsi15 ti,bit-shift = <8>;
H A Domap3xxx-clocks.dtsi28 ti,bit-shift = <6>;
39 ti,bit-shift = <7>;
87 ti,bit-shift = <4>;
101 ti,bit-shift = <2>;
115 ti,bit-shift = <6>;
142 ti,bit-shift = <2>;
223 ti,bit-shift = <0x1b>;
247 ti,bit-shift = <16>;
265 ti,bit-shift = <0xc>;
294 ti,bit-shift
[all...]
H A Domap34xx-omap36xx-clocks.dtsi23 ti,bit-shift = <3>;
32 ti,bit-shift = <2>;
40 ti,bit-shift = <1>;
48 ti,bit-shift = <0>;
55 ti,bit-shift = <0>;
65 ti,bit-shift = <0>;
73 ti,bit-shift = <1>;
89 ti,bit-shift = <4>;
97 ti,bit-shift = <29>;
105 ti,bit-shift
[all...]
H A Domap2430-clocks.dtsi29 ti,bit-shift = <2>;
43 ti,bit-shift = <4>;
59 ti,bit-shift = <0>;
67 ti,bit-shift = <5>;
83 ti,bit-shift = <0>;
105 ti,bit-shift = <1>;
113 ti,bit-shift = <3>;
121 ti,bit-shift = <3>;
129 ti,bit-shift = <4>;
137 ti,bit-shift
[all...]
H A Domap3430es1-clocks.dtsi16 ti,bit-shift = <0>;
41 ti,bit-shift = <1>;
49 ti,bit-shift = <2>;
57 ti,bit-shift = <3>;
65 ti,bit-shift = <5>;
72 ti,bit-shift = <0>;
80 ti,bit-shift = <8>;
104 ti,bit-shift = <4>;
112 ti,bit-shift = <8>;
128 ti,bit-shift
[all...]
H A Domap2420-clocks.dtsi16 ti,bit-shift = <15>;
24 ti,bit-shift = <8>;
38 ti,bit-shift = <11>;
48 ti,bit-shift = <1>;
56 ti,bit-shift = <5>;
72 ti,bit-shift = <10>;
80 ti,bit-shift = <8>;
103 ti,bit-shift = <8>;
111 ti,bit-shift = <28>;
119 ti,bit-shift
[all...]
H A Domap24xx-clocks.dtsi15 ti,bit-shift = <2>;
29 ti,bit-shift = <6>;
81 ti,bit-shift = <23>;
97 ti,bit-shift = <6>;
106 ti,bit-shift = <6>;
135 ti,bit-shift = <2>;
136 ti,idlest-shift = <8>;
145 ti,bit-shift = <6>;
146 ti,idlest-shift = <9>;
155 ti,bit-shift
[all...]
H A Dam35xx-clocks.dtsi16 ti,bit-shift = <1>;
24 ti,bit-shift = <9>;
32 ti,bit-shift = <2>;
40 ti,bit-shift = <10>;
48 ti,bit-shift = <0>;
56 ti,bit-shift = <8>;
64 ti,bit-shift = <3>;
73 ti,bit-shift = <4>;
93 ti,bit-shift = <23>;
101 ti,bit-shift
[all...]
/freebsd-10-stable/contrib/bmake/mk/
H A Dlinks.mk42 l=$$1; shift; \
43 t=${DESTDIR}$$1; shift; \
49 l=${DESTDIR}$$1; shift; \
50 t=${DESTDIR}$$1; shift; \
64 l=$$1; shift; \
65 t=$$1; shift; \
71 l=$$1; shift; \
72 t=$$1; shift; \
/freebsd-10-stable/contrib/apr-util/strmatch/
H A Dapr_strmatch.c39 apr_size_t *shift = (apr_size_t *)(this_pattern->context); local
53 s_next += shift[(int)*((const unsigned char *)s_next)];
63 apr_size_t *shift = (apr_size_t *)(this_pattern->context); local
77 s_next += shift[(unsigned char)apr_tolower(*s_next)];
88 apr_size_t *shift; local
99 shift = (apr_size_t *)apr_palloc(p, sizeof(apr_size_t) * NUM_CHARS);
101 shift[i] = pattern->length;
106 shift[(unsigned char)s[i]] = pattern->length - i - 1;
112 shift[(unsigned char)apr_tolower(s[i])] = pattern->length - i - 1;
115 pattern->context = shift;
[all...]

Completed in 288 milliseconds

1234567891011>>