Searched refs:shift (Results 26 - 50 of 1142) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_leb128.h23 size_t shift = 0; local
28 value |= static_cast<uint32_t>(byte & 127) << shift;
29 shift += 7;
49 size_t shift = 0; local
54 value |= (static_cast<ssize_t>(byte & 127) << shift);
55 shift += 7;
58 if (shift < size && (byte & 64))
59 value |= -(static_cast<ssize_t>(1) << shift);
/external/libhevc/common/mips/
H A Dihevc_platform_macros.h58 #define SHR_NEG(val,shift) ((shift>0)?(val>>shift):(val<<(-shift)))
59 #define SHL_NEG(val,shift) ((shift<0)?(val>>(-shift)):(val<<shift))
/external/srec/srec/include/
H A Dlog_tabl.h32 int shift; member in struct:__anon31116
40 int log_lookup(log_table_info *logtab, int operand, int shift);
/external/compiler-rt/lib/builtins/
H A Dfloatsisf.c43 // Shift a into the significand field, rounding if it is a right-shift
45 const int shift = significandBits - exponent; local
46 result = (rep_t)a << shift ^ implicitBit;
48 const int shift = exponent - significandBits; local
49 result = (rep_t)a >> shift ^ implicitBit;
50 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunsisf.c35 // Shift a into the significand field, rounding if it is a right-shift
37 const int shift = significandBits - exponent; local
38 result = (rep_t)a << shift ^ implicitBit;
40 const int shift = exponent - significandBits; local
41 result = (rep_t)a >> shift ^ implicitBit;
42 rep_t round = (rep_t)a << (typeWidth - shift);
/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 x0 = SkScalarRoundToFDot6(p0.fX, shift);
41 y0 = SkScalarRoundToFDot6(p0.fY, shift);
42 x1 = SkScalarRoundToFDot6(p1.fX, shift);
43 y1 = SkScalarRoundToFDot6(p1.fY, shift);
45 float scale = float(1 << (shift
34 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument
176 setQuadratic(const SkPoint pts[3], int shift) argument
282 int shift = fCurveShift; local
335 setCubic(const SkPoint pts[4], const SkIRect* clip, int shift) argument
[all...]
/external/libhevc/common/
H A Dihevc_chroma_itrans_recon.c92 * @param[in] shift
93 * Output shift
120 WORD32 shift; local
129 shift = IT_SHIFT_STAGE_1;
130 add = 1 << (shift - 1);
153 CLIP_S16(((e[0] + o[0] + add) >> shift));
155 CLIP_S16(((e[1] + o[1] + add) >> shift));
157 CLIP_S16(((e[1] - o[1] + add) >> shift));
159 CLIP_S16(((e[0] - o[0] + add) >> shift));
170 shift
[all...]
H A Dihevc_itrans_recon.c111 WORD32 shift; local
120 shift = IT_SHIFT_STAGE_1;
121 add = 1 << (shift - 1);
139 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift);
141 CLIP_S16((55 * c[2] - 29 * c[1] + c[3] + add) >> shift);
143 CLIP_S16((74 * (pi2_src[0] - pi2_src[2 * src_strd] + pi2_src[3 * src_strd]) + add) >> shift);
145 CLIP_S16((55 * c[0] + 29 * c[2] - c[3] + add) >> shift);
155 shift = IT_SHIFT_STAGE_2;
156 add = 1 << (shift - 1);
168 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift);
248 WORD32 shift; local
[all...]
/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...]
H A Dlpc_bfin.h49 int shift, ac_shift; local
58 shift = 8;
59 while (shift && ac0<0x40000000)
61 shift--;
72 nshift = -shift;
115 d = ADD32(d,SHR32(MULT16_16(x[j],x[j]), shift));
124 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
/external/chromium_org/v8/src/base/
H A Dbits-unittest.cc34 TRACED_FORRANGE(uint32_t, shift, 0, 31) {
35 EXPECT_EQ(31u - shift, CountLeadingZeros32(1u << shift));
44 TRACED_FORRANGE(uint32_t, shift, 0, 31) {
45 EXPECT_EQ(shift, CountTrailingZeros32(1u << shift));
53 TRACED_FORRANGE(uint32_t, shift, 0, 31) {
54 EXPECT_TRUE(IsPowerOfTwo32(1U << shift));
55 EXPECT_FALSE(IsPowerOfTwo32((1U << shift) + 5U));
56 EXPECT_FALSE(IsPowerOfTwo32(~(1U << shift)));
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/
H A DbuildAll.bat37 if x%1==x-mapVersionTag set mapVersionTag=%2 && shift && shift && goto processcmdlineargs
38 if x%1==x-vm set vm=%2 && shift && shift && goto processcmdlineargs
39 if x%1==x-bc set bootclasspath=-Dbootclasspath=%2 && shift && shift && goto processcmdlineargs
40 if x%1==x-target set target=%2 && shift && shift && goto processcmdlineargs
41 if x%1==x-buildID set buildID=-DbuildId=%2 && shift && shift
[all...]
/external/chromium_org/chrome/test/remoting/
H A Dkey_code_conv.cc16 char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift) {
24 *shift = false;
31 *shift = true;
15 GetKeyValuesFromChar( char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift) argument
/external/chromium_org/third_party/freetype/src/base/
H A Dfttrigon.c118 FT_Int shift; local
124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) );
126 if ( shift <= FT_TRIG_SAFE_MSB )
128 shift = FT_TRIG_SAFE_MSB - shift;
129 vec->x = (FT_Pos)( (FT_ULong)x << shift );
130 vec->y = (FT_Pos)( (FT_ULong)y << shift );
134 shift -= FT_TRIG_SAFE_MSB;
135 vec->x = x >> shift;
136 vec->y = y >> shift;
365 FT_Int shift; local
402 FT_Int shift; local
438 FT_Int shift; local
[all...]
/external/freetype/src/base/
H A Dfttrigon.c118 FT_Int shift; local
124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) );
126 if ( shift <= FT_TRIG_SAFE_MSB )
128 shift = FT_TRIG_SAFE_MSB - shift;
129 vec->x = (FT_Pos)( (FT_ULong)x << shift );
130 vec->y = (FT_Pos)( (FT_ULong)y << shift );
134 shift -= FT_TRIG_SAFE_MSB;
135 vec->x = x >> shift;
136 vec->y = y >> shift;
365 FT_Int shift; local
402 FT_Int shift; local
438 FT_Int shift; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfttrigon.c118 FT_Int shift; local
124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) );
126 if ( shift <= FT_TRIG_SAFE_MSB )
128 shift = FT_TRIG_SAFE_MSB - shift;
129 vec->x = (FT_Pos)( (FT_ULong)x << shift );
130 vec->y = (FT_Pos)( (FT_ULong)y << shift );
134 shift -= FT_TRIG_SAFE_MSB;
135 vec->x = x >> shift;
136 vec->y = y >> shift;
365 FT_Int shift; local
402 FT_Int shift; local
438 FT_Int shift; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DNavigationPolicy.h46 bool navigationPolicyFromMouseEvent(unsigned short button, bool ctrl, bool shift, bool alt, bool meta, NavigationPolicy*);
/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/v8/test/mjsunit/
H A Darray-shift2.js12 array.shift();
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2758.js33 function() { var f = [].shift; f() },
36 function() { (0, [].shift)() }
H A Dregress-94425.js43 for (var i = 0; i < 9; i++) arr.shift();
H A Dregress-crbug-374838.js12 a.shift();
/external/chromium_org/v8/test/webkit/
H A Dsort-with-side-effecting-comparisons.js34 array.shift();
/external/libopus/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/gpu/command_buffer/common/
H A Dbitfield_helpers.h14 template<int shift, int length> class BitField {
16 static const unsigned int kShift = shift;

Completed in 678 milliseconds

1234567891011>>