/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
ECMultiplier.java | 18 ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo); method in interface:ECMultiplier
|
ECFieldElement.java | 15 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(r) 1003 public ECFieldElement multiply(final ECFieldElement b) method in class:ECFieldElement.F2m [all...] |
FpNafMultiplier.java | 12 * @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));
|
ECAlgorithms.java | 22 return P.multiply(a).add(Q.multiply(b));
|
SimpleBigDecimal.java | 115 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);
|
/external/replicaisland/src/com/replica/replicaisland/ |
GravityComponent.java | 43 mScaledGravity.multiply(timeDelta); 53 mGravity.multiply(multiplier);
|
OrbitalMagnetComponent.java | 79 mRim.multiply(mMagnetRadius); 88 mVelocity.multiply(timeDelta); 93 mDelta.multiply(mMagnetRadius); 109 mVelocity.multiply(mStrength); 115 mVelocity.multiply(weight); 121 targetVelocity.multiply(speed);
|
/frameworks/rs/ |
rsMatrix4x4.h | 60 void multiply(const rs_matrix4x4 *rhs) { function in struct:android::renderscript::Matrix4x4 68 multiply(&tmp); 73 multiply(&tmp); 78 multiply(&tmp);
|
rsMatrix2x2.h | 44 void multiply(const rs_matrix2x2 *rhs) { function in struct:android::renderscript::Matrix2x2
|
rsMatrix3x3.h | 44 void multiply(const rs_matrix3x3 *rhs) { function in struct:android::renderscript::Matrix3x3
|
/libcore/luni/src/main/java/java/math/ |
Multiplication.java | 31 // * between Karatsuba and Pencil and Paper multiply. 77 bigFivePows[i] = bigFivePows[i - 1].multiply(bigFivePows[1]); 78 bigTenPows[i] = bigTenPows[i - 1].multiply(BigInteger.TEN); 82 // BEGIN android-note: multiply has been removed in favor of using OpenSSL BIGNUM 108 : val.multiply(powerOf10(exp))); 159 res = res.multiply(powerOfFive); 162 res = res.multiply(bigFivePows[1].pow(intExp)); 186 return val.multiply(bigFivePows[exp]); 188 return val.multiply(bigFivePows[1].pow(exp));
|
/frameworks/base/libs/hwui/ |
Matrix.h | 83 void multiply(const Matrix4& v) { function in class:android::uirenderer::Matrix4 89 void multiply(float v); 94 multiply(u); 100 multiply(u); 106 multiply(u); 112 multiply(u);
|
SkiaColorFilter.cpp | 65 SkiaLightingFilter::SkiaLightingFilter(SkColorFilter *skFilter, int multiply, int add): 67 mMulR = ((multiply >> 16) & 0xFF) / 255.0f; 68 mMulG = ((multiply >> 8) & 0xFF) / 255.0f; 69 mMulB = ((multiply ) & 0xFF) / 255.0f;
|
/frameworks/base/graphics/java/android/renderscript/ |
Matrix2f.java | 153 * @param rhs right hand side to multiply by 155 public void multiply(Matrix2f rhs) { method in class:Matrix2f 169 multiply(tmp); 181 multiply(tmp);
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/ |
DSASigner.java | 73 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());
|
ECDSASigner.java | 81 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/ |
DoubleValue.java | 91 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);
|
FloatValue.java | 91 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);
|
ParticularDoubleValue.java | 95 public DoubleValue multiply(DoubleValue other) method in class:ParticularDoubleValue 97 return other.multiply(this); 149 public DoubleValue multiply(ParticularDoubleValue other) method in class:ParticularDoubleValue
|
ParticularFloatValue.java | 95 public FloatValue multiply(FloatValue other) method in class:ParticularFloatValue 97 return other.multiply(this); 149 public FloatValue multiply(ParticularFloatValue other) method in class:ParticularFloatValue
|
SpecificDoubleValue.java | 75 public DoubleValue multiply(DoubleValue other) method in class:SpecificDoubleValue 77 return other.multiply(this); 129 public DoubleValue multiply(SpecificDoubleValue other) method in class:SpecificDoubleValue 131 return new CompositeDoubleValue(this, CompositeDoubleValue.MULTIPLY, other);
|
SpecificFloatValue.java | 75 public FloatValue multiply(FloatValue other) method in class:SpecificFloatValue 77 return other.multiply(this); 129 public FloatValue multiply(SpecificFloatValue other) method in class:SpecificFloatValue 131 return new CompositeFloatValue(this, CompositeFloatValue.MULTIPLY, other);
|
/external/apache-harmony/math/src/test/java/tests/api/java/math/ |
BigIntegerTest.java | 220 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(zero).equals(zero)) [all...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerMultiplyTest.java | 28 * Method: multiply 32 * Multiply two negative numbers of the same length 42 BigInteger result = aNumber.multiply(bNumber); 52 * Multiply two numbers of the same length and different signs. 63 BigInteger result = aNumber.multiply(bNumber); 73 * Multiply two positive numbers of different length. 85 BigInteger result = aNumber.multiply(bNumber); 95 * Multiply two positive numbers of different length. 107 BigInteger result = aNumber.multiply(bNumber); 117 * Multiply two numbers of different length and different signs [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/agreement/ |
ECDHBasicAgreement.java | 41 ECPoint P = pub.getQ().multiply(key.getD());
|