Home
last modified time | relevance | path

Searched refs:multiply (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECFieldElement.java15 public abstract ECFieldElement multiply(ECFieldElement b); in multiply() method in ECFieldElement
80 public ECFieldElement multiply(ECFieldElement b) in multiply() method in ECFieldElement.Fp
82 return new Fp(q, x.multiply(b.toBigInteger()).mod(q)); in multiply()
87 return new Fp(q, x.multiply(b.toBigInteger().modInverse(q)).mod(q)); in divide()
97 return new Fp(q, x.multiply(x).mod(q)); in square()
153 … || !(P.multiply(P).subtract(fourQ).modPow(legendreExponent, q).equals(qMinusOne))); in sqrt()
159 if (V.multiply(V).mod(q).equals(fourQ)) in sqrt()
250 Ql = Ql.multiply(Qh).mod(p); in lucasSequence()
254 Qh = Ql.multiply(Q).mod(p); in lucasSequence()
255 Uh = Uh.multiply(Vh).mod(p); in lucasSequence()
[all …]
DTnaf.java87 BigInteger s1 = lambda.u.multiply(lambda.u); in norm()
90 BigInteger s2 = lambda.u.multiply(lambda.v); in norm()
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm()
129 SimpleBigDecimal s1 = u.multiply(u); in norm()
132 SimpleBigDecimal s2 = u.multiply(v); in norm()
135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1); in norm()
289 BigInteger gs = s.multiply(ns); in approximateDivisionByN()
293 BigInteger js = vm.multiply(hs); in approximateDivisionByN()
527 tw = ECConstants.TWO.multiply(us[0]).multiply(u1invert).mod(twoToW); in getTw()
632 BigInteger r0 = k.subtract(d0.multiply(q.u)).subtract( in partModReduction()
[all …]
DECPoint.java134 public ECPoint multiply(BigInteger k) in multiply() method in ECPoint
152 return this.multiplier.multiply(this, k, preCompInfo); in multiply()
269 ECFieldElement y3 = gamma.multiply(this.x.subtract(x3)).subtract(this.y); in add()
292 … ECFieldElement gamma = this.x.square().multiply(THREE).add(curve.a).divide(y.multiply(TWO)); in twice()
294 ECFieldElement x3 = gamma.square().subtract(this.x.multiply(TWO)); in twice()
295 ECFieldElement y3 = gamma.multiply(this.x.subtract(x3)).subtract(this.y); in twice()
401 if (this.getY().multiply(this.getX().invert()) in getEncoded()
498 = (ECFieldElement.F2m)lambda.multiply(this.x.add(x3)).add(x3).add(this.y); in addSimple()
560 x3.multiply(lambda.add(ONE))); in twice()
/external/e2fsprogs/tests/f_dup3/
Dexpect.16 Pass 1B: Rescanning for multiply-claimed blocks
10 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
11 Pass 1D: Reconciling multiply-claimed blocks
12 (There are 3 inodes containing multiply-claimed blocks.)
15 has 2 multiply-claimed block(s), shared with 0 file(s):
16 Clone multiply-claimed blocks? yes
19 has 2 multiply-claimed block(s), shared with 0 file(s):
20 Clone multiply-claimed blocks? yes
23 has 2 multiply-claimed block(s), shared with 0 file(s):
24 Clone multiply-claimed blocks? yes
/external/e2fsprogs/tests/f_dup4/
Dexpect.14 Pass 1B: Rescanning for multiply-claimed blocks
13 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
14 Pass 1D: Reconciling multiply-claimed blocks
15 (There are 8 inodes containing multiply-claimed blocks.)
18 has 1 multiply-claimed block(s), shared with 3 file(s):
22 Clone multiply-claimed blocks? yes
25 has 1 multiply-claimed block(s), shared with 3 file(s):
29 Clone multiply-claimed blocks? yes
32 has 1 multiply-claimed block(s), shared with 3 file(s):
36 Clone multiply-claimed blocks? yes
[all …]
/external/e2fsprogs/tests/f_bbfile/
Dexpect.19 Pass 1B: Rescanning for multiply-claimed blocks
13 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
14 Pass 1D: Reconciling multiply-claimed blocks
15 (There are 3 inodes containing multiply-claimed blocks.)
18 has 1 multiply-claimed block(s), shared with 1 file(s):
20 Clone multiply-claimed blocks? yes
23 has 12 multiply-claimed block(s), shared with 1 file(s):
25 Clone multiply-claimed blocks? yes
28 has 2 multiply-claimed block(s), shared with 1 file(s):
30 Clone multiply-claimed blocks? yes
/external/e2fsprogs/tests/f_dup2/
Dexpect.16 Pass 1B: Rescanning for multiply-claimed blocks
10 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
11 Pass 1D: Reconciling multiply-claimed blocks
12 (There are 3 inodes containing multiply-claimed blocks.)
15 has 2 multiply-claimed block(s), shared with 1 file(s):
17 Clone multiply-claimed blocks? yes
20 has 4 multiply-claimed block(s), shared with 2 file(s):
23 Clone multiply-claimed blocks? yes
26 has 2 multiply-claimed block(s), shared with 1 file(s):
/external/e2fsprogs/tests/f_dupfsblks/
Dexpect.110 Pass 1B: Rescanning for multiply-claimed blocks
14 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
15 Pass 1D: Reconciling multiply-claimed blocks
16 (There are 3 inodes containing multiply-claimed blocks.)
19 has 4 multiply-claimed block(s), shared with 2 file(s):
22 Clone multiply-claimed blocks? yes
25 has 2 multiply-claimed block(s), shared with 3 file(s):
29 Clone multiply-claimed blocks? yes
32 has 1 multiply-claimed block(s), shared with 2 file(s):
35 Clone multiply-claimed blocks? yes
/external/e2fsprogs/tests/f_dup/
Dexpect.16 Pass 1B: Rescanning for multiply-claimed blocks
9 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
10 Pass 1D: Reconciling multiply-claimed blocks
11 (There are 2 inodes containing multiply-claimed blocks.)
14 has 2 multiply-claimed block(s), shared with 1 file(s):
16 Clone multiply-claimed blocks? yes
19 has 2 multiply-claimed block(s), shared with 1 file(s):
/external/e2fsprogs/tests/f_extents2/
Dexpect.132 Pass 1B: Rescanning for multiply-claimed blocks
36 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
37 Pass 1D: Reconciling multiply-claimed blocks
38 (There are 3 inodes containing multiply-claimed blocks.)
41 has 2 multiply-claimed block(s), shared with 0 file(s):
42 Clone multiply-claimed blocks? yes
45 has 1 multiply-claimed block(s), shared with 1 file(s):
47 Clone multiply-claimed blocks? yes
50 has 1 multiply-claimed block(s), shared with 1 file(s):
/external/e2fsprogs/tests/f_dupsuper/
Dexpect.16 Pass 1B: Rescanning for multiply-claimed blocks
8 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
9 Pass 1D: Reconciling multiply-claimed blocks
10 (There are 1 inodes containing multiply-claimed blocks.)
13 has 3 multiply-claimed block(s), shared with 1 file(s):
15 Clone multiply-claimed blocks? yes
/external/e2fsprogs/tests/f_dup_resize/
Dexpect.16 Pass 1B: Rescanning for multiply-claimed blocks
9 Pass 1C: Scanning directories for inodes with multiply-claimed blocks
10 Pass 1D: Reconciling multiply-claimed blocks
11 (There are 1 inodes containing multiply-claimed blocks.)
14 has 4 multiply-claimed block(s), shared with 1 file(s):
16 Clone multiply-claimed blocks? yes
/external/replicaisland/src/com/replica/replicaisland/
DOrbitalMagnetComponent.java79 mRim.multiply(mMagnetRadius); in applyMagnetism()
88 mVelocity.multiply(timeDelta); in applyMagnetism()
93 mDelta.multiply(mMagnetRadius); in applyMagnetism()
109 mVelocity.multiply(mStrength); in applyMagnetism()
115 mVelocity.multiply(weight); in applyMagnetism()
121 targetVelocity.multiply(speed); in applyMagnetism()
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerMultiplyTest.java42 BigInteger result = aNumber.multiply(bNumber); in testCase1()
63 BigInteger result = aNumber.multiply(bNumber); in testCase2()
85 BigInteger result = aNumber.multiply(bNumber); in testCase3()
107 BigInteger result = aNumber.multiply(bNumber); in testCase4()
130 BigInteger result = aNumber.multiply(bNumber); in testCase5()
153 BigInteger result = aNumber.multiply(bNumber); in testCase6()
173 BigInteger result = aNumber.multiply(bNumber); in testCase7()
191 BigInteger result = aNumber.multiply(bNumber); in testCase8()
209 BigInteger result = aNumber.multiply(bNumber); in testCase9()
227 BigInteger result = aNumber.multiply(bNumber); in testCase10()
[all …]
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java220 bi = BigInteger.valueOf(rand.nextInt(1000000)).multiply( in test_isProbablePrimeI()
228 bi = new BigInteger(70, rand).multiply(new BigInteger(70, rand)); in test_isProbablePrimeI()
384 .multiply(two.pow(40)).equals(twoToTheSeventy)); in test_powI()
401 + " equals " + inv, one.equals(a.multiply(inv).mod( in test_modInverseLjava_math_BigInteger()
422 + " equals " + inv, one.equals(a.multiply(inv).mod( in test_modInverseLjava_math_BigInteger()
523 assertTrue("<<1 == *2", b.multiply(two).equals(a)); in test_shiftLeftI()
530 assertTrue("<<1 == *2 negative", d.multiply(two).equals(c)); in test_shiftLeftI()
542 aZillion.multiply(new BigInteger("3", 10)))); in test_multiplyLjava_math_BigInteger()
544 assertTrue("0*0", zero.multiply(zero).equals(zero)); in test_multiplyLjava_math_BigInteger()
545 assertTrue("0*1", zero.multiply(one).equals(zero)); in test_multiplyLjava_math_BigInteger()
[all …]
/external/llvm/unittests/Support/
DConstantRangeTest.cpp370 EXPECT_EQ(Full.multiply(Full), Full); in TEST_F()
371 EXPECT_EQ(Full.multiply(Empty), Empty); in TEST_F()
372 EXPECT_EQ(Full.multiply(One), Full); in TEST_F()
373 EXPECT_EQ(Full.multiply(Some), Full); in TEST_F()
374 EXPECT_EQ(Full.multiply(Wrap), Full); in TEST_F()
375 EXPECT_EQ(Empty.multiply(Empty), Empty); in TEST_F()
376 EXPECT_EQ(Empty.multiply(One), Empty); in TEST_F()
377 EXPECT_EQ(Empty.multiply(Some), Empty); in TEST_F()
378 EXPECT_EQ(Empty.multiply(Wrap), Empty); in TEST_F()
379 EXPECT_EQ(One.multiply(One), ConstantRange(APInt(16, 0xa*0xa), in TEST_F()
[all …]
/external/proguard/src/proguard/evaluation/value/
DDoubleValue.java91 public abstract DoubleValue multiply(DoubleValue other); in multiply() method in DoubleValue
171 public DoubleValue multiply(SpecificDoubleValue other) in multiply() method in DoubleValue
173 return multiply((DoubleValue)other); in multiply()
274 public DoubleValue multiply(ParticularDoubleValue other) in multiply() method in DoubleValue
276 return multiply((SpecificDoubleValue)other); in multiply()
DFloatValue.java91 public abstract FloatValue multiply(FloatValue other); in multiply() method in FloatValue
171 public FloatValue multiply(SpecificFloatValue other) in multiply() method in FloatValue
173 return multiply((FloatValue)other); in multiply()
274 public FloatValue multiply(ParticularFloatValue other) in multiply() method in FloatValue
276 return multiply((SpecificFloatValue)other); in multiply()
DLongValue.java103 public LongValue multiply(LongValue other) in multiply() method in LongValue
106 return other.multiply(this); in multiply()
260 public LongValue multiply(SpecificLongValue other) in multiply() method in LongValue
416 public LongValue multiply(ParticularLongValue other) in multiply() method in LongValue
418 return multiply((SpecificLongValue)other); in multiply()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java73 k = k.modInverse(params.getQ()).multiply( in generateSignature()
74 m.add(((DSAPrivateKeyParameters)key).getX().multiply(r))); in generateSignature()
112 BigInteger u1 = m.multiply(w).mod(params.getQ()); in verifySignature()
113 BigInteger u2 = r.multiply(w).mod(params.getQ()); in verifySignature()
118 BigInteger v = u1.multiply(u2).mod(params.getP()).mod(params.getQ()); in verifySignature()
DECDSASigner.java81 ECPoint p = key.getParameters().getG().multiply(k); in generateSignature()
92 s = k.modInverse(n).multiply(e.add(d.multiply(r))).mod(n); in generateSignature()
132 BigInteger u1 = e.multiply(c).mod(n); in verifySignature()
133 BigInteger u2 = r.multiply(c).mod(n); in verifySignature()
/external/libvpx/libvpx/vp8/encoder/arm/armv6/
Dvp8_mse16x16_armv6.asm61 smlad r4, r6, r6, r4 ; dual signed multiply, add and accumulate (1)
65 smlad r4, r7, r7, r4 ; dual signed multiply, add and accumulate (2)
80 smlad r4, r6, r6, r4 ; dual signed multiply, add and accumulate (1)
84 smlad r4, r7, r7, r4 ; dual signed multiply, add and accumulate (2)
101 smlad r4, r6, r6, r4 ; dual signed multiply, add and accumulate (1)
105 smlad r4, r7, r7, r4 ; dual signed multiply, add and accumulate (2)
124 smlad r4, r6, r6, r4 ; dual signed multiply, add and accumulate (1)
125 smlad r4, r7, r7, r4 ; dual signed multiply, add and accumulate (2)
/external/skia/src/effects/
DSkEmbossMask.cpp96 uint8_t* multiply = (uint8_t*)alpha + planeSize; in Emboss() local
97 uint8_t* additive = multiply + planeSize; in Emboss()
150 multiply[x] = SkToU8(mul); in Emboss()
159 multiply += rowBytes; in Emboss()
/external/skia/legacy/src/effects/
DSkEmbossMask.cpp96 uint8_t* multiply = (uint8_t*)alpha + planeSize; in Emboss() local
97 uint8_t* additive = multiply + planeSize; in Emboss()
150 multiply[x] = SkToU8(mul); in Emboss()
159 multiply += rowBytes; in Emboss()
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java144 BigInteger tenPow = powOf10.multiply(floorPow); in log10()
167 BigInteger halfPowerSquared = floorPow.pow(2).multiply(BigInteger.TEN); in log10()
350 return nums.get(start).multiply(nums.get(start + 1)); in listProduct()
352 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2)); in listProduct()
356 return listProduct(nums, start, m).multiply(listProduct(nums, m, end)); in listProduct()
380 result = result.multiply(BigInteger.valueOf(n - i)); in binomial()

12345678910>>...13