Searched refs:snapshot (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 129 Object[] snapshot = elements; in containsAll() local 130 return containsAll(collection, snapshot, 0, snapshot.length); in containsAll() 133 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to) { in containsAll() argument 135 if (indexOf(o, snapshot, from, to) == -1) { in containsAll() 149 Object[] snapshot = elements; in indexOf() local 150 return indexOf(object, snapshot, from, snapshot.length); in indexOf() 154 Object[] snapshot = elements; in indexOf() local 155 return indexOf(object, snapshot, 0, snapshot.length); in indexOf() 165 Object[] snapshot = elements; in lastIndexOf() local 166 return lastIndexOf(object, snapshot, 0, to); in lastIndexOf() [all …]
|
D | CopyOnWriteArraySet.java | 261 private static int compareSets(Object[] snapshot, Set<?> set) { in compareSets() argument 268 final int len = snapshot.length; in compareSets() 276 if (!matched[i] && Objects.equals(x, snapshot[i])) { in compareSets()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressMonitor.java | 67 ArrayList<ProgressSource> snapshot = new ArrayList<ProgressSource>(); in getProgressSources() local 75 snapshot.add((ProgressSource)pi.clone()); in getProgressSources() 83 return snapshot; in getProgressSources()
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 125 public synchronized final Map<K, V> snapshot() { in snapshot() method in BasicLruCache
|
/libcore/luni/src/test/java/libcore/util/ |
D | BasicLruCacheTest.java | 138 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {
|