Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DRuntime.java1025 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/
DBigInteger.java169 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()
DNativeBN.java127 public static native boolean BN_primality_test(long candidate, int checks, in BN_primality_test() argument
/libcore/ojluni/src/main/java/java/util/
DCollections.java638 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 …]
DLinkedHashMap.java684 Node<K,V> candidate = getNode(hash(key), key); in contains() local
685 return candidate != null && candidate.equals(e); in contains()
DWeakHashMap.java978 Entry<K,V> candidate = getEntry(e.getKey()); in contains() local
979 return candidate != null && candidate.equals(e); in contains()
DHashMap.java1022 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/
Djava_math_NativeBN.cpp514 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()