Searched refs:certainty (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 163 public BigInteger(int bitLength, int certainty, Random random) { in BigInteger() argument 1030 public boolean isProbablePrime(int certainty) { 1031 if (certainty <= 0) { 1034 return getBigInt().isPrime(certainty);
|
D | BigInt.java | 341 boolean isPrime(int certainty) { in isPrime() argument 342 return NativeBN.BN_is_prime_ex(bignum, certainty, 0); in isPrime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | OldBigIntegerTest.java | 81 int certainty[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in test_ConstructorIILjava_util_Random() local 84 for (int c = 0; c < certainty.length; c++) { in test_ConstructorIILjava_util_Random()
|