Searched refs:candidate (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 1025 String candidate = directory + filename; in loadLibrary0() local 1026 candidates.add(candidate); in loadLibrary0() 1028 if (IoUtils.canOpenReadOnly(candidate)) { in loadLibrary0() 1029 String error = doLoad(candidate, loader); in loadLibrary0()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 169 int candidate; in BigInteger() local 171 candidate = random.nextInt() & ((1 << bitLength) - 1); in BigInteger() 172 candidate |= (1 << (bitLength - 1)); // Set top bit. in BigInteger() 174 candidate |= 1; // Any prime longer than 2 bits must have the bottom bit set. in BigInteger() 176 } while (!isSmallPrime(candidate)); in BigInteger() 178 prime.putULongInt(candidate, false); in BigInteger()
|
D | NativeBN.java | 127 public static native boolean BN_primality_test(long candidate, int checks, in BN_primality_test() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | Collections.java | 638 T candidate = i.next(); in min() local 642 if (next.compareTo(candidate) < 0) in min() 643 candidate = next; in min() 645 return candidate; in min() 677 T candidate = i.next(); in min() local 681 if (comp.compare(next, candidate) < 0) in min() 682 candidate = next; in min() 684 return candidate; in min() 711 T candidate = i.next(); in max() local 715 if (next.compareTo(candidate) > 0) in max() [all …]
|
D | LinkedHashMap.java | 684 Node<K,V> candidate = getNode(hash(key), key); in contains() local 685 return candidate != null && candidate.equals(e); in contains()
|
D | WeakHashMap.java | 978 Entry<K,V> candidate = getEntry(e.getKey()); in contains() local 979 return candidate != null && candidate.equals(e); in contains()
|
D | HashMap.java | 1022 Node<K,V> candidate = getNode(hash(key), key); in contains() local 1023 return candidate != null && candidate.equals(e); in contains()
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 514 static jboolean NativeBN_BN_primality_test(JNIEnv* env, jclass, jlong candidate, int checks, in NativeBN_BN_primality_test() argument 516 if (!oneValidHandle(env, candidate)) return JNI_FALSE; in NativeBN_BN_primality_test() 519 if (!BN_primality_test(&is_probably_prime, toBigNum(candidate), checks, ctx.get(), in NativeBN_BN_primality_test()
|