HomeSort by relevance Sort by last modified time
    Searched full:shiftright (Results 1 - 25 of 46) sorted by null

1 2

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/
GCMUtil.java 48 shiftRight(tmp);
65 shiftRight(x);
82 static void shiftRight(byte[] block)
98 static void shiftRight(int[] block)
  /external/apache-harmony/math/src/test/java/tests/api/java/math/
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(63).equals
    [all...]
  /external/proguard/src/proguard/evaluation/value/
ParticularIntegerValue.java 161 public IntegerValue shiftRight(IntegerValue other)
168 return other.shiftRight(this);
188 return other.shiftRight(this);
284 public IntegerValue shiftRight(ParticularIntegerValue other)
SpecificIntegerValue.java 129 public IntegerValue shiftRight(IntegerValue other)
136 return other.shiftRight(this);
156 return other.shiftRight(this);
256 public IntegerValue shiftRight(SpecificIntegerValue other)
LongValue.java 158 public LongValue shiftRight(IntegerValue other)
312 public LongValue shiftRight(SpecificLongValue other)
468 public LongValue shiftRight(ParticularIntegerValue other)
470 return shiftRight((SpecificIntegerValue)other);
UnknownIntegerValue.java 131 public IntegerValue shiftRight(IntegerValue other)
UnknownLongValue.java 110 public LongValue shiftRight(IntegerValue other)
ParticularLongValue.java 129 public LongValue shiftRight(IntegerValue other)
217 public LongValue shiftRight(ParticularIntegerValue other)
SpecificLongValue.java 109 public LongValue shiftRight(IntegerValue other)
201 public LongValue shiftRight(SpecificLongValue other)
IntegerValue.java 142 public abstract IntegerValue shiftRight(IntegerValue other);
340 public IntegerValue shiftRight(UnknownIntegerValue other)
342 return shiftRight((IntegerValue)other);
584 public IntegerValue shiftRight(SpecificIntegerValue other)
586 return shiftRight((IntegerValue)other);
828 public IntegerValue shiftRight(ParticularIntegerValue other)
830 return shiftRight((SpecificIntegerValue)other);
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
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(1)
    [all...]
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);
    [all...]
SimpleBigDecimal.java 156 return bigInt.shiftRight(scale);
WNafMultiplier.java 71 k = k.shiftRight(1);
  /libcore/luni/src/test/java/tests/api/java/math/
BigIntegerTest.java 610 * java.math.BigInteger#shiftRight(int)
613 assertTrue("1 >> 0", BigInteger.valueOf(1).shiftRight(0).equals(
615 assertTrue("1 >> 1", BigInteger.valueOf(1).shiftRight(1).equals(
617 assertTrue("1 >> 63", BigInteger.valueOf(1).shiftRight(63).equals(
619 assertTrue("1 >> 64", BigInteger.valueOf(1).shiftRight(64).equals(
621 assertTrue("1 >> 65", BigInteger.valueOf(1).shiftRight(65).equals(
623 assertTrue("1 >> 1000", BigInteger.valueOf(1).shiftRight(1000).equals(
625 assertTrue("-1 >> 0", BigInteger.valueOf(-1).shiftRight(0).equals(
627 assertTrue("-1 >> 1", BigInteger.valueOf(-1).shiftRight(1).equals(
629 assertTrue("-1 >> 63", BigInteger.valueOf(-1).shiftRight(63).equals
    [all...]
  /libcore/luni/src/main/java/java/math/
BitLevel.java 135 /** @see BigInteger#shiftRight(int) */
136 static BigInteger shiftRight(BigInteger source, int count) {
147 shiftRight(resDigits, resLength, source.digits, intCount, count);
185 static boolean shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) {
  /external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerHashCodeTest.java 42 aNumber1.subtract(aNumber2).shiftRight(125);
BigIntegerOperateBitsTest.java 28 * Methods: bitLength, shiftLeft, shiftRight,
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
ECDSASigner.java 158 trunc = trunc.shiftRight(messageBitLength - n.bitLength());
  /external/guava/guava/src/com/google/common/math/
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);
DoubleUtils.java 156 long twiceSignifFloor = absX.shiftRight(shift).longValue();
  /external/skia/src/core/
SkFloat.h 36 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); }
Sk64.cpp 75 void Sk64::shiftRight(unsigned bits)
102 this->shiftRight(bits);
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java 177 tmpValue = tmpValue.shiftRight(7);
  /prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/lib/
libjnigraphics.so 

Completed in 3465 milliseconds

1 2