/external/python/cpython2/Lib/test/decimaltestdata/ |
D | dqShift.decTest | 2 -- dqShift.decTest -- shift decQuad coefficient left or right -- 30 dqshi001 shift 0 0 -> 0 31 dqshi002 shift 0 2 -> 0 32 dqshi003 shift 1 2 -> 100 33 dqshi004 shift 1 33 -> 1000000000000000000000000000000000 34 dqshi005 shift 1 34 -> 0 35 dqshi006 shift 1 -1 -> 0 36 dqshi007 shift 0 -2 -> 0 37 dqshi008 shift 1234567890123456789012345678901234 -1 -> 123456789012345678901234567890123 38 dqshi009 shift 1234567890123456789012345678901234 -33 -> 1 [all …]
|
D | ddShift.decTest | 2 -- ddShift.decTest -- shift decDouble coefficient left or right -- 30 ddshi001 shift 0 0 -> 0 31 ddshi002 shift 0 2 -> 0 32 ddshi003 shift 1 2 -> 100 33 ddshi004 shift 1 15 -> 1000000000000000 34 ddshi005 shift 1 16 -> 0 35 ddshi006 shift 1 -1 -> 0 36 ddshi007 shift 0 -2 -> 0 37 ddshi008 shift 1234567890123456 -1 -> 123456789012345 38 ddshi009 shift 1234567890123456 -15 -> 1 [all …]
|
D | shift.decTest | 2 -- shift.decTest -- shift coefficient left or right -- 29 shix001 shift 0 0 -> 0 30 shix002 shift 0 2 -> 0 31 shix003 shift 1 2 -> 100 32 shix004 shift 1 8 -> 100000000 33 shix005 shift 1 9 -> 0 34 shix006 shift 1 -1 -> 0 35 shix007 shift 123456789 -1 -> 12345678 36 shix008 shift 123456789 -8 -> 1 37 shix009 shift 123456789 -9 -> 0 [all …]
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | dqShift.decTest | 2 -- dqShift.decTest -- shift decQuad coefficient left or right -- 30 dqshi001 shift 0 0 -> 0 31 dqshi002 shift 0 2 -> 0 32 dqshi003 shift 1 2 -> 100 33 dqshi004 shift 1 33 -> 1000000000000000000000000000000000 34 dqshi005 shift 1 34 -> 0 35 dqshi006 shift 1 -1 -> 0 36 dqshi007 shift 0 -2 -> 0 37 dqshi008 shift 1234567890123456789012345678901234 -1 -> 123456789012345678901234567890123 38 dqshi009 shift 1234567890123456789012345678901234 -33 -> 1 [all …]
|
D | ddShift.decTest | 2 -- ddShift.decTest -- shift decDouble coefficient left or right -- 30 ddshi001 shift 0 0 -> 0 31 ddshi002 shift 0 2 -> 0 32 ddshi003 shift 1 2 -> 100 33 ddshi004 shift 1 15 -> 1000000000000000 34 ddshi005 shift 1 16 -> 0 35 ddshi006 shift 1 -1 -> 0 36 ddshi007 shift 0 -2 -> 0 37 ddshi008 shift 1234567890123456 -1 -> 123456789012345 38 ddshi009 shift 1234567890123456 -15 -> 1 [all …]
|
D | shift.decTest | 2 -- shift.decTest -- shift coefficient left or right -- 29 shix001 shift 0 0 -> 0 30 shix002 shift 0 2 -> 0 31 shix003 shift 1 2 -> 100 32 shix004 shift 1 8 -> 100000000 33 shix005 shift 1 9 -> 0 34 shix006 shift 1 -1 -> 0 35 shix007 shift 123456789 -1 -> 12345678 36 shix008 shift 123456789 -8 -> 1 37 shix009 shift 123456789 -9 -> 0 [all …]
|
/external/llvm/test/Analysis/CostModel/X86/ |
D | vshift-lshr-cost.ll | 8 ; Verify the cost of vector logical shift right instructions. 16 ; SSE2: Found an estimated cost of 4 for instruction: %shift 17 ; SSE41: Found an estimated cost of 4 for instruction: %shift 18 ; AVX: Found an estimated cost of 4 for instruction: %shift 19 ; AVX2: Found an estimated cost of 1 for instruction: %shift 20 ; XOPAVX: Found an estimated cost of 2 for instruction: %shift 21 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift 22 %shift = lshr <2 x i64> %a, %b 23 ret <2 x i64> %shift 28 ; SSE2: Found an estimated cost of 8 for instruction: %shift [all …]
|
D | vshift-ashr-cost.ll | 8 ; Verify the cost of vector arithmetic shift right instructions. 16 ; SSE2: Found an estimated cost of 12 for instruction: %shift 17 ; SSE41: Found an estimated cost of 12 for instruction: %shift 18 ; AVX: Found an estimated cost of 12 for instruction: %shift 19 ; AVX2: Found an estimated cost of 4 for instruction: %shift 20 ; XOP: Found an estimated cost of 2 for instruction: %shift 21 %shift = ashr <2 x i64> %a, %b 22 ret <2 x i64> %shift 27 ; SSE2: Found an estimated cost of 24 for instruction: %shift 28 ; SSE41: Found an estimated cost of 24 for instruction: %shift [all …]
|
D | vshift-shl-cost.ll | 8 ; Verify the cost of vector shift left instructions. 17 ; SSE2: Found an estimated cost of 4 for instruction: %shift 18 ; SSE41: Found an estimated cost of 4 for instruction: %shift 19 ; AVX: Found an estimated cost of 4 for instruction: %shift 20 ; AVX2: Found an estimated cost of 1 for instruction: %shift 21 ; XOPAVX: Found an estimated cost of 1 for instruction: %shift 22 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift 23 %shift = shl <2 x i64> %a, %b 24 ret <2 x i64> %shift 29 ; SSE2: Found an estimated cost of 8 for instruction: %shift [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | AESEngine.java | 227 private static int shift(int r, int shift) in shift() method in AESEngine 229 return (r >>> shift) | (r << -shift); in shift() 267 t1 = t0 ^ shift(t0, 8); in inv_mcol() 270 t0 ^= t1 ^ shift(t1, 16); in inv_mcol() 308 int u = subWord(shift(t3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 327 int u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 337 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 344 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 353 u = subWord(shift(t5, 8)) ^ rcon; in generateWorkingKey() 376 u = subWord(shift(t7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | AESEngine.java | 225 private static int shift(int r, int shift) in shift() argument 227 return (r >>> shift) | (r << -shift); in shift() 265 t1 = t0 ^ shift(t0, 8); in inv_mcol() 268 t0 ^= t1 ^ shift(t1, 16); in inv_mcol() 306 int u = subWord(shift(t3, 8)) ^ rcon[i - 1]; in generateWorkingKey() 325 int u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 335 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 342 u = subWord(shift(t5, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() 351 u = subWord(shift(t5, 8)) ^ rcon; in generateWorkingKey() 374 u = subWord(shift(t7, 8)) ^ rcon; rcon <<= 1; in generateWorkingKey() [all …]
|
/external/libchrome/base/ |
D | bits_unittest.cc | 68 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local 69 EXPECT_EQ(7u - shift, in TEST() 70 CountLeadingZeroBits(static_cast<uint8_t>(1 << shift))); in TEST() 78 for (uint16_t shift = 0; shift <= 15; shift++) { in TEST() local 79 EXPECT_EQ(15u - shift, in TEST() 80 CountLeadingZeroBits(static_cast<uint16_t>(1 << shift))); in TEST() 88 for (uint32_t shift = 0; shift <= 31; shift++) { in TEST() local 89 EXPECT_EQ(31u - shift, CountLeadingZeroBits(uint32_t{1} << shift)); in TEST() 97 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local 98 EXPECT_EQ(shift, CountTrailingZeroBits(static_cast<uint8_t>(1 << shift))); in TEST() [all …]
|
/external/skia/src/core/ |
D | SkEdge.cpp | 37 int shift) { in setLine() argument 42 x0 = SkScalarRoundToFDot6(p0.fX, shift); in setLine() 43 y0 = SkScalarRoundToFDot6(p0.fY, shift); in setLine() 44 x1 = SkScalarRoundToFDot6(p1.fX, shift); in setLine() 45 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine() 47 float scale = float(1 << (shift + 6)); in setLine() 181 bool SkQuadraticEdge::setQuadraticWithoutUpdate(const SkPoint pts[3], int shift) { in setQuadraticWithoutUpdate() argument 186 x0 = SkScalarRoundToFDot6(pts[0].fX, shift); in setQuadraticWithoutUpdate() 187 y0 = SkScalarRoundToFDot6(pts[0].fY, shift); in setQuadraticWithoutUpdate() 188 x1 = SkScalarRoundToFDot6(pts[1].fX, shift); in setQuadraticWithoutUpdate() [all …]
|
/external/skqp/src/core/ |
D | SkEdge.cpp | 37 int shift) { in setLine() argument 42 x0 = SkScalarRoundToFDot6(p0.fX, shift); in setLine() 43 y0 = SkScalarRoundToFDot6(p0.fY, shift); in setLine() 44 x1 = SkScalarRoundToFDot6(p1.fX, shift); in setLine() 45 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine() 47 float scale = float(1 << (shift + 6)); in setLine() 181 bool SkQuadraticEdge::setQuadraticWithoutUpdate(const SkPoint pts[3], int shift) { in setQuadraticWithoutUpdate() argument 186 x0 = SkScalarRoundToFDot6(pts[0].fX, shift); in setQuadraticWithoutUpdate() 187 y0 = SkScalarRoundToFDot6(pts[0].fY, shift); in setQuadraticWithoutUpdate() 188 x1 = SkScalarRoundToFDot6(pts[1].fX, shift); in setQuadraticWithoutUpdate() [all …]
|
/external/google-fruit/extras/scripts/ |
D | parser.out | 64 ASTERISK shift and go to state 4 65 AMPERSAND shift and go to state 3 66 DOUBLE_COLON shift and go to state 7 67 IDENTIFIER shift and go to state 6 68 LPAREN shift and go to state 8 69 LBRACKET shift and go to state 5 70 LBRACE shift and go to state 9 71 LESS_THAN shift and go to state 2 73 balanced_string shift and go to state 1 98 GREATER_THAN shift and go to state 11 [all …]
|
/external/libopus/silk/ |
D | MacroDebug.h | 546 static OPUS_INLINE opus_int8 silk_LSHIFT8_(opus_int8 a, opus_int32 shift, char *file, int line){ in silk_LSHIFT8_() argument 549 ret = a << shift; in silk_LSHIFT8_() 550 fail |= shift < 0; in silk_LSHIFT8_() 551 fail |= shift >= 8; in silk_LSHIFT8_() 552 fail |= (opus_int64)ret != ((opus_int64)a) << shift; in silk_LSHIFT8_() 555 fprintf (stderr, "silk_LSHIFT8(%d, %d) in %s: line %d\n", a, shift, file, line); in silk_LSHIFT8_() 565 static OPUS_INLINE opus_int16 silk_LSHIFT16_(opus_int16 a, opus_int32 shift, char *file, int line){ in silk_LSHIFT16_() argument 568 ret = a << shift; in silk_LSHIFT16_() 569 fail |= shift < 0; in silk_LSHIFT16_() 570 fail |= shift >= 16; in silk_LSHIFT16_() [all …]
|
/external/aac/libSBRdec/src/ |
D | transcendent.h | 146 int shift; in FDK_add_MantExp() local 156 shift = (int)(a_e - b_e); in FDK_add_MantExp() 158 shiftAbs = (shift > 0) ? shift : -shift; in FDK_add_MantExp() 160 shiftedMantissa = (shift > 0) ? (FX_SGL2FX_DBL(b_m) >> shiftAbs) in FDK_add_MantExp() 162 otherMantissa = (shift > 0) ? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m); in FDK_add_MantExp() 163 *ptrSum_e = (shift > 0) ? a_e : b_e; in FDK_add_MantExp() 185 int shift; in FDK_add_MantExp() local 195 shift = (int)(a_e - b_e); in FDK_add_MantExp() 197 shiftAbs = (shift > 0) ? shift : -shift; in FDK_add_MantExp() 199 shiftedMantissa = (shift > 0) ? (b >> shiftAbs) : (a >> shiftAbs); in FDK_add_MantExp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | shift-11.ll | 1 ; Test shortening of NILL to NILF when the result is used as a shift amount. 5 ; Test logical shift right. 11 %shift = lshr i32 %a, %and 12 ret i32 %shift 15 ; Test arithmetic shift right. 21 %shift = ashr i32 %a, %and 22 ret i32 %shift 25 ; Test shift left. 31 %shift = shl i32 %a, %and 32 ret i32 %shift [all …]
|
D | shift-05.ll | 10 %shift = shl i64 %a, 1 11 ret i64 %shift 19 %shift = shl i64 %a, 63 20 ret i64 %shift 28 %shift = shl i64 %a, 64 29 ret i64 %shift 37 %shift = shl i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = shl i64 %a, %add [all …]
|
D | shift-06.ll | 10 %shift = lshr i64 %a, 1 11 ret i64 %shift 19 %shift = lshr i64 %a, 63 20 ret i64 %shift 28 %shift = lshr i64 %a, 64 29 ret i64 %shift 37 %shift = lshr i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = lshr i64 %a, %add [all …]
|
D | shift-07.ll | 10 %shift = ashr i64 %a, 1 11 ret i64 %shift 19 %shift = ashr i64 %a, 63 20 ret i64 %shift 28 %shift = ashr i64 %a, 64 29 ret i64 %shift 37 %shift = ashr i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = ashr i64 %a, %add [all …]
|
/external/libhevc/common/ |
D | ihevc_resi_trans.c | 105 WORD32 add, shift; in ihevc_resi_trans_4x4_ttype1() local 121 shift = 1; // log2(iWidth) - 1 + g_uiBitIncrement in ihevc_resi_trans_4x4_ttype1() 122 add = 1 << (shift - 1); in ihevc_resi_trans_4x4_ttype1() 147 pi4_temp[0] = (29 * c[0] + 55 * c[1] + c[3] + add) >> shift; in ihevc_resi_trans_4x4_ttype1() 154 >> shift; in ihevc_resi_trans_4x4_ttype1() 155 pi4_temp[2 * trans_size] = (29 * c[2] + 55 * c[0] - c[3] + add) >> shift; in ihevc_resi_trans_4x4_ttype1() 156 pi4_temp[3 * trans_size] = (55 * c[2] - 29 * c[1] + c[3] + add) >> shift; in ihevc_resi_trans_4x4_ttype1() 166 shift = 8; // log2(iHeight) + 6 in ihevc_resi_trans_4x4_ttype1() 167 add = 1 << (shift - 1); in ihevc_resi_trans_4x4_ttype1() 177 pi2_dst[0] = (29 * c[0] + 55 * c[1] + c[3] + add) >> shift; in ihevc_resi_trans_4x4_ttype1() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | shift-06.ll | 10 %shift = lshr i64 %a, 1 11 ret i64 %shift 19 %shift = lshr i64 %a, 63 20 ret i64 %shift 28 %shift = lshr i64 %a, 64 29 ret i64 %shift 37 %shift = lshr i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = lshr i64 %a, %add [all …]
|
D | shift-07.ll | 10 %shift = ashr i64 %a, 1 11 ret i64 %shift 19 %shift = ashr i64 %a, 63 20 ret i64 %shift 28 %shift = ashr i64 %a, 64 29 ret i64 %shift 37 %shift = ashr i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = ashr i64 %a, %add [all …]
|
D | shift-05.ll | 10 %shift = shl i64 %a, 1 11 ret i64 %shift 19 %shift = shl i64 %a, 63 20 ret i64 %shift 28 %shift = shl i64 %a, 64 29 ret i64 %shift 37 %shift = shl i64 %a, %amt 38 ret i64 %shift 41 ; Check shift amounts that have a constant term. 47 %shift = shl i64 %a, %add [all …]
|