/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/ |
H A D | coverage-levels.cc | 5 // 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 D | misc-intrinsics.h | 40 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.c | 6 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.c | 6 unsigned shift = 0; local 13 result |= (byte & 0x7f) << shift; 16 shift += 7;
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-1403.js | 32 a.shift(); 36 a.shift();
|
H A D | regress-358090.js | 8 y.shift();
|
H A D | regress-299979.js | 33 assertThrows(function() { list.shift(); }, TypeError);
|
H A D | regress-crbug-405517.js | 10 for (var i = 0; i < 4; i++) e.shift();
|
H A D | regress-empty-fixed-double-array.js | 8 a.shift();
|
/external/openfst/src/include/fst/extensions/ngram/ |
H A D | nthbit.h | 26 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 D | scale_arm.cpp | 106 /* 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 D | transcendent.h | 128 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 D | ieee754.c | 14 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 D | ihevcd_itrans_recon_dc.c | 94 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 D | regs.c | 78 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 D | array-shift3.js | 9 a.shift();
|
/external/libavc/common/mips/ |
H A D | ih264_platform_macros.h | 58 #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 D | ih264_platform_macros.h | 61 #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 D | ihevc_platform_macros.h | 58 #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 D | impeg2d_mv_dec.h | 24 UWORD16 shift,UWORD16 fld_sel); 26 UWORD16 shift,WORD16 dmv[]);
|
/external/compiler-rt/lib/builtins/ |
H A D | floatsisf.c | 43 // 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 D | floatunsisf.c | 35 // 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 D | SkEdge.cpp | 16 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 D | ihevc_chroma_itrans_recon.c | 92 * @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 D | fixed_generic.h | 45 #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...] |