| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.cons/ |
| H A D | deduct.pass.cpp | 39 std::queue que(l); in main() 64 std::queue<A> source; in main() 65 std::queue que(source); // queue(queue &) in main() 81 std::queue que(cont, Alloc(2)); in main() 93 std::queue que(std::move(cont), Alloc(2)); in main() 113 std::queue<T, Cont> source; in main() 114 std::queue que(source, Alloc(2)); in main() 119 std::queue<T, Cont> source; in main() 125 std::queue<T, Cont> source; in main() 131 std::queue<T, Cont> source; in main() [all …]
|
| H A D | ctor_iterators.pass.cpp | 23 static_assert(!std::is_constructible_v<std::queue<int>, int*, int*, int>); 34 std::queue<int> queue(a, a + 4); in main() local 35 assert(queue.front() == 4); in main() 36 queue.pop(); in main() 37 assert(queue.front() == 3); in main() 38 queue.pop(); in main() 39 assert(queue.front() == 2); in main() 40 queue.pop(); in main() 41 assert(queue.front() == 1); in main() 42 queue.pop(); in main() [all …]
|
| H A D | deduct.fail.cpp | 25 …std::queue que(std::list<int>{1,2,3}, 45); // expected-error {{no viable constructor or deduction… in main() 31 std::queue<int> source; in main() 32 …std::queue que(source, 45); // expected-error {{no viable constructor or deduction guide for dedu… in main() 38 …std::queue que((std::allocator<int>())); // expected-error {{no viable constructor or deduction g… in main()
|
| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | benchmark_random_interleaving_gtest.cc | 37 EventQueue* queue = new EventQueue(); variable 52 queue->Clear(); in Execute() 59 queue->Put("DONE"); // End marker in Execute() 81 ASSERT_EQ("BM_Match1/1", queue->Get()); in TEST_F() 82 ASSERT_EQ("BM_Match1/2", queue->Get()); in TEST_F() 83 ASSERT_EQ("BM_Match1/3", queue->Get()); in TEST_F() 89 ASSERT_EQ("DONE", queue->Get()); in TEST_F() 100 ASSERT_EQ("DONE", queue->Get()); in TEST_F() 112 interleaving.push_back(queue->Get()); in TEST_F() 113 interleaving.push_back(queue->Get()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/ |
| H A D | ctor_iterators.pass.cpp | 21 using base_type = std::queue<int, std::deque<int, test_allocator<int>>>; 38 GetAlloc queue(stats, a, a + 4); in main() local 39 assert(queue.front() == 4); in main() 40 queue.pop(); in main() 41 assert(queue.front() == 3); in main() 42 queue.pop(); in main() 43 assert(queue.front() == 2); in main() 44 queue.pop(); in main() 45 assert(queue.front() == 1); in main() 46 queue.pop(); in main() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/macosx/queues/ |
| H A D | TestQueues.py | 39 (queue.GetName(), queue.GetQueueID())) 46 (queue.GetName(), 52 (queue.GetName(), 76 (queue.GetName(), 78 queue.GetNumThreads())) 92 queue.GetKind(), kind, 94 (queue.GetName(), 107 (queue.GetName(), 108 queue.GetQueueID(), 114 (queue.GetName(), [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | queue | 20 class queue 36 queue(const queue& q) = default; 37 queue(queue&& q) = default; 39 queue& operator=(const queue& q) = default; 40 queue& operator=(queue&& q) = default; 53 queue(const queue& q, const Alloc& a); 55 queue(queue&& q, const Alloc& a); 281 queue(const queue& __q) : c(__q.c) {} 302 queue(queue&& __q) 307 queue& operator=(queue&& __q) [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/ |
| H A D | io.c | 9 dispatch_queue_t queue; variable 22 …dispatch_io_write(channel, 0, data, queue, ^(bool done, dispatch_data_t remainingData, int error) { in test_dispatch_io_write() 25 dispatch_async(queue, ^{ in test_dispatch_io_write() 43 dispatch_write(fd, data, queue, ^(dispatch_data_t data, int error) { in test_dispatch_write() 46 dispatch_async(queue, ^{ in test_dispatch_write() 60 0, queue, ^(int error) { }); in test_dispatch_io_read() 64 …dispatch_io_read(channel, 0, SIZE_MAX, queue, ^(bool done, dispatch_data_t remainingData, int erro… in test_dispatch_io_read() 67 dispatch_async(queue, ^{ in test_dispatch_io_read() 85 dispatch_read(fd, SIZE_MAX, queue, ^(dispatch_data_t data, int error) { in test_dispatch_read() 88 dispatch_async(queue, ^{ in test_dispatch_read() [all …]
|
| H A D | fd.c | 13 dispatch_queue_t queue = dispatch_queue_create("my.queue", DISPATCH_QUEUE_SERIAL); in main() local 19 0666, queue, ^(int error) { }); in main() 26 …dispatch_io_write(channel, 0, data, queue, ^(bool done, dispatch_data_t remainingData, int error) { in main() 28 dispatch_async(queue, ^{ in main() 40 0, queue, ^(int error) { }); in main() 44 …dispatch_io_read(channel, 0, SIZE_MAX, queue, ^(bool done, dispatch_data_t remainingData, int erro… in main() 46 dispatch_async(queue, ^{ in main()
|
| H A D | io-race.c | 8 dispatch_queue_t queue; variable 20 queue = dispatch_queue_create("my.queue", DISPATCH_QUEUE_CONCURRENT); in main() 26 …h_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY, 0666, queue, ^(int error) { }); in main() 30 …dispatch_io_write(channel, 0, data, queue, ^(bool done, dispatch_data_t remainingData, int error) { in main() 35 …dispatch_io_write(channel, 0, data, queue, ^(bool done, dispatch_data_t remainingData, int error) { in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.defn/ |
| H A D | types.pass.cpp | 32 : private std::queue<int> 50 static_assert(( std::is_same<std::queue<int>::container_type, std::deque<int> >::value), ""); in main() 51 …static_assert(( std::is_same<std::queue<int, std::vector<int> >::container_type, std::vector<int> … in main() 52 static_assert(( std::is_same<std::queue<int, std::vector<int> >::value_type, int>::value), ""); in main() 53 … static_assert(( std::is_same<std::queue<int>::reference, std::deque<int>::reference>::value), ""); in main() 54 …static_assert(( std::is_same<std::queue<int>::const_reference, std::deque<int>::const_reference>::… in main() 55 … static_assert(( std::is_same<std::queue<int>::size_type, std::deque<int>::size_type>::value), ""); in main() 56 static_assert(( std::uses_allocator<std::queue<int>, std::allocator<int> >::value), ""); in main() 57 static_assert((!std::uses_allocator<std::queue<int, C>, std::allocator<int> >::value), ""); in main()
|
| H A D | swap.pass.cpp | 30 std::queue<int> q1 = make<std::queue<int> >(5); in main() 31 std::queue<int> q2 = make<std::queue<int> >(10); in main() 32 std::queue<int> q1_save = q1; in main() 33 std::queue<int> q2_save = q2; in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/tests/ |
| H A D | asan_mac_test_helpers.mm | 98 dispatch_async(queue, block); 108 dispatch_sync(queue, block); 119 dispatch_async(queue, block_alloc); 121 dispatch_async(queue, block_crash); 127 dispatch_queue_t queue[4]; 128 queue[0] = dispatch_get_global_queue(2, 0); 129 queue[1] = dispatch_get_global_queue(0, 0); 135 dispatch_sync(queue[i % 4], block_alloc); 137 dispatch_sync(queue[3], block_crash); 158 dispatch_async(queue, block_dealloc); [all …]
|
| /llvm-project-15.0.7/libcxx/utils/ci/ |
| H A D | buildkite-pipeline.yml | 30 queue: "libcxx-builders" 46 queue: "libcxx-builders" 59 queue: "libcxx-builders" 80 queue: "libcxx-builders" 94 queue: "libcxx-builders" 108 queue: "libcxx-builders" 575 queue: "windows" 588 queue: "windows" 601 queue: "windows" 614 queue: "windows" [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | debuginfo-dce.ll | 10 ; void scan(struct entry *queue, struct entry *end) 13 ; for (entry = (struct entry *)((char *)(queue->next) - 8); 29 define void @salvage_load(%struct.entry** %queue) local_unnamed_addr #0 !dbg !14 { 32 %0 = load %struct.entry*, %struct.entry** %queue, align 8, !dbg !19 33 %1 = load %struct.entry*, %struct.entry** %queue, align 8, !dbg !19 45 %0 = bitcast %struct.entry* %queue to i8*, !dbg !23 46 %1 = bitcast %struct.entry* %queue to i8*, !dbg !23 50 ; CHECK-NEXT: call void @llvm.dbg.value(metadata %struct.entry* %queue, 64 ; CHECK-NEXT: call void @llvm.dbg.value(metadata %struct.entry* %queue, 78 ; CHECK-NEXT: call void @llvm.dbg.value(metadata %struct.entry* %queue, [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stack-capture-leak-arc.mm | 12 extern dispatch_queue_t queue; 20 dispatch_async(queue, ^{ 39 dispatch_after(when, queue, ^{ 50 dispatch_async(queue, ^{ 62 dispatch_async(queue, b); 73 dispatch_async(queue, b); 89 dispatch_async(queue, get_leaking_block()); 110 dispatch_after(when, queue, b); 122 dispatch_async(queue, b); // no-warning 167 dispatch_async(queue, ^{ [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.ops/ |
| H A D | eq.pass.cpp | 34 std::queue<int> q1 = make<std::queue<int> >(5); in main() 35 std::queue<int> q2 = make<std::queue<int> >(10); in main() 36 std::queue<int> q1_save = q1; in main() 37 std::queue<int> q2_save = q2; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.special/ |
| H A D | swap.pass.cpp | 31 std::queue<int> q1 = make<std::queue<int> >(5); in main() 32 std::queue<int> q2 = make<std::queue<int> >(10); in main() 33 std::queue<int> q1_save = q1; in main() 34 std::queue<int> q2_save = q2; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
| H A D | erase_iter_iter.invalidation.pass.cpp | 66 std::deque<int> queue; in main() local 68 queue.push_back(i); in main() 70 while (queue.size() > 1) in main() 72 for (size_t i = 1; i < queue.size(); ++i) in main() 74 del_at_start(queue, i); in main() 75 del_at_end (queue, i); in main() 77 queue.pop_back(); in main()
|
| H A D | erase_iter.invalidation.pass.cpp | 61 std::deque<int> queue; in main() local 63 queue.push_back(i); in main() 65 while (queue.size() > 1) in main() 67 del_at_start(queue); in main() 68 del_at_end(queue); in main() 69 queue.pop_back(); in main()
|
| H A D | pop_back.invalidation.pass.cpp | 41 std::deque<int> queue; in main() local 43 queue.push_back(i); in main() 45 while (queue.size() > 1) in main() 47 test(queue); in main() 48 queue.pop_back(); in main()
|
| H A D | pop_front.invalidation.pass.cpp | 41 std::deque<int> queue; in main() local 43 queue.push_back(i); in main() 45 while (queue.size() > 1) in main() 47 test(queue); in main() 48 queue.pop_back(); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
| H A D | run-find-all-symbols.py | 55 def run_find_all_symbols(args, tmpdir, build_path, queue): argument 58 name = queue.get() 62 queue.task_done() 101 queue = Queue.Queue(max_task) 104 args=(args, tmpdir, build_path, queue)) 110 queue.put(name) 113 queue.join()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | no-escape.m | 7 void dispatch_async(dispatch_queue_t queue, dispatch_block_t block); 8 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block); 10 extern dispatch_queue_t queue; 13 dispatch_async(queue, ^{ 19 dispatch_after(456, queue, ^{ 24 dispatch_async(queue, ^{
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 217 queue; member in __anon24f49dde0411::UnexploredFirstPriorityQueue 221 return !queue.empty(); in hasWork() 234 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue() 238 QueueItem U = queue.top(); in dequeue() 239 queue.pop(); in dequeue() 273 queue; member in __anon24f49dde0511::UnexploredFirstPriorityLocationQueue 277 return !queue.empty(); in hasWork() 286 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue() 290 QueueItem U = queue.top(); in dequeue() 291 queue.pop(); in dequeue()
|