Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 4 of 4) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DPriorityQueueBenchmark.java31 private PriorityQueue<Integer> pq; field in PriorityQueueBenchmark
38 pq = new PriorityQueue<Integer>(); in setUp()
52 pq.add(allElements.get(i)); in setUp()
57 pq.add(allElements.get(i)); in setUp()
63 usepq = new PriorityQueue<Integer>(pq); in setUp()
79 usepq = new PriorityQueue<Integer>(pq); in timeRemove()
/libcore/ojluni/src/main/java/java/util/
DPriorityQueue.java196 PriorityQueue<? extends E> pq = (PriorityQueue<? extends E>) c; in PriorityQueue() local
197 this.comparator = (Comparator<? super E>) pq.comparator(); in PriorityQueue()
198 initFromPriorityQueue(pq); in PriorityQueue()
824 private final PriorityQueue<E> pq; field in PriorityQueue.PriorityQueueSpliterator
830 PriorityQueueSpliterator(PriorityQueue<E> pq, int origin, int fence, in PriorityQueueSpliterator() argument
832 this.pq = pq; in PriorityQueueSpliterator()
841 expectedModCount = pq.modCount; in getFence()
842 hi = fence = pq.size; in getFence()
850 new PriorityQueueSpliterator<>(pq, lo, index = mid, in trySplit()
860 if ((q = pq) != null && (a = q.queue) != null) { in forEachRemaining()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DPolicyInformation.java277 for (PolicyQualifierInfo pq : policyQualifiers) { in encode()
278 tmp2.write(pq.getEncoded()); in encode()
/libcore/ojluni/src/main/java/java/util/concurrent/
DPriorityBlockingQueue.java256 PriorityBlockingQueue<? extends E> pq = in PriorityBlockingQueue() local
258 this.comparator = (Comparator<? super E>) pq.comparator(); in PriorityBlockingQueue()
260 if (pq.getClass() == PriorityBlockingQueue.class) // exact match in PriorityBlockingQueue()