Searched refs:snapshot (Results 1 – 6 of 6) sorted by relevance
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
D | HeapCategorization.java | 142 static HeapCategorization of(AhatSnapshot snapshot, AhatHeap... heaps) { in of() argument 143 HeapCategorization categorization = new HeapCategorization(snapshot, heaps); in of() 149 private final AhatSnapshot snapshot; field in HeapCategorization 152 private HeapCategorization(AhatSnapshot snapshot, AhatHeap[] heaps) { in HeapCategorization() argument 153 this.snapshot = snapshot; in HeapCategorization() 166 for (AhatInstance rooted : snapshot.getRooted()) { in initializeFromSnapshot()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 509 Object[] snapshot = getArray(); in remove() local 510 int index = indexOf(o, snapshot, 0, snapshot.length); in remove() 511 return (index < 0) ? false : remove(o, snapshot, index); in remove() 518 private boolean remove(Object o, Object[] snapshot, int index) { in remove() argument 522 if (snapshot != current) findIndex: { in remove() 525 if (current[i] != snapshot[i] in remove() 589 Object[] snapshot = getArray(); in addIfAbsent() local 590 return indexOf(e, snapshot, 0, snapshot.length) >= 0 ? false : in addIfAbsent() 591 addIfAbsent(e, snapshot); in addIfAbsent() 598 private boolean addIfAbsent(E e, Object[] snapshot) { in addIfAbsent() argument [all …]
|
D | CopyOnWriteArraySet.java | 290 private static int compareSets(Object[] snapshot, Set<?> set) { in compareSets() argument 297 final int len = snapshot.length; in compareSets() 305 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/libcore/util/ |
D | BasicLruCacheTest.java | 140 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {
|