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

1234567891011>>

/external/chromium_org/v8/src/
H A Dmisc-intrinsics.h63 int result, shift; local
65 shift = (value > 0xFFFF) << 4;
66 value >>= shift; local
67 result = shift;
69 shift = (value > 0xFF) << 3;
70 value >>= shift; local
71 result |= shift;
73 shift = (value > 0xF) << 2;
74 value >>= shift; local
75 result |= shift;
78 value >>= shift; local
[all...]
/external/v8/src/
H A Dmisc-intrinsics.h63 int result, shift; local
65 shift = (value > 0xFFFF) << 4;
66 value >>= shift; local
67 result = shift;
69 shift = (value > 0xFF) << 3;
70 value >>= shift; local
71 result |= shift;
73 shift = (value > 0xF) << 2;
74 value >>= shift; local
75 result |= shift;
78 value >>= shift; local
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1403.js32 a.shift();
36 a.shift();
H A Dregress-299979.js33 assertThrows(function() { list.shift(); }, TypeError);
/external/v8/test/mjsunit/regress/
H A Dregress-1403.js32 a.shift();
36 a.shift();
/external/chromium_org/ui/events/keycodes/
H A Dkeyboard_code_conversion.cc13 const bool shift = (flags & EF_SHIFT_DOWN) != 0; local
14 const bool upper = shift ^ ((flags & EF_CAPS_LOCK_DOWN) != 0);
22 if (shift) {
23 // following graphics chars require shift key to input.
65 return shift ? ")!@#$%^&*("[key_code - VKEY_0] :
89 return shift ? ':' : ';';
91 return shift ? '+' : '=';
93 return shift ? '<' : ',';
95 return shift ? '_' : '-';
97 return shift
[all...]
H A Dkeyboard_code_conversion_gtk.h49 bool shift);
54 bool shift);
/external/srec/srec/cfront/
H A Dsh_down.h35 static PINLINE int fixed_point_convert(float xx, int shift);
36 static PINLINE int shift_up_inline(int value, unsigned int shift);
37 static PINLINE int shift_down_inline(int value, unsigned int shift);
42 static PINLINE int shift_up_inline(int value, unsigned int shift) argument
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift) argument
67 if (shift-- == 0)
70 return (((value >> shift) + 1) >> 1);
72 return (-((((-value) >> shift)
75 fixed_point_convert(float xx, int shift) argument
[all...]
H A Dlog_tabl.c61 logtab->shift = (int)(val + 0.5);
84 int log_lookup(log_table_info *logtab, int operand, int shift) argument
94 shift++;
98 shift++;
102 log_report("tab: %d %d -> %d\n", operand, shift,
103 (int)((shift) *(logtab->shift) + logtab->table[operand]));
105 return ((int)((shift) *(logtab->shift) + logtab->table[operand]));
122 int ii, aa, bb, cc, value, shift; local
[all...]
/external/openfst/src/include/fst/extensions/ngram/
H A Dnthbit.h26 uint32 shift = 0; local
30 shift += (32 & mask);
32 c = __builtin_popcount((v >> shift) & 0xffff);
35 shift += (16 & mask);
37 c = __builtin_popcount((v >> shift) & 0xff);
40 shift += (8 & mask);
42 return shift + ((nth_bit_bit_offset[(v >> shift) & 0xff] >>
/external/aac/libFDK/src/arm/
H A Dscale_arm.cpp106 /* It performs a fMultDiv2 and increments shift by 1 */
107 int shift = scalefactor + 1; local
110 shift = fixmin_I(shift,(INT)DFRACT_BITS-1);
112 if (shift >= 0)
124 tmp0 <<= shift; local
125 tmp1 <<= shift; local
126 tmp2 <<= shift; local
127 tmp3 <<= shift; local
137 tmp0 <<= shift; local
154 tmp0 >>= shift; local
155 tmp1 >>= shift; local
156 tmp2 >>= shift; local
157 tmp3 >>= shift; local
167 tmp0 >>= shift; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DNavigationPolicy.cpp38 bool navigationPolicyFromMouseEvent(unsigned short button, bool ctrl, bool shift, bool alt, bool meta, NavigationPolicy* policy) argument
45 if (!newTabModifier && !shift && !alt)
50 if (shift)
55 if (shift)
/external/aac/libSBRdec/src/
H A Dtranscendent.h128 int shift; local
138 shift = (int)(a_e - b_e);
140 shiftAbs = (shift>0)? shift : -shift;
142 shiftedMantissa = (shift>0)? (FX_SGL2FX_DBL(b_m) >> shiftAbs) : (FX_SGL2FX_DBL(a_m) >> shiftAbs);
143 otherMantissa = (shift>0)? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m);
144 *ptrSum_e = (shift>0)? a_e : b_e;
147 /* shift by 1 bit to avoid overflow */
166 int shift; local
215 int preShift, postShift, index, shift; local
271 int preShift, postShift, index, shift; local
347 int shift = result_e - *destScale; local
[all...]
/external/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);
/external/kernel-headers/original/linux/
H A Dbitops.h38 * @shift: bits to roll
40 static inline __u32 rol32(__u32 word, unsigned int shift) argument
42 return (word << shift) | (word >> (32 - shift));
49 * @shift: bits to roll
51 static inline __u32 ror32(__u32 word, unsigned int shift) argument
53 return (word >> shift) | (word << (32 - shift));
/external/chromium/base/
H A Dbits.h24 int shift = (1 << i); local
25 uint32 x = value >> shift;
28 log += shift;
/external/chromium_org/base/
H A Dbits.h23 int shift = (1 << i); local
24 uint32 x = value >> shift;
27 log += shift;
/external/chromium_org/chrome/test/remoting/
H A Dkey_code_conv.h18 // 3. The shift state.
21 char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dfind_LPC_FIX.c46 opus_int isInterpLower, shift; local
73 shift = res_tmp_nrg_Q - res_nrg_Q;
74 if( shift >= 0 ) {
75 if( shift < 32 ) {
76 res_nrg = res_nrg - silk_RSHIFT( res_tmp_nrg, shift );
79 silk_assert( shift > -32 );
80 res_nrg = silk_RSHIFT( res_nrg, -shift ) - res_tmp_nrg;
104 shift = rshift0 - rshift1;
105 if( shift >= 0 ) {
106 res_nrg1 = silk_RSHIFT( res_nrg1, shift );
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkEdge.cpp16 the points into FDot6. This is modulated by the shift parameter, which
20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6).
23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift).
28 // away data in value, so just perform a modify up-shift
35 int shift) {
40 float scale = float(1 << (shift + 6));
46 shift = 10 - shift;
47 x0 = p0.fX >> shift;
48 y0 = p0.fY >> shift;
34 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument
177 setQuadratic(const SkPoint pts[3], int shift) argument
284 int shift = fCurveShift; local
337 setCubic(const SkPoint pts[4], const SkIRect* clip, int shift) argument
[all...]
H A DSkBitmap_scroll.cpp26 int shift; local
31 shift = 0;
35 shift = 1;
38 shift = 2;
101 src -= dx << shift;
104 dst += dx << shift;
114 width <<= shift; // now width is the number of bytes to move per line local
/external/skia/src/core/
H A DSkEdge.cpp16 the points into FDot6. This is modulated by the shift parameter, which
20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6).
23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift).
28 // away data in value, so just perform a modify up-shift
35 int shift) {
40 float scale = float(1 << (shift + 6));
46 shift = 10 - shift;
47 x0 = p0.fX >> shift;
48 y0 = p0.fY >> shift;
34 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument
177 setQuadratic(const SkPoint pts[3], int shift) argument
284 int shift = fCurveShift; local
337 setCubic(const SkPoint pts[4], const SkIRect* clip, int shift) argument
[all...]
/external/srec/srec/include/
H A Dlog_tabl.h32 int shift; member in struct:__anon26825
40 int log_lookup(log_table_info *logtab, int operand, int shift);
/external/speex/libspeex/
H A Dfixed_generic.h45 #define SHR16(a,shift) ((a) >> (shift))
46 #define SHL16(a,shift) ((a) << (shift))
47 #define SHR32(a,shift) ((a) >> (shift))
48 #define SHL32(a,shift) ((a) << (shift))
49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>
[all...]

Completed in 891 milliseconds

1234567891011>>