/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECPoint.java | 270 ECFieldElement zInv2 = zInv.square(), zInv3 = zInv2.multiply(zInv); in normalize() 282 …return this.getCurve().createRawPoint(getRawXCoord().multiply(sx), getRawYCoord().multiply(sy), th… in createScaledPoint() 328 …: getCurve().createRawPoint(getRawXCoord().multiply(scale), getRawYCoord(), getRawZCoords(), thi… in scaleX() 335 …: getCurve().createRawPoint(getRawXCoord(), getRawYCoord().multiply(scale), getRawZCoords(), thi… in scaleY() 523 public ECPoint multiply(BigInteger k) in multiply() method in ECPoint 525 return this.getCurve().getMultiplier().multiply(this, k); in multiply() 559 ECFieldElement Z2 = Z.square(), Z3 = Z.multiply(Z2); in satisfiesCurveEquation() 560 lhs = lhs.multiply(Z); in satisfiesCurveEquation() 561 A = A.multiply(Z2); in satisfiesCurveEquation() 562 B = B.multiply(Z3); in satisfiesCurveEquation() [all …]
|
D | ECFieldElement.java | 20 public abstract ECFieldElement multiply(ECFieldElement b); in multiply() method in ECFieldElement 44 return multiply(b).subtract(x.multiply(y)); in multiplyMinusProduct() 49 return multiply(b).add(x.multiply(y)); in multiplyPlusProduct() 54 return square().subtract(x.multiply(y)); in squareMinusProduct() 59 return square().add(x.multiply(y)); in squarePlusProduct() 170 public ECFieldElement multiply(ECFieldElement b) in multiply() method in ECFieldElement.Fp 178 BigInteger ab = ax.multiply(bx); in multiplyMinusProduct() 179 BigInteger xy = xx.multiply(yx); in multiplyMinusProduct() 186 BigInteger ab = ax.multiply(bx); in multiplyPlusProduct() 187 BigInteger xy = xx.multiply(yx); in multiplyPlusProduct() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP224K1FieldElement.java | 91 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP224K1FieldElement 94 SecP224K1Field.multiply(x, ((SecP224K1FieldElement)b).x, z); in multiply() 103 SecP224K1Field.multiply(z, x, z); in divide() 156 SecP224K1Field.multiply(x2, x1, x2); in sqrt() 159 SecP224K1Field.multiply(x3, x1, x3); in sqrt() 162 SecP224K1Field.multiply(x4, x1, x4); in sqrt() 165 SecP224K1Field.multiply(x8, x4, x8); in sqrt() 168 SecP224K1Field.multiply(x11, x3, x11); in sqrt() 171 SecP224K1Field.multiply(x19, x8, x19); in sqrt() 174 SecP224K1Field.multiply(x23, x4, x23); in sqrt() [all …]
|
D | SecP384R1FieldElement.java | 87 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP384R1FieldElement 90 SecP384R1Field.multiply(x, ((SecP384R1FieldElement)b).x, z); in multiply() 99 SecP384R1Field.multiply(z, x, z); in divide() 145 SecP384R1Field.multiply(t1, x1, t1); in sqrt() 148 SecP384R1Field.multiply(t2, t1, t2); in sqrt() 151 SecP384R1Field.multiply(t2, x1, t2); in sqrt() 154 SecP384R1Field.multiply(t3, t2, t3); in sqrt() 157 SecP384R1Field.multiply(t4, t2, t4); in sqrt() 160 SecP384R1Field.multiply(t2, t4, t2); in sqrt() 163 SecP384R1Field.multiply(t1, t3, t1); in sqrt() [all …]
|
D | SecP256K1FieldElement.java | 87 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP256K1FieldElement 90 SecP256K1Field.multiply(x, ((SecP256K1FieldElement)b).x, z); in multiply() 99 SecP256K1Field.multiply(z, x, z); in divide() 150 SecP256K1Field.multiply(x2, x1, x2); in sqrt() 153 SecP256K1Field.multiply(x3, x1, x3); in sqrt() 156 SecP256K1Field.multiply(x6, x3, x6); in sqrt() 159 SecP256K1Field.multiply(x9, x3, x9); in sqrt() 162 SecP256K1Field.multiply(x11, x2, x11); in sqrt() 165 SecP256K1Field.multiply(x22, x11, x22); in sqrt() 168 SecP256K1Field.multiply(x44, x22, x44); in sqrt() [all …]
|
D | SecP192K1FieldElement.java | 87 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP192K1FieldElement 90 SecP192K1Field.multiply(x, ((SecP192K1FieldElement)b).x, z); in multiply() 99 SecP192K1Field.multiply(z, x, z); in divide() 149 SecP192K1Field.multiply(x2, x1, x2); in sqrt() 152 SecP192K1Field.multiply(x3, x1, x3); in sqrt() 155 SecP192K1Field.multiply(x6, x3, x6); in sqrt() 158 SecP192K1Field.multiply(x8, x2, x8); in sqrt() 161 SecP192K1Field.multiply(x16, x8, x16); in sqrt() 164 SecP192K1Field.multiply(x19, x3, x19); in sqrt() 167 SecP192K1Field.multiply(x35, x16, x35); in sqrt() [all …]
|
D | SecP192R1FieldElement.java | 87 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP192R1FieldElement 90 SecP192R1Field.multiply(x, ((SecP192R1FieldElement)b).x, z); in multiply() 99 SecP192R1Field.multiply(z, x, z); in divide() 144 SecP192R1Field.multiply(t1, x1, t1); in sqrt() 147 SecP192R1Field.multiply(t2, t1, t2); in sqrt() 150 SecP192R1Field.multiply(t1, t2, t1); in sqrt() 153 SecP192R1Field.multiply(t2, t1, t2); in sqrt() 156 SecP192R1Field.multiply(t1, t2, t1); in sqrt() 159 SecP192R1Field.multiply(t2, t1, t2); in sqrt() 162 SecP192R1Field.multiply(t1, t2, t1); in sqrt()
|
D | SecP256R1FieldElement.java | 87 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP256R1FieldElement 90 SecP256R1Field.multiply(x, ((SecP256R1FieldElement)b).x, z); in multiply() 99 SecP256R1Field.multiply(z, x, z); in divide() 143 SecP256R1Field.multiply(t1, x1, t1); in sqrt() 146 SecP256R1Field.multiply(t2, t1, t2); in sqrt() 149 SecP256R1Field.multiply(t1, t2, t1); in sqrt() 152 SecP256R1Field.multiply(t2, t1, t2); in sqrt() 155 SecP256R1Field.multiply(t1, t2, t1); in sqrt() 158 SecP256R1Field.multiply(t1, x1, t1); in sqrt() 161 SecP256R1Field.multiply(t1, x1, t1); in sqrt()
|
D | SecP521R1Point.java | 107 SecP521R1Field.multiply(S2, X2.x, U2); in add() 109 SecP521R1Field.multiply(S2, Z1.x, S2); in add() 110 SecP521R1Field.multiply(S2, Y2.x, S2); in add() 126 SecP521R1Field.multiply(S1, X1.x, U1); in add() 128 SecP521R1Field.multiply(S1, Z2.x, S1); in add() 129 SecP521R1Field.multiply(S1, Y1.x, S1); in add() 155 SecP521R1Field.multiply(HSquared, H, G); in add() 158 SecP521R1Field.multiply(HSquared, U1, V); in add() 160 SecP521R1Field.multiply(S1, G, t1); in add() 170 SecP521R1Field.multiply(Y3.x, R, t2); in add() [all …]
|
D | SecP224R1FieldElement.java | 88 public ECFieldElement multiply(ECFieldElement b) in multiply() method in SecP224R1FieldElement 91 SecP224R1Field.multiply(x, ((SecP224R1FieldElement)b).x, z); in multiply() 100 SecP224R1Field.multiply(z, x, z); in divide() 190 SecP224R1Field.multiply(t1, t2, t1); in isSquare() 199 SecP224R1Field.multiply(e1, e0, t); in RM() 200 SecP224R1Field.multiply(t, nc, t); in RM() 201 SecP224R1Field.multiply(d1, d0, f1); in RM() 203 SecP224R1Field.multiply(d1, e0, t); in RM() 205 SecP224R1Field.multiply(e1, d0, e1); in RM() 208 SecP224R1Field.multiply(f1, nc, f1); in RM() [all …]
|
D | SecP256R1Point.java | 109 SecP256R1Field.multiply(S2, X2.x, U2); in add() 111 SecP256R1Field.multiply(S2, Z1.x, S2); in add() 112 SecP256R1Field.multiply(S2, Y2.x, S2); in add() 128 SecP256R1Field.multiply(S1, X1.x, U1); in add() 130 SecP256R1Field.multiply(S1, Z2.x, S1); in add() 131 SecP256R1Field.multiply(S1, Y1.x, S1); in add() 157 SecP256R1Field.multiply(HSquared, H, G); in add() 160 SecP256R1Field.multiply(HSquared, U1, V); in add() 180 SecP256R1Field.multiply(Z3.x, Z1.x, Z3.x); in add() 184 SecP256R1Field.multiply(Z3.x, Z2.x, Z3.x); in add() [all …]
|
D | SecP192R1Point.java | 110 SecP192R1Field.multiply(S2, X2.x, U2); in add() 112 SecP192R1Field.multiply(S2, Z1.x, S2); in add() 113 SecP192R1Field.multiply(S2, Y2.x, S2); in add() 129 SecP192R1Field.multiply(S1, X1.x, U1); in add() 131 SecP192R1Field.multiply(S1, Z2.x, S1); in add() 132 SecP192R1Field.multiply(S1, Y1.x, S1); in add() 158 SecP192R1Field.multiply(HSquared, H, G); in add() 161 SecP192R1Field.multiply(HSquared, U1, V); in add() 181 SecP192R1Field.multiply(Z3.x, Z1.x, Z3.x); in add() 185 SecP192R1Field.multiply(Z3.x, Z2.x, Z3.x); in add() [all …]
|
D | SecP224R1Point.java | 109 SecP224R1Field.multiply(S2, X2.x, U2); in add() 111 SecP224R1Field.multiply(S2, Z1.x, S2); in add() 112 SecP224R1Field.multiply(S2, Y2.x, S2); in add() 128 SecP224R1Field.multiply(S1, X1.x, U1); in add() 130 SecP224R1Field.multiply(S1, Z2.x, S1); in add() 131 SecP224R1Field.multiply(S1, Y1.x, S1); in add() 157 SecP224R1Field.multiply(HSquared, H, G); in add() 160 SecP224R1Field.multiply(HSquared, U1, V); in add() 180 SecP224R1Field.multiply(Z3.x, Z1.x, Z3.x); in add() 184 SecP224R1Field.multiply(Z3.x, Z2.x, Z3.x); in add() [all …]
|
D | SecP384R1Point.java | 109 SecP384R1Field.multiply(S2, X2.x, U2); in add() 111 SecP384R1Field.multiply(S2, Z1.x, S2); in add() 112 SecP384R1Field.multiply(S2, Y2.x, S2); in add() 128 SecP384R1Field.multiply(S1, X1.x, U1); in add() 130 SecP384R1Field.multiply(S1, Z2.x, S1); in add() 131 SecP384R1Field.multiply(S1, Y1.x, S1); in add() 157 SecP384R1Field.multiply(HSquared, H, G); in add() 160 SecP384R1Field.multiply(HSquared, U1, V); in add() 181 SecP384R1Field.multiply(Z3.x, Z1.x, Z3.x); in add() 185 SecP384R1Field.multiply(Z3.x, Z2.x, Z3.x); in add() [all …]
|
/external/e2fsprogs/tests/f_dup3/ |
D | expect.1 | 6 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/ |
D | expect.1 | 4 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/ |
D | expect.1 | 9 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/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpMath.java | 96 final Dfp shift = a.multiply(a.power10K(a.getRadixDigits() / 2)); in split() 114 result[0] = a[0].multiply(b[0]); in splitMult() 124 result[1] = a[0].multiply(b[1]).add(a[1].multiply(b[0])).add(a[1].multiply(b[1])); in splitMult() 142 result[1] = a[1].multiply(b[0]).subtract(a[0].multiply(b[1])); in splitDiv() 143 result[1] = result[1].divide(b[0].multiply(b[0]).add(b[0].multiply(b[1]))); in splitDiv() 237 r = r.multiply(r); in pow() 245 result = result.multiply(r); in pow() 283 return einta.multiply(efraca); in exp() 298 x = x.multiply(a); in expInternal() 300 y = y.add(x.multiply(fact)); in expInternal() [all …]
|
D | DfpField.java | 607 Dfp ak = two.multiply(three.subtract(two.multiply(sqrt2))); 618 final Dfp y2 = yk.multiply(yk); 619 final Dfp oneMinusY4 = one.subtract(y2.multiply(y2)); 623 two2kp3 = two2kp3.multiply(four); 626 final Dfp p2 = p.multiply(p); 627 …ak = ak.multiply(p2.multiply(p2)).subtract(two2kp3.multiply(yk).multiply(one.add(yk).add(yk.multip… 652 x = x.multiply(a); 655 f = f.multiply(fi); 735 num = num.multiply(x); 736 num = num.multiply(x); [all …]
|
/external/e2fsprogs/tests/f_dup_ba/ |
D | expect.1 | 8 Pass 1B: Rescanning for multiply-claimed blocks 15 Pass 1C: Scanning directories for inodes with multiply-claimed blocks 16 Pass 1D: Reconciling multiply-claimed blocks 17 (There are 6 inodes containing multiply-claimed blocks.) 20 has 5 multiply-claimed block(s), shared with 5 file(s): 26 Clone multiply-claimed blocks? yes 29 has 1 multiply-claimed block(s), shared with 1 file(s): 34 has 1 multiply-claimed block(s), shared with 1 file(s): 39 has 1 multiply-claimed block(s), shared with 1 file(s): 44 has 1 multiply-claimed block(s), shared with 1 file(s): [all …]
|
/external/e2fsprogs/tests/f_dupfsblks/ |
D | expect.1 | 10 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_dup2/ |
D | expect.1 | 6 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/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | BigFraction.java | 201 numerator = BigInteger.valueOf(m).multiply(BigInteger.ZERO.flipBit(k)); in BigFraction() 463 return new BigFraction(numerator.add(denominator.multiply(bg)), denominator); in add() 520 … num = (numerator.multiply(fraction.denominator)).add((fraction.numerator).multiply(denominator)); in add() 521 den = denominator.multiply(fraction.denominator); in add() 593 BigInteger nOd = numerator.multiply(object.denominator); in compareTo() 594 BigInteger dOn = denominator.multiply(object.numerator); in compareTo() 616 return new BigFraction(numerator, denominator.multiply(bg)); in divide() 670 return multiply(fraction.reciprocal()); in divide() 848 public BigFraction multiply(final BigInteger bg) { in multiply() method in BigFraction 852 return new BigFraction(bg.multiply(numerator), denominator); in multiply() [all …]
|
/external/skia/tests/ |
D | BlendTest.cpp | 28 static Results test(Fn&& multiply) { in test() argument 32 int p = multiply(x, y), in test() 51 for (auto multiply : broken) { REPORTER_ASSERT(r, !acceptable(test(multiply))); } in DEF_TEST() local 60 for (auto multiply : fine) { REPORTER_ASSERT(r, acceptable(test(multiply))); } in DEF_TEST() local 68 for (auto multiply : perfect) { REPORTER_ASSERT(r, test(multiply).diffs == 0); } in DEF_TEST() local
|
/external/e2fsprogs/tests/f_extents2/ |
D | expect.1 | 32 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):
|