HomeSort by relevance Sort by last modified time
    Searched refs:shiftLeft (Results 1 - 25 of 45) sorted by null

1 2

  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java 36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
84 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale),
96 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale);
111 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)),
129 BigInteger dividend = bigInt.shiftLeft(scale);
138 public SimpleBigDecimal shiftLeft(int n)
140 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale);
151 return bigInt.compareTo(val.shiftLeft(scale));
199 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale));
202 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract)
    [all...]
ECFieldElement.java 138 BigInteger k = u.shiftLeft(1).add(ECConstants.ONE);
141 BigInteger fourQ = Q.shiftLeft(2).mod(q);
186 // BigInteger fourX = x.shiftLeft(2);
201 // BigInteger twoR = r.shiftLeft(1); //ECConstants.TWO.multiply(r);
257 Vh = Vh.multiply(Vh).subtract(Qh.shiftLeft(1)).mod(p);
264 Vl = Vl.multiply(Vl).subtract(Ql.shiftLeft(1)).mod(p);
277 Vl = Vl.multiply(Vl).subtract(Ql.shiftLeft(1)).mod(p);
512 // BigInteger az = a.shiftLeft(1);
666 // uz = uz.xor(vz.shiftLeft(j));
669 // g1z = g1z.xor(g2z.shiftLeft(j))
    [all...]
IntArray.java 223 public void shiftLeft()
258 public IntArray shiftLeft(int n)
273 throw new IllegalArgumentException("shiftLeft() for max 31 bits "
365 b.shiftLeft();
390 // c.shiftLeft();
Tnaf.java 93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1);
135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1);
344 u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intValue();
487 u2 = s.subtract(u0.shiftLeft(1));
  /libcore/luni/src/main/java/java/math/
Multiplication.java 130 return bigFivePows[1].pow(intExp).shiftLeft(intExp);
144 return bigFivePows[1].pow(intExp).shiftLeft(intExp);
164 res = res.shiftLeft(Integer.MAX_VALUE);
167 res = res.shiftLeft(Integer.MAX_VALUE);
170 res = res.shiftLeft(intExp);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DSAParametersGenerator.java 126 BigInteger c = x.mod(q.shiftLeft(1));
195 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1));
198 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
229 Vj = Vj.mod(ONE.shiftLeft(b));
232 W = W.add(Vj.shiftLeft(exp));
236 BigInteger X = W.add(ONE.shiftLeft(L - 1));
239 BigInteger c = X.mod(q.shiftLeft(1));
DHKeyGeneratorHelper.java 34 min = ONE.shiftLeft(m - 1);
DHParametersHelper.java 43 p = q.shiftLeft(1).add(ONE);
  /external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerHashCodeTest.java 41 aNumber1.add(aNumber2).shiftLeft(125);
BigIntegerOrTest.java 414 BigInteger r1 = x.and((BigInteger.ZERO.not()).shiftLeft(32));
415 BigInteger r3 = x.and((BigInteger.ZERO.not().shiftLeft(32) ).not());
BigIntegerOperateBitsTest.java 28 * Methods: bitLength, shiftLeft, shiftRight,
    [all...]
  /external/proguard/src/proguard/evaluation/value/
LongValue.java 150 public LongValue shiftLeft(IntegerValue other)
304 public LongValue shiftLeft(SpecificLongValue other)
460 public LongValue shiftLeft(ParticularIntegerValue other)
462 return shiftLeft((SpecificIntegerValue)other);
ParticularIntegerValue.java 151 public IntegerValue shiftLeft(IntegerValue other)
158 return other.shiftLeft(this);
183 return other.shiftLeft(this);
279 public IntegerValue shiftLeft(ParticularIntegerValue other)
SpecificIntegerValue.java 119 public IntegerValue shiftLeft(IntegerValue other)
126 return other.shiftLeft(this);
151 return other.shiftLeft(this);
251 public IntegerValue shiftLeft(SpecificIntegerValue other)
UnknownLongValue.java 105 public LongValue shiftLeft(IntegerValue other)
IntegerValue.java 137 public abstract IntegerValue shiftLeft(IntegerValue other);
332 public IntegerValue shiftLeft(UnknownIntegerValue other)
334 return shiftLeft((IntegerValue)other);
576 public IntegerValue shiftLeft(SpecificIntegerValue other)
578 return shiftLeft((IntegerValue)other);
820 public IntegerValue shiftLeft(ParticularIntegerValue other)
822 return shiftLeft((SpecificIntegerValue)other);
ParticularLongValue.java 124 public LongValue shiftLeft(IntegerValue other)
212 public LongValue shiftLeft(ParticularIntegerValue other)
SpecificLongValue.java 104 public LongValue shiftLeft(IntegerValue other)
196 public LongValue shiftLeft(SpecificLongValue other)
UnknownIntegerValue.java 121 public IntegerValue shiftLeft(IntegerValue other)
  /external/apache-harmony/math/src/test/java/tests/api/java/math/
BigIntegerTest.java 474 a = a.shiftLeft(1);
496 * @tests java.math.BigInteger#shiftLeft(int)
499 assertTrue("1 << 0", one.shiftLeft(0).equals(one));
500 assertTrue("1 << 1", one.shiftLeft(1).equals(two));
501 assertTrue("1 << 63", one.shiftLeft(63).equals(
503 assertTrue("1 << 64", one.shiftLeft(64).equals(
505 assertTrue("1 << 65", one.shiftLeft(65).equals(
507 assertTrue("-1 << 0", minusOne.shiftLeft(0).equals(minusOne));
508 assertTrue("-1 << 1", minusOne.shiftLeft(1).equals(minusTwo));
509 assertTrue("-1 << 63", minusOne.shiftLeft(63).equals
    [all...]
  /external/skia/src/core/
Sk64.cpp 45 void Sk64::shiftLeft(unsigned bits)
107 one.shiftLeft(bits - 1);
359 N.shiftLeft(shiftN);
SkFloat.h 40 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); }
  /libcore/luni/src/test/java/tests/api/java/math/
BigIntegerTest.java 645 a = a.shiftLeft(1);
667 * java.math.BigInteger#shiftLeft(int)
670 assertTrue("1 << 0", one.shiftLeft(0).equals(one));
671 assertTrue("1 << 1", one.shiftLeft(1).equals(two));
672 assertTrue("1 << 63", one.shiftLeft(63).equals(
674 assertTrue("1 << 64", one.shiftLeft(64).equals(
676 assertTrue("1 << 65", one.shiftLeft(65).equals(
678 assertTrue("-1 << 0", minusOne.shiftLeft(0).equals(minusOne));
679 assertTrue("-1 << 1", minusOne.shiftLeft(1).equals(minusTwo));
680 assertTrue("-1 << 63", minusOne.shiftLeft(63).equals
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java 101 bigValue = bigValue.shiftLeft(7);
  /external/skia/include/core/
Sk64.h 122 void shiftLeft(unsigned bits);

Completed in 4320 milliseconds

1 2