/external/compiler-rt/test/ubsan/TestCases/Misc/ |
H A D | coverage-levels.cc | 7 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=func %s -o %t 16 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=func %s -o %t 18 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=bb %s -o %t 20 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=edge %s -o %t 28 int shift = argc * 32; local 30 shift = 3; 32 if ((argc << shift) == 16) // False. 37 // CHECK_WARN: shift exponent 32 is too large
|
/external/syslinux/com32/lib/ |
H A D | suffix_number.c | 43 int shift; local 48 shift = 10; 51 shift = 20; 54 shift = 30; 57 shift = 40; 60 shift = 50; 63 shift = 60; 66 shift = 0; 69 v <<= shift; local
|
/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/aac/libFDK/src/arm/ |
H A D | scale_arm.cpp | 113 /* It performs a fMultDiv2 and increments shift by 1 */ 114 int shift = scalefactor + 1; local 117 shift = fixmin_I(shift, (INT)DFRACT_BITS - 1); 119 if (shift >= 0) { 129 tmp0 <<= shift; local 130 tmp1 <<= shift; local 131 tmp2 <<= shift; local 132 tmp3 <<= shift; local 141 tmp0 <<= shift; local 155 tmp0 >>= shift; local 156 tmp1 >>= shift; local 157 tmp2 >>= shift; local 158 tmp3 >>= shift; local 167 tmp0 >>= shift; local [all...] |
/external/libopus/silk/mips/ |
H A D | sigproc_fix_mipsr1.h | 42 static inline int silk_LSHIFT_SAT32(int a, int shift) argument 46 r = __builtin_mips_shll_s_w(a, shift); 52 static inline int silk_RSHIFT_ROUND(int a, int shift) argument 56 r = __builtin_mips_shra_r_w(a, shift);
|
/external/aac/libSBRdec/src/ |
H A D | transcendent.h | 146 int shift; local 156 shift = (int)(a_e - b_e); 158 shiftAbs = (shift > 0) ? shift : -shift; 160 shiftedMantissa = (shift > 0) ? (FX_SGL2FX_DBL(b_m) >> shiftAbs) 162 otherMantissa = (shift > 0) ? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m); 163 *ptrSum_e = (shift > 0) ? a_e : b_e; 166 /* shift by 1 bit to avoid overflow */ 185 int shift; local 235 int preShift, postShift, index, shift; local 291 int preShift, postShift, index, shift; local 365 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/python/cpython2/Tools/buildbot/ |
H A D | test.bat | 10 if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
11 if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
12 if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
13 if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
14 if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
15 if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
16 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
|
/external/python/cpython3/Tools/buildbot/ |
H A D | test.bat | 10 if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
11 if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
12 if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
13 if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
14 if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
15 if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
16 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
|
/external/python/cpython2/PC/VS8.0/ |
H A D | build.bat | 11 if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
12 if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
13 if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
|
/external/tensorflow/tensorflow/core/lib/random/ |
H A D | simple_philox.cc | 33 const int shift = Rand32() % (max_log + 1); local 34 const uint32 mask = shift == 32 ? ~static_cast<uint32>(0) : (1 << shift) - 1;
|
/external/skia/src/core/ |
H A D | SkEdge.cpp | 15 the points into FDot6. This is modulated by the shift parameter, which 19 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6). 22 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift). 27 // away data in value, so just perform a modify up-shift 34 int shift) { 39 x0 = SkScalarRoundToFDot6(p0.fX, shift); 40 y0 = SkScalarRoundToFDot6(p0.fY, shift); 41 x1 = SkScalarRoundToFDot6(p1.fX, shift); 42 y1 = SkScalarRoundToFDot6(p1.fY, shift); 44 float scale = float(1 << (shift 33 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument 181 setQuadraticWithoutUpdate(const SkPoint pts[3], int shift) argument 280 setQuadratic(const SkPoint pts[3], int shift) argument 296 int shift = fCurveShift; local 350 setCubicWithoutUpdate(const SkPoint pts[4], int shift, bool sortY) argument 449 setCubic(const SkPoint pts[4], int shift) argument [all...] |
/external/skqp/src/core/ |
H A D | SkEdge.cpp | 15 the points into FDot6. This is modulated by the shift parameter, which 19 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6). 22 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift). 27 // away data in value, so just perform a modify up-shift 34 int shift) { 39 x0 = SkScalarRoundToFDot6(p0.fX, shift); 40 y0 = SkScalarRoundToFDot6(p0.fY, shift); 41 x1 = SkScalarRoundToFDot6(p1.fX, shift); 42 y1 = SkScalarRoundToFDot6(p1.fY, shift); 44 float scale = float(1 << (shift 33 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument 181 setQuadraticWithoutUpdate(const SkPoint pts[3], int shift) argument 280 setQuadratic(const SkPoint pts[3], int shift) argument 296 int shift = fCurveShift; local 350 setCubicWithoutUpdate(const SkPoint pts[4], int shift, bool sortY) argument 449 setCubic(const SkPoint pts[4], int shift) argument [all...] |
/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/common/arm/ |
H A D | icv_platform_macros.h | 105 #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 D | icv_platform_macros.h | 83 #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 D | icv_platform_macros.h | 89 #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 D | icv_platform_macros.h | 89 #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 D | impeg2d_mv_dec.h | 24 UWORD16 shift,UWORD16 fld_sel); 26 UWORD16 shift,WORD16 dmv[]);
|
/external/libvpx/libvpx/vpx_ports/ |
H A D | asmdefs_mmi.h | 36 #define MMI_SRL(reg1, reg2, shift) \ 37 "dsrl " #reg1 ", " #reg2 ", " #shift " \n\t" 39 #define MMI_SLL(reg1, reg2, shift) \ 40 "dsll " #reg1 ", " #reg2 ", " #shift " \n\t" 65 #define MMI_SRL(reg1, reg2, shift) \ 66 "srl " #reg1 ", " #reg2 ", " #shift " \n\t" 68 #define MMI_SLL(reg1, reg2, shift) \ 69 "sll " #reg1 ", " #reg2 ", " #shift " \n\t"
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
H A D | quantization_util.cc | 26 int* shift) { 29 *shift = 0; 32 const double q = std::frexp(double_multiplier, shift); 37 ++*shift; 56 int shift; local 57 QuantizeMultiplier(double_multiplier, quantized_multiplier, &shift); 58 TFLITE_CHECK_LE(shift, 0); 59 *right_shift = -shift; 25 QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, int* shift) argument
|