Lines Matching refs:q2
1280 oneapi::tbb::concurrent_bounded_queue<T, A> q2 = q; in bounded_queue_specific_test() local
1284 q2.set_capacity(size_type(vec.size())); in bounded_queue_specific_test()
1285 CHECK(q2.capacity() == size_type(vec.size())); in bounded_queue_specific_test()
1286 CHECK(q2.size() == size_type(vec.size())); in bounded_queue_specific_test()
1287 CHECK(!q2.try_push(vec[0])); in bounded_queue_specific_test()
1443 TQueue q2(v.begin(), v.end(), std::allocator<ComplexType>()); in TestDeductionGuides() local
1444 …static_assert(std::is_same<decltype(q2), TQueue<ComplexType, std::allocator<ComplexType>>>::value); in TestDeductionGuides()
1451 TQueue q4(q2, std::allocator<ComplexType>()); in TestDeductionGuides()
1452 static_assert(std::is_same<decltype(q4), decltype(q2)>::value); in TestDeductionGuides()
1694 CQ q1, q2, q3; in test_queue_helper() local
1699 q2 = std::move(q3); in test_queue_helper()
1704 CHECK(q2 == q4); in test_queue_helper()
1706 swap(q2, q3); in test_queue_helper()
1707 CHECK(q2.empty()); in test_queue_helper()
1722 QueueType q1, q2; in TestMoveQueue() local
1734 q2.push(obj); in TestMoveQueue()
1738 q1 = std::move(q2); in TestMoveQueue()
1783 QueueType q1(alloc1), q2(alloc2); in TestMoveQueueUnequal() local
1793 q2.push(obj); in TestMoveQueueUnequal()
1797 q1 = std::move(q2); in TestMoveQueueUnequal()
1802 …REQUIRE_MESSAGE(std::all_of(q2.unsafe_begin(), q2.unsafe_end(), is_state_predicate<move_support_te… in TestMoveQueueUnequal()