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

1234567891011>>

/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/
H A Dcoverage-levels.cc5 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=1 %s -o %t
10 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=1 %s -o %t
12 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=2 %s -o %t
14 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=3 %s -o %t
19 int shift = argc * 32; local
21 shift = 3;
23 if ((argc << shift) == 16) // False.
28 // CHECK_WARN: shift exponent 32 is too large
/external/v8/src/
H A Dmisc-intrinsics.h40 int result, shift; local
42 shift = (value > 0xFFFF) << 4;
43 value >>= shift; local
44 result = shift;
46 shift = (value > 0xFF) << 3;
47 value >>= shift; local
48 result |= shift;
50 shift = (value > 0xF) << 2;
51 value >>= shift; local
52 result |= shift;
55 value >>= shift; local
[all...]
/external/libunwind/src/mi/
H A D_ReadSLEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
14 shift += 7;
19 if (shift < 8 * sizeof (unw_word_t) && (byte & 0x40) != 0)
21 result |= ((unw_word_t) -1) << shift;
H A D_ReadULEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
16 shift += 7;
/external/v8/test/mjsunit/regress/
H A Dregress-1403.js32 a.shift();
36 a.shift();
H A Dregress-358090.js8 y.shift();
H A Dregress-299979.js33 assertThrows(function() { list.shift(); }, TypeError);
H A Dregress-crbug-405517.js10 for (var i = 0; i < 4; i++) e.shift();
H A Dregress-empty-fixed-double-array.js8 a.shift();
/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/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/fio/lib/
H A Dieee754.c14 int shift; local
32 shift = 0;
35 shift++;
39 shift--;
47 exp = shift + ((1 << (expbits - 1)) - 1); // shift + bias
56 long long shift; local
70 shift = ((i >> significandbits) & ((1LL << expbits) - 1)) - bias;
71 while (shift > 0) {
73 shift
[all...]
/external/libhevc/decoder/
H A Dihevcd_itrans_recon_dc.c94 WORD32 add, shift; local
102 shift = IT_SHIFT_STAGE_1;
103 add = 1 << (shift - 1);
104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
105 shift = IT_SHIFT_STAGE_2;
106 add = 1 << (shift - 1);
107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
124 WORD32 add, shift; local
133 shift = IT_SHIFT_STAGE_1;
134 add = 1 << (shift
[all...]
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dregs.c78 uint32_t shift; local
80 if (arm_get_register_offpc(proc, BITS(inst, 8, 11), &shift) < 0)
82 shift &= 0xff;
84 shift = BITS(inst, 7, 11);
96 res = shift >= 32 ? 0 : res << shift;
100 res = shift >= 32 ? 0 : res >> shift;
104 if (shift >= 32)
105 shift
[all...]
/external/v8/test/mjsunit/
H A Darray-shift3.js9 a.shift();
/external/libavc/common/mips/
H A Dih264_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/libavc/common/x86/
H A Dih264_platform_macros.h61 #define SHR_NEG(val,shift) ((shift>0)?(val>>shift):(val<<(-shift)))
62 #define SHL_NEG(val,shift) ((shift<0)?(val>>(-shift)):(val<<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/libmpeg2/decoder/
H A Dimpeg2d_mv_dec.h24 UWORD16 shift,UWORD16 fld_sel);
26 UWORD16 shift,WORD16 dmv[]);
/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/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], 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...]
/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 949 milliseconds

1234567891011>>