Home
last modified time | relevance | path

Searched refs:Queue (Results 1 – 25 of 222) sorted by relevance

123456789

/external/llvm/lib/CodeGen/
DLatencyPriorityQueue.cpp84 Queue.push_back(SU); in push()
122 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
123 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop()
124 E = Queue.end(); I != E; ++I) in pop()
128 if (Best != std::prev(Queue.end())) in pop()
129 std::swap(*Best, Queue.back()); in pop()
130 Queue.pop_back(); in pop()
135 assert(!Queue.empty() && "Queue is empty!"); in remove()
136 std::vector<SUnit *>::iterator I = std::find(Queue.begin(), Queue.end(), SU); in remove()
137 if (I != std::prev(Queue.end())) in remove()
[all …]
/external/protobuf/gtest/samples/
Dsample3-inl.h44 class Queue; variable
50 friend class Queue<E>; variable
74 class Queue {
78 Queue() : head_(NULL), last_(NULL), size_(0) {} in Queue() function
81 ~Queue() { Clear(); } in ~Queue()
154 Queue* Map(F function) const { in Map()
155 Queue* new_queue = new Queue(); in Map()
169 Queue(const Queue&);
170 const Queue& operator = (const Queue&);
Dsample3_unittest.cc96 void MapTester(const Queue<int> * q) { in MapTester()
99 const Queue<int> * const new_q = q->Map(Double); in MapTester()
114 Queue<int> q0_;
115 Queue<int> q1_;
116 Queue<int> q2_;
/external/google-breakpad/src/testing/gtest/samples/
Dsample3-inl.h44 class Queue; variable
50 friend class Queue<E>; variable
74 class Queue {
77 Queue() : head_(NULL), last_(NULL), size_(0) {} in Queue() function
80 ~Queue() { Clear(); } in ~Queue()
153 Queue* Map(F function) const { in Map()
154 Queue* new_queue = new Queue(); in Map()
168 Queue(const Queue&);
169 const Queue& operator = (const Queue&);
Dsample3_unittest.cc96 void MapTester(const Queue<int> * q) { in MapTester()
99 const Queue<int> * const new_q = q->Map(Double); in MapTester()
114 Queue<int> q0_;
115 Queue<int> q1_;
116 Queue<int> q2_;
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
Dsample3-inl.h44 class Queue; variable
50 friend class Queue<E>; variable
74 class Queue {
77 Queue() : head_(NULL), last_(NULL), size_(0) {} in Queue() function
80 ~Queue() { Clear(); } in ~Queue()
153 Queue* Map(F function) const { in Map()
154 Queue* new_queue = new Queue(); in Map()
168 Queue(const Queue&);
169 const Queue& operator = (const Queue&);
Dsample3_unittest.cc96 void MapTester(const Queue<int> * q) { in MapTester()
99 const Queue<int> * const new_q = q->Map(Double); in MapTester()
114 Queue<int> q0_;
115 Queue<int> q1_;
116 Queue<int> q2_;
/external/libgdx/gdx/test/com/badlogic/gdx/utils/
DQueueTest.java14 final Queue<Integer> q = new Queue<Integer>(8); in resizableQueueTest()
58 final Queue<Integer> q = new Queue<Integer>(8); in resizableDequeTest()
101 final Queue<Integer> q = new Queue<Integer>(7); in getTest()
128 final Queue<Integer> q = new Queue<Integer>(); in removeTest()
170 final Queue<Integer> q = new Queue<Integer>(); in indexOfTest()
190 final Queue<Integer> q = new Queue<Integer>(); in iteratorTest()
244 Queue<Integer> q = new Queue<Integer>(1); in toStringTest()
256 Queue<Integer> q1 = new Queue<Integer>(); in hashEqualsText()
257 Queue<Integer> q2 = new Queue<Integer>(); in hashEqualsText()
286 private void assertEqualsAndHash (Queue<?> q1, Queue<?> q2) { in assertEqualsAndHash()
[all …]
/external/chromium-trace/catapult/perf_insights/perf_insights/mre/
Dthreaded_work_queue.py6 import Queue
40 self._main_thread_tasks = Queue.Queue()
41 self._any_thread_tasks = Queue.Queue()
61 self._main_thread_tasks = Queue.Queue()
62 self._any_thread_tasks = Queue.Queue()
78 except Queue.Empty:
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/
DANTLRFastQueueTest.m19 STAssertNotNil(queue, @"Queue was not created and was nil");
26 STAssertNotNil(queue, @"Queue was not created and was nil");
30 STAssertTrue([queue size] == 1, @"Queue is the wrong size: %d", [queue size]);
39 STAssertNotNil(queue, @"Queue was not created and was nil");
56 STAssertNotNil(queue, @"Queue was not created and was nil");
69 STAssertNotNil(queue, @"Queue was not created and was nil");
73 STAssertTrue([queue size] == 3, @"Queue was too small, was: %d expected 3", [queue size]);
75 STAssertTrue([queue size] == 0, @"Queue is not empty, it's still %d", [queue size]);
82 STAssertNotNil(queue, @"Queue was not created and was nil");
85 …STAssertTrue([[queue description] isEqualToString:@"My String"], @"Queue description was not right…
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingQueueTest.java31 import java.util.Queue;
43 private final Queue<T> backingQueue;
45 StandardImplForwardingQueue(Queue<T> backingQueue) { in StandardImplForwardingQueue()
49 @Override protected Queue<T> delegate() { in delegate()
106 private Queue<String> forward;
107 private Queue<String> queue;
116 @Override protected Queue<String> create(String[] elements) { in suite()
137 queue = createProxyInstance(Queue.class); in setUp()
139 @Override protected Queue<String> delegate() { in setUp()
DSynchronizedQueueTest.java23 import java.util.Queue;
32 protected Queue<String> create() { in create()
34 Queue<String> outer = Synchronized.queue(inner, inner.mutex); in create()
39 private static final class TestQueue<E> implements Queue<E> {
40 private final Queue<E> delegate = Lists.newLinkedList();
/external/guava/guava-tests/benchmark/com/google/common/collect/
DMinMaxPriorityQueueBenchmark.java30 import java.util.Queue;
47 private Queue<Integer> queue;
87 protected Queue<T> delegate() { in delegate()
100 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
105 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
110 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
115 public abstract Queue<Integer> create(Comparator<Integer> comparator); in create()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForQueuesInJavaUtil.java30 import java.util.Queue;
81 @Override public Queue<String> create(String[] elements) { in testsForLinkedList()
99 @Override public Queue<String> create(String[] elements) {
116 @Override public Queue<String> create(String[] elements) {
133 @Override public Queue<String> create(String[] elements) {
155 @Override public Queue<String> create(String[] elements) {
171 @Override public Queue<String> create(String[] elements) {
DTestStringQueueGenerator.java23 import java.util.Queue;
40 public Queue<String> create(Object... elements) { in create()
49 protected abstract Queue<String> create(String[] elements); in create()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DQueue.java28 public class Queue<T> implements Iterable<T> { class
45 public Queue () { in Queue() method in Queue
50 public Queue (int initialSize) { in Queue() method in Queue
57 public Queue (int initialSize, Class<T> type) { in Queue() method in Queue
366 if (o == null || !(o instanceof Queue)) return false; in equals()
368 Queue<?> q = (Queue<?>)o; in equals()
394 private final Queue<T> queue;
401 public QueueIterator (Queue<T> queue) { in QueueIterator()
405 public QueueIterator (Queue<T> queue, boolean allowRemove) { in QueueIterator()
443 private final Queue<T> queue;
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_concurrent.py24 from boto.compat import Queue
128 Queue(), Queue())
139 job_queue = Queue()
140 result_queue = Queue()
158 job_queue = Queue()
159 result_queue = Queue()
/external/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp241 Queue.push_back(SU); in push()
602 std::vector<SUnit *>::iterator Best = Queue.begin(); in pop()
605 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop()
606 E = Queue.end(); I != E; ++I) { in pop()
616 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()), in pop()
617 E = Queue.end(); I != E; ++I) in pop()
623 if (Best != std::prev(Queue.end())) in pop()
624 std::swap(*Best, Queue.back()); in pop()
626 Queue.pop_back(); in pop()
633 assert(!Queue.empty() && "Queue is empty!"); in remove()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DAbstractQueueTester.java22 import java.util.Queue;
31 protected final Queue<E> getQueue() { in getQueue()
32 return (Queue<E>) collection; in getQueue()
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h487 std::vector<SUnit*> Queue; variable
499 bool empty() const { return Queue.empty(); } in empty()
501 void clear() { Queue.clear(); } in clear()
503 unsigned size() const { return Queue.size(); } in size()
507 iterator begin() { return Queue.begin(); } in begin()
509 iterator end() { return Queue.end(); } in end()
511 ArrayRef<SUnit*> elements() { return Queue; } in elements()
514 return std::find(Queue.begin(), Queue.end(), SU); in find()
518 Queue.push_back(SU); in push()
524 *I = Queue.back(); in remove()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp73 std::deque<WorkListUnit> Queue; member in __anon9480e11c0111::BFS
76 return !Queue.empty(); in hasWork()
80 Queue.push_back(U); in enqueue()
84 WorkListUnit U = Queue.front(); in dequeue()
85 Queue.pop_front(); in dequeue()
91 I = Queue.begin(), E = Queue.end(); I != E; ++I) { in visitItemsInWorkList()
110 std::deque<WorkListUnit> Queue; member in __anon9480e11c0211::BFSBlockDFSContents
114 return !Queue.empty() || !Stack.empty(); in hasWork()
119 Queue.push_front(U); in enqueue()
132 assert(!Queue.empty()); in dequeue()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sqs/
Dtest_queue.py25 from boto.sqs.queue import Queue
35 q = Queue(
44 q = Queue(
/external/autotest/server/cros/
Dqueue_barrier.py5 from multiprocessing import Queue, queues
33 self.queue_master_ = Queue()
34 self.queue_slave_ = Queue()
/external/jetty/src/java/org/eclipse/jetty/io/
DPooledBuffers.java21 import java.util.Queue;
27 private final Queue<Buffer> _headers;
28 private final Queue<Buffer> _buffers;
29 private final Queue<Buffer> _others;
/external/guava/guava/src/com/google/common/collect/
DForwardingQueue.java22 import java.util.Queue;
46 implements Queue<E> {
51 @Override protected abstract Queue<E> delegate(); in delegate()

123456789