/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
H A D | GCMUtil.java | 48 shiftRight(tmp); 65 shiftRight(x); 92 static void shiftRight(byte[] block) method in class:GCMUtil 108 static void shiftRight(int[] block) method in class:GCMUtil
|
/external/apache-harmony/math/src/test/java/tests/api/java/math/ |
H A D | BigIntegerTest.java | 439 * @tests java.math.BigInteger#shiftRight(int) 442 assertTrue("1 >> 0", BigInteger.valueOf(1).shiftRight(0).equals( 444 assertTrue("1 >> 1", BigInteger.valueOf(1).shiftRight(1).equals( 446 assertTrue("1 >> 63", BigInteger.valueOf(1).shiftRight(63).equals( 448 assertTrue("1 >> 64", BigInteger.valueOf(1).shiftRight(64).equals( 450 assertTrue("1 >> 65", BigInteger.valueOf(1).shiftRight(65).equals( 452 assertTrue("1 >> 1000", BigInteger.valueOf(1).shiftRight(1000).equals( 454 assertTrue("-1 >> 0", BigInteger.valueOf(-1).shiftRight(0).equals( 456 assertTrue("-1 >> 1", BigInteger.valueOf(-1).shiftRight(1).equals( 458 assertTrue("-1 >> 63", BigInteger.valueOf(-1).shiftRight(6 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | Tnaf.java | 287 BigInteger ns = k.shiftRight(m - _k - 2 + a); 291 BigInteger hs = gs.shiftRight(m); 296 BigInteger ls = gsPlusJs.shiftRight(_k-c); 364 BigInteger s = r0.shiftRight(1); 375 r1 = t.shiftRight(1).negate(); 577 si[0] = dividend0.shiftRight(1); 578 si[1] = dividend1.shiftRight(1).negate(); 582 si[0] = dividend0.shiftRight(2); 583 si[1] = dividend1.shiftRight(2).negate(); 743 BigInteger pow2wMin1 = pow2w.shiftRight( [all...] |
H A D | ECFieldElement.java | 123 ECFieldElement z = new Fp(q, x.modPow(q.shiftRight(2).add(ECConstants.ONE), q)); 131 BigInteger legendreExponent = qMinusOne.shiftRight(1); 137 BigInteger u = qMinusOne.shiftRight(2); 167 V = V.shiftRight(1); 179 // BigInteger legendreExponent = qMinusOne.shiftRight(1); //divide(ECConstants.TWO); 196 // BigInteger n1 = qMinusOne.shiftRight(2); //.divide(ECConstants.FOUR); 217 // n = n.shiftRight(1);//divide(ECConstants.TWO);
|
H A D | WNafMultiplier.java | 71 k = k.shiftRight(1);
|
H A D | SimpleBigDecimal.java | 156 return bigInt.shiftRight(scale);
|
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerHashCodeTest.java | 42 aNumber1.subtract(aNumber2).shiftRight(125);
|
H A D | BigIntegerOperateBitsTest.java | 28 * Methods: bitLength, shiftLeft, shiftRight, 1126 * shiftRight(int n), n = 0 1134 BigInteger result = aNumber.shiftRight(number); 1144 * shiftRight(int n), n < 0 1152 BigInteger result = aNumber.shiftRight(number); 1162 * shiftRight(int n), 0 < n < 32 1170 BigInteger result = aNumber.shiftRight(number); 1180 * shiftRight(int n), n > 32 1188 BigInteger result = aNumber.shiftRight(number); 1198 * shiftRight(in [all...] |
/external/proguard/src/proguard/evaluation/value/ |
H A D | LongValue.java | 158 public LongValue shiftRight(IntegerValue other) method in class:LongValue 312 public LongValue shiftRight(SpecificLongValue other) method in class:LongValue 468 public LongValue shiftRight(ParticularIntegerValue other) method in class:LongValue 470 return shiftRight((SpecificIntegerValue)other);
|
H A D | ParticularIntegerValue.java | 161 public IntegerValue shiftRight(IntegerValue other) method in class:ParticularIntegerValue 168 return other.shiftRight(this); 188 return other.shiftRight(this); 284 public IntegerValue shiftRight(ParticularIntegerValue other) method in class:ParticularIntegerValue
|
H A D | SpecificIntegerValue.java | 129 public IntegerValue shiftRight(IntegerValue other) method in class:SpecificIntegerValue 136 return other.shiftRight(this); 156 return other.shiftRight(this); 256 public IntegerValue shiftRight(SpecificIntegerValue other) method in class:SpecificIntegerValue
|
H A D | UnknownLongValue.java | 110 public LongValue shiftRight(IntegerValue other) method in class:UnknownLongValue
|
H A D | IntegerValue.java | 142 public abstract IntegerValue shiftRight(IntegerValue other); method in class:IntegerValue 340 public IntegerValue shiftRight(UnknownIntegerValue other) method in class:IntegerValue 342 return shiftRight((IntegerValue)other); 584 public IntegerValue shiftRight(SpecificIntegerValue other) method in class:IntegerValue 586 return shiftRight((IntegerValue)other); 828 public IntegerValue shiftRight(ParticularIntegerValue other) method in class:IntegerValue 830 return shiftRight((SpecificIntegerValue)other);
|
H A D | ParticularLongValue.java | 129 public LongValue shiftRight(IntegerValue other) method in class:ParticularLongValue 217 public LongValue shiftRight(ParticularIntegerValue other) method in class:ParticularLongValue
|
H A D | SpecificLongValue.java | 109 public LongValue shiftRight(IntegerValue other) method in class:SpecificLongValue 201 public LongValue shiftRight(SpecificLongValue other) method in class:SpecificLongValue
|
H A D | UnknownIntegerValue.java | 131 public IntegerValue shiftRight(IntegerValue other) method in class:UnknownIntegerValue
|
/external/guava/guava/src/com/google/common/math/ |
H A D | BigIntegerMath.java | 85 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( 242 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); 244 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); 250 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1);
|
H A D | DoubleUtils.java | 156 long twiceSignifFloor = absX.shiftRight(shift).longValue();
|
/external/skia/src/core/ |
H A D | Sk64.cpp | 75 void Sk64::shiftRight(unsigned bits) function in class:Sk64 102 this->shiftRight(bits);
|
H A D | SkFloat.h | 36 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } function in class:SkFloat
|
H A D | SkMath.cpp | 133 tmp.shiftRight(16);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
H A D | ECDSASigner.java | 158 trunc = trunc.shiftRight(messageBitLength - log2n);
|
/external/skia/include/core/ |
H A D | Sk64.h | 120 void shiftRight(unsigned bits);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | DERObjectIdentifier.java | 182 tmpValue = tmpValue.shiftRight(7);
|
/external/skia/tests/ |
H A D | Sk64Test.cpp | 137 c = a; c.shiftRight(bits);
|