Searched refs:multiply (Results 1 - 25 of 151) sorted by relevance

1234567

/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
H A DECMultiplier.java18 ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo); method in interface:ECMultiplier
H A DECFieldElement.java15 public abstract ECFieldElement multiply(ECFieldElement b); method in class:ECFieldElement
80 public ECFieldElement multiply(ECFieldElement b) method in class:ECFieldElement.Fp
82 return new Fp(q, x.multiply(b.toBigInteger()).mod(q));
87 return new Fp(q, x.multiply(b.toBigInteger().modInverse(q)).mod(q));
97 return new Fp(q, x.multiply(x).mod(q));
153 || !(P.multiply(P).subtract(fourQ).modPow(legendreExponent, q).equals(qMinusOne)));
159 if (V.multiply(V).mod(q).equals(fourQ))
169 //assert V.multiply(V).mod(q).equals(x);
194 // || !(r.multiply(r).subtract(fourX).modPow(legendreExponent, q).equals(qMinusOne)));
201 // BigInteger twoR = r.shiftLeft(1); //ECConstants.TWO.multiply(
1003 public ECFieldElement multiply(final ECFieldElement b) method in class:ECFieldElement.F2m
[all...]
H A DFpNafMultiplier.java12 * @see org.bouncycastle.math.ec.ECMultiplier#multiply(org.bouncycastle.math.ec.ECPoint, java.math.BigInteger)
14 public ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo) method in class:FpNafMultiplier
19 BigInteger h = e.multiply(BigInteger.valueOf(3));
H A DECAlgorithms.java22 return P.multiply(a).add(Q.multiply(b));
H A DSimpleBigDecimal.java115 public SimpleBigDecimal multiply(SimpleBigDecimal b) method in class:SimpleBigDecimal
118 return new SimpleBigDecimal(bigInt.multiply(b.bigInt), scale + scale);
121 public SimpleBigDecimal multiply(BigInteger b) method in class:SimpleBigDecimal
123 return new SimpleBigDecimal(bigInt.multiply(b), scale);
H A DTnaf.java87 BigInteger s1 = lambda.u.multiply(lambda.u);
90 BigInteger s2 = lambda.u.multiply(lambda.v);
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1);
129 SimpleBigDecimal s1 = u.multiply(u);
132 SimpleBigDecimal s2 = u.multiply(v);
135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1);
289 BigInteger gs = s.multiply(ns);
293 BigInteger js = vm.multiply(hs);
527 tw = ECConstants.TWO.multiply(us[0]).multiply(u1inver
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DGravityComponent.java43 mScaledGravity.multiply(timeDelta);
53 mGravity.multiply(multiplier);
H A DOrbitalMagnetComponent.java79 mRim.multiply(mMagnetRadius);
88 mVelocity.multiply(timeDelta);
93 mDelta.multiply(mMagnetRadius);
109 mVelocity.multiply(mStrength);
115 mVelocity.multiply(weight);
121 targetVelocity.multiply(speed);
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
H A DDSASigner.java73 k = k.modInverse(params.getQ()).multiply(
74 m.add(((DSAPrivateKeyParameters)key).getX().multiply(r)));
112 BigInteger u1 = m.multiply(w).mod(params.getQ());
113 BigInteger u2 = r.multiply(w).mod(params.getQ());
118 BigInteger v = u1.multiply(u2).mod(params.getP()).mod(params.getQ());
H A DECDSASigner.java81 ECPoint p = key.getParameters().getG().multiply(k);
92 s = k.modInverse(n).multiply(e.add(d.multiply(r))).mod(n);
132 BigInteger u1 = e.multiply(c).mod(n);
133 BigInteger u2 = r.multiply(c).mod(n);
/external/proguard/src/proguard/evaluation/value/
H A DDoubleValue.java91 public abstract DoubleValue multiply(DoubleValue other); method in class:DoubleValue
171 public DoubleValue multiply(SpecificDoubleValue other) method in class:DoubleValue
173 return multiply((DoubleValue)other);
274 public DoubleValue multiply(ParticularDoubleValue other) method in class:DoubleValue
276 return multiply((SpecificDoubleValue)other);
H A DFloatValue.java91 public abstract FloatValue multiply(FloatValue other); method in class:FloatValue
171 public FloatValue multiply(SpecificFloatValue other) method in class:FloatValue
173 return multiply((FloatValue)other);
274 public FloatValue multiply(ParticularFloatValue other) method in class:FloatValue
276 return multiply((SpecificFloatValue)other);
H A DParticularDoubleValue.java95 public DoubleValue multiply(DoubleValue other) method in class:ParticularDoubleValue
97 return other.multiply(this);
149 public DoubleValue multiply(ParticularDoubleValue other) method in class:ParticularDoubleValue
H A DParticularFloatValue.java95 public FloatValue multiply(FloatValue other) method in class:ParticularFloatValue
97 return other.multiply(this);
149 public FloatValue multiply(ParticularFloatValue other) method in class:ParticularFloatValue
H A DSpecificDoubleValue.java75 public DoubleValue multiply(DoubleValue other) method in class:SpecificDoubleValue
77 return other.multiply(this);
129 public DoubleValue multiply(SpecificDoubleValue other) method in class:SpecificDoubleValue
H A DSpecificFloatValue.java75 public FloatValue multiply(FloatValue other) method in class:SpecificFloatValue
77 return other.multiply(this);
129 public FloatValue multiply(SpecificFloatValue other) method in class:SpecificFloatValue
H A DUnknownDoubleValue.java75 public DoubleValue multiply(DoubleValue other) method in class:UnknownDoubleValue
H A DUnknownFloatValue.java75 public FloatValue multiply(FloatValue other) method in class:UnknownFloatValue
/external/apache-harmony/math/src/test/java/tests/api/java/math/
H A DBigIntegerTest.java220 bi = BigInteger.valueOf(rand.nextInt(1000000)).multiply(
228 bi = new BigInteger(70, rand).multiply(new BigInteger(70, rand));
384 .multiply(two.pow(40)).equals(twoToTheSeventy));
401 + " equals " + inv, one.equals(a.multiply(inv).mod(
422 + " equals " + inv, one.equals(a.multiply(inv).mod(
523 assertTrue("<<1 == *2", b.multiply(two).equals(a));
530 assertTrue("<<1 == *2 negative", d.multiply(two).equals(c));
537 * @tests java.math.BigInteger#multiply(java.math.BigInteger)
542 aZillion.multiply(new BigInteger("3", 10))));
544 assertTrue("0*0", zero.multiply(zer
[all...]
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerMultiplyTest.java28 * Method: multiply
42 BigInteger result = aNumber.multiply(bNumber);
63 BigInteger result = aNumber.multiply(bNumber);
85 BigInteger result = aNumber.multiply(bNumber);
107 BigInteger result = aNumber.multiply(bNumber);
130 BigInteger result = aNumber.multiply(bNumber);
153 BigInteger result = aNumber.multiply(bNumber);
173 BigInteger result = aNumber.multiply(bNumber);
191 BigInteger result = aNumber.multiply(bNumber);
209 BigInteger result = aNumber.multiply(bNumbe
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/agreement/
H A DECDHBasicAgreement.java41 ECPoint P = pub.getQ().multiply(key.getD());
/external/skia/src/effects/
H A DSkEmbossMask.cpp96 uint8_t* multiply = (uint8_t*)alpha + planeSize; local
97 uint8_t* additive = multiply + planeSize;
150 multiply[x] = SkToU8(mul);
153 // multiply[x] = 0xFF;
155 // ((uint8_t*)alpha)[x] = alpha[x] * multiply[x] >> 8;
159 multiply += rowBytes;
/external/webkit/Source/WebCore/platform/audio/
H A DFFTFrameStub.cpp67 void FFTFrame::multiply(const FFTFrame& frame) function in class:WebCore::FFTFrame
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DMatrix3DTransformOperation.h58 transform.multiply(TransformationMatrix(m_matrix));
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
H A DRSABlindedEngine.java108 BigInteger blindedInput = r.modPow(e, m).multiply(input).mod(m);
112 result = blindedResult.multiply(rInv).mod(m);

Completed in 546 milliseconds

1234567