Home
last modified time | relevance | path

Searched defs:queue (Results 1 – 25 of 39) sorted by relevance

12

/libcore/benchmarks/src/benchmarks/
DReferenceBenchmark.java34 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in timeAlloc() local
42 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in timeAllocAndEnqueue() local
50 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in timeAllocEnqueueAndPoll() local
61 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in timeAllocEnqueueAndRemove() local
77 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in timeAllocImplicitEnqueueAndRemove() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPriorityQueueTest.java198 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_Constructor() local
208 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() local
218 PriorityQueue<Object> queue = new PriorityQueue<Object>(100, in test_ConstructorILjava_util_Comparator() local
318 PriorityQueue<String> queue = new PriorityQueue<String>(4, in test_ConstructorLjava_util_Colleciton_from_priorityqueue() local
342 PriorityQueue<Integer> queue = new PriorityQueue<Integer>(c); in test_ConstructorLjava_util_Colleciton_from_sortedset() local
393 PriorityQueue<Integer> queue = new PriorityQueue<Integer>(treeSet); in test_ConstructorLjava_util_SortedSet() local
416 PriorityQueue<String> queue = new PriorityQueue<String>(10, in test_offerLjava_lang_Object() local
434 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_offerLjava_lang_Object_null() local
447 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_offer_Ljava_lang_Object_non_Comparable() local
487 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_poll_empty() local
[all …]
DAbstractQueueTest.java31 private MockAbstractQueue<Object> queue; field in AbstractQueueTest
254 MockAbstractQueue queue = new MockAbstractQueue(); in test_Constructor() local
DCollections2Test.java579 Queue<Integer> queue = Collections.asLifoQueue(deque); in test_Queue_forEach() local
/libcore/ojluni/src/main/java/java/lang/ref/
DReference.java65 final ReferenceQueue<? super T> queue; field in Reference
165 Reference(T referent, ReferenceQueue<? super T> queue) { in Reference()
DReferenceQueue.java222 ReferenceQueue queue = list.queue; in enqueuePending() local
/libcore/ojluni/annotations/hiddenapi/java/lang/ref/
DReference.java38 Reference(T referent, java.lang.ref.ReferenceQueue<? super T> queue) { in Reference()
71 final java.lang.ref.ReferenceQueue<? super T> queue; field in Reference
/libcore/ojluni/src/main/java/java/util/
DTimer.java101 private final TaskQueue queue = new TaskQueue(); field in Timer
504 private TaskQueue queue; field in TimerThread
506 TimerThread(TaskQueue queue) { in TimerThread()
/libcore/luni/src/test/java/libcore/java/util/
DOldPriorityQueueTest.java28 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() local
42 PriorityQueue<String> queue = new PriorityQueue<String>(10, in test_remove_Ljava_lang_Object_using_comparator() local
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java41 private ReferenceQueue<V> queue = new ReferenceQueue<>(); field in LocaleObjectCache
108 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java129 private void enqueueLater(final ReferenceQueue<Object> queue, int delayMillis) { in enqueueLater()
137 private void enqueue(ReferenceQueue<Object> queue) { in enqueue()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DMemoryCache.java77 K key, V value, long expirationTime, java.lang.ref.ReferenceQueue<V> queue) { in newEntry()
95 private final java.lang.ref.ReferenceQueue<V> queue; field in MemoryCache
150 SoftCacheEntry(K key, V value, long expirationTime, java.lang.ref.ReferenceQueue<V> queue) { in SoftCacheEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceTest.java124 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in test_get_WeakReference() local
231 private WeakReference<Object> newWeakReference(ReferenceQueue<Object> queue) { in newWeakReference()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileLockTable.java92 ReferenceQueue<FileLock> queue, in FileLockReference()
110 private static ReferenceQueue<FileLock> queue = new ReferenceQueue<FileLock>(); field in SharedFileLockTable
DEPollPort.java79 private final ArrayBlockingQueue<Event> queue; field in EPollPort
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DPriorityBlockingQueue.java233 private transient java.lang.Object[] queue; field in PriorityBlockingQueue
273 java.util.concurrent.PriorityBlockingQueue<E> queue, in PBQSpliterator()
310 final java.util.concurrent.PriorityBlockingQueue<E> queue; field in PriorityBlockingQueue.PBQSpliterator
DLinkedBlockingQueue.java248 LBQSpliterator(java.util.concurrent.LinkedBlockingQueue<E> queue) { in LBQSpliterator()
282 final java.util.concurrent.LinkedBlockingQueue<E> queue; field in LinkedBlockingQueue.LBQSpliterator
DLinkedBlockingDeque.java390 LBDSpliterator(java.util.concurrent.LinkedBlockingDeque<E> queue) { in LBDSpliterator()
424 final java.util.concurrent.LinkedBlockingDeque<E> queue; field in LinkedBlockingDeque.LBDSpliterator
/libcore/luni/src/main/java/java/lang/ref/
DFinalizerReference.java28 public static final ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); field in FinalizerReference
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java258 private final ReferenceQueue<V> queue; field in MemoryCache
460 long expirationTime, ReferenceQueue<V> queue) { in newEntry()
523 ReferenceQueue<V> queue) { in SoftCacheEntry()
/libcore/ojluni/src/main/java/java/util/concurrent/
DPriorityBlockingQueue.java150 private transient Object[] queue; field in PriorityBlockingQueue
936 final PriorityBlockingQueue<E> queue; field in PriorityBlockingQueue.PBQSpliterator
941 PBQSpliterator(PriorityBlockingQueue<E> queue, Object[] array, in PBQSpliterator()
DConcurrentLinkedQueue.java817 final ConcurrentLinkedQueue<E> queue; field in ConcurrentLinkedQueue.CLQSpliterator
821 CLQSpliterator(ConcurrentLinkedQueue<E> queue) { in CLQSpliterator()
DLinkedBlockingQueue.java831 final LinkedBlockingQueue<E> queue; field in LinkedBlockingQueue.LBQSpliterator
836 LBQSpliterator(LinkedBlockingQueue<E> queue) { in LBQSpliterator()
/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DHeapCategorization.java294 Queue<AhatInstance> queue = new ArrayDeque<>(); in isOwnedByClassMatching() local
/libcore/libart/src/main/java/java/lang/
DDaemons.java233 private final ReferenceQueue<Object> queue = FinalizerReference.queue; field in Daemons.FinalizerDaemon

12