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

1234567891011>>

/external/compiler-rt/test/ubsan/TestCases/Misc/
H A Dcoverage-levels.cc7 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=func %s -o %t
12 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=func %s -o %t
14 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=bb %s -o %t
16 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=edge %s -o %t
24 int shift = argc * 32; local
26 shift = 3;
28 if ((argc << shift) == 16) // False.
33 // CHECK_WARN: shift exponent 32 is too large
/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/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/common/arm/
H A Dicv_platform_macros.h105 #define SHR_NEG(val,shift) (((shift) > 0) ? ( (val) >> (shift)) : ((val) << (-(shift))))
106 #define SHL_NEG(val,shift) (((shift) > 0) ? ( (val) >> (-(shift))) : ((val) << (shift)))
/external/libmpeg2/common/armv8/
H A Dicv_platform_macros.h83 #define SHR_NEG(val,shift) (((shift) > 0) ? ( (val) >> (shift)) : ((val) << (-(shift))))
84 #define SHL_NEG(val,shift) (((shift) > 0) ? ( (val) >> (-(shift))) : ((val) << (shift)))
/external/libmpeg2/common/mips/
H A Dicv_platform_macros.h89 #define SHR_NEG(val,shift) (((shift) > 0) ? ( (val) >> (shift)) : ((val) << (-(shift))))
90 #define SHL_NEG(val,shift) (((shift) > 0) ? ( (val) >> (-(shift))) : ((val) << (shift)))
/external/libmpeg2/common/x86/
H A Dicv_platform_macros.h89 #define SHR_NEG(val,shift) (((shift) > 0) ? ( (val) >> (shift)) : ((val) << (-(shift))))
90 #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...]

Completed in 700 milliseconds

1234567891011>>