HomeSort by relevance Sort by last modified time
    Searched refs:BigInteger (Results 426 - 450 of 621) sorted by null

<<11121314151617181920>>

  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
ZipUtil.java 21 import java.math.BigInteger;
128 * Converts a BigInteger into a long, and blows up
129 * (NumberFormatException) if the BigInteger is too big.
131 * @param big BigInteger to convert.
132 * @return long representation of the BigInteger.
134 static long bigToLong(final BigInteger big) {
138 throw new NumberFormatException("The BigInteger cannot fit inside a 64 bit java long: [" + big + "]");
143 * Converts a long into a BigInteger. Negative numbers between -1 and
149 * @param l long to convert to BigInteger.
150 * @return BigInteger representation of the provided long
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
MathUtils.java 21 import java.math.BigInteger;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
SecP192K1FieldElement.java 3 import java.math.BigInteger;
12 public static final BigInteger Q = SecP192K1Curve.q;
16 public SecP192K1FieldElement(BigInteger x)
51 public BigInteger toBigInteger()
SecP224K1FieldElement.java 3 import java.math.BigInteger;
12 public static final BigInteger Q = SecP224K1Curve.q;
20 public SecP224K1FieldElement(BigInteger x)
55 public BigInteger toBigInteger()
SecP224R1FieldElement.java 3 import java.math.BigInteger;
13 public static final BigInteger Q = SecP224R1Curve.q;
17 public SecP224R1FieldElement(BigInteger x)
52 public BigInteger toBigInteger()
SecP256K1FieldElement.java 3 import java.math.BigInteger;
12 public static final BigInteger Q = SecP256K1Curve.q;
16 public SecP256K1FieldElement(BigInteger x)
51 public BigInteger toBigInteger()
SecP384R1FieldElement.java 3 import java.math.BigInteger;
12 public static final BigInteger Q = SecP384R1Curve.q;
16 public SecP384R1FieldElement(BigInteger x)
51 public BigInteger toBigInteger()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
AttributeCertificateHolder.java 4 import java.math.BigInteger;
61 BigInteger serialNumber)
69 BigInteger serialNumber)
312 public BigInteger getSerialNumber()
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/
SecP192K1FieldElement.java 4 import java.math.BigInteger;
16 public static final BigInteger Q = SecP192K1Curve.q;
20 public SecP192K1FieldElement(BigInteger x)
55 public BigInteger toBigInteger()
SecP224K1FieldElement.java 4 import java.math.BigInteger;
16 public static final BigInteger Q = SecP224K1Curve.q;
24 public SecP224K1FieldElement(BigInteger x)
59 public BigInteger toBigInteger()
SecP256K1FieldElement.java 4 import java.math.BigInteger;
16 public static final BigInteger Q = SecP256K1Curve.q;
20 public SecP256K1FieldElement(BigInteger x)
55 public BigInteger toBigInteger()
SecP384R1FieldElement.java 4 import java.math.BigInteger;
16 public static final BigInteger Q = SecP384R1Curve.q;
20 public SecP384R1FieldElement(BigInteger x)
55 public BigInteger toBigInteger()
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
BCDHPrivateKey.java 7 import java.math.BigInteger;
42 private BigInteger x;
183 public BigInteger getX()
248 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
NumberFormatTest.java 12 import java.math.BigInteger;
68 * Test method for 'com.ibm.icu.x.text.NumberFormat.format(BigInteger)'
71 // note, java doesn't handle biginteger with full precision.
72 BigInteger bi = new BigInteger("123456");
99 * Test method for 'com.ibm.icu.x.text.NumberFormat.format(BigInteger, StringBuffer, FieldPosition)'
102 // note, java doesn't handle biginteger with full precision.
105 BigInteger bi = new BigInteger("123456");
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
LongsTest.java 28 import java.math.BigInteger;
430 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()));
432 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()));
434 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()));
436 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()));
  /external/guava/guava-tests/test/com/google/common/primitives/
LongsTest.java 31 import java.math.BigInteger;
463 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()));
465 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()));
467 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()));
469 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()));
  /external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
TestKeyStore.java 25 import java.math.BigInteger;
105 private static final BigInteger DH_PARAMS_P = new BigInteger(1,
132 private static final BigInteger DH_PARAMS_G = BigInteger.valueOf(2);
216 .certificateSerialNumber(BigInteger.valueOf(1))
225 .certificateSerialNumber(BigInteger.valueOf(2))
233 .certificateSerialNumber(BigInteger.valueOf(2))
240 .certificateSerialNumber(BigInteger.valueOf(3))
247 .certificateSerialNumber(BigInteger.valueOf(4)
    [all...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
TestKeyStore.java 24 import java.math.BigInteger;
103 private static final BigInteger DH_PARAMS_P = new BigInteger(1,
130 private static final BigInteger DH_PARAMS_G = BigInteger.valueOf(2);
214 .certificateSerialNumber(BigInteger.valueOf(1))
223 .certificateSerialNumber(BigInteger.valueOf(2))
231 .certificateSerialNumber(BigInteger.valueOf(2))
238 .certificateSerialNumber(BigInteger.valueOf(3))
245 .certificateSerialNumber(BigInteger.valueOf(4)
    [all...]
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
EC5Util.java 4 import java.math.BigInteger;
219 BigInteger a = curve.getA().toBigInteger(), b = curve.getB().toBigInteger();
230 BigInteger a = ec.getA();
231 BigInteger b = ec.getB();
304 BigInteger.valueOf(ecSpec.getCofactor()),
313 BigInteger.valueOf(ecSpec.getCofactor()),
  /external/crcalc/tests/src/com/hp/creals/
SlowCRTest.java 25 import java.math.BigInteger;
42 final static BigInteger MASK =
43 BigInteger.ONE.shiftLeft(-TEST_PREC).subtract(BigInteger.ONE);
45 BigInteger appr = x.get_appr(TEST_PREC);
158 if (!x.get_appr(TEST_PREC).equals(BigInteger.ZERO)) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Arrays.java 3 import java.math.BigInteger;
796 public static BigInteger[] clone(BigInteger[] data)
802 BigInteger[] copy = new BigInteger[data.length];
873 public static BigInteger[] copyOf(BigInteger[] data, int newLength)
875 BigInteger[] tmp = new BigInteger[newLength];
954 public static BigInteger[] copyOfRange(BigInteger[] data, int from, int to
    [all...]
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
Arrays.java 4 import java.math.BigInteger;
798 public static BigInteger[] clone(BigInteger[] data)
804 BigInteger[] copy = new BigInteger[data.length];
875 public static BigInteger[] copyOf(BigInteger[] data, int newLength)
877 BigInteger[] tmp = new BigInteger[newLength];
956 public static BigInteger[] copyOfRange(BigInteger[] data, int from, int to
    [all...]
  /cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/
AbstractVerifierTest.java 25 import java.math.BigInteger;
235 public BigInteger getSerialNumber() {
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
X509CertificateHolder.java 8 import java.math.BigInteger;
170 public BigInteger getSerialNumber()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PrivateKeyInfo.java 4 import java.math.BigInteger;
91 BigInteger bigValue = version.getValue();

Completed in 2674 milliseconds

<<11121314151617181920>>