Searched refs:shiftRight (Results 1 - 25 of 34) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DGCMUtil.java48 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 DBigIntegerTest.java439 * @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 DTnaf.java287 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 DECFieldElement.java123 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 DWNafMultiplier.java71 k = k.shiftRight(1);
H A DSimpleBigDecimal.java156 return bigInt.shiftRight(scale);
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerHashCodeTest.java42 aNumber1.subtract(aNumber2).shiftRight(125);
H A DBigIntegerOperateBitsTest.java28 * 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 DLongValue.java158 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 DParticularIntegerValue.java161 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 DSpecificIntegerValue.java129 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 DUnknownLongValue.java110 public LongValue shiftRight(IntegerValue other) method in class:UnknownLongValue
H A DIntegerValue.java142 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 DParticularLongValue.java129 public LongValue shiftRight(IntegerValue other) method in class:ParticularLongValue
217 public LongValue shiftRight(ParticularIntegerValue other) method in class:ParticularLongValue
H A DSpecificLongValue.java109 public LongValue shiftRight(IntegerValue other) method in class:SpecificLongValue
201 public LongValue shiftRight(SpecificLongValue other) method in class:SpecificLongValue
H A DUnknownIntegerValue.java131 public IntegerValue shiftRight(IntegerValue other) method in class:UnknownIntegerValue
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java85 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 DDoubleUtils.java156 long twiceSignifFloor = absX.shiftRight(shift).longValue();
/external/skia/src/core/
H A DSk64.cpp75 void Sk64::shiftRight(unsigned bits) function in class:Sk64
102 this->shiftRight(bits);
H A DSkFloat.h36 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } function in class:SkFloat
H A DSkMath.cpp133 tmp.shiftRight(16);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DECDSASigner.java158 trunc = trunc.shiftRight(messageBitLength - log2n);
/external/skia/include/core/
H A DSk64.h120 void shiftRight(unsigned bits);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERObjectIdentifier.java182 tmpValue = tmpValue.shiftRight(7);
/external/skia/tests/
H A DSk64Test.cpp137 c = a; c.shiftRight(bits);

Completed in 598 milliseconds

12