Lines Matching refs:vector_t

231 template<typename vector_t>
232 static void CheckVector( const vector_t& cv, std::size_t expected_size, std::size_t /*old_size*/ ) { in CheckVector()
243 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestResizeAndCopy() typedef
249 vector_t v; in TestResizeAndCopy()
269 const vector_t& cv = v; in TestResizeAndCopy()
271 vector_t copy_of_v(cv); in TestResizeAndCopy()
291 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in TestCopyAssignment() typedef
295vector_t u(move_support_tests::FooIterator(0), move_support_tests::FooIterator(src_size), init_all… in TestCopyAssignment()
298 vector_t v(dst_size, move_support_tests::FooWithAssign(), init_alloc); in TestCopyAssignment()
334 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestCapacity() typedef
340 vector_t v; v.reserve(old_size); in TestCapacity()
353vector_t copy_of_v(v); // should allocate first segment with same size as for shrink_to_fit() in TestCapacity()
387 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in TestExceptions() typedef
397vector_t src(move_support_tests::FooIterator(0), move_support_tests::FooIterator(N)); // original … in TestExceptions()
407 vector_t victim; in TestExceptions()
411 vector_t acopy(src); in TestExceptions()
414 vector_t sized(N); in TestExceptions()
508 … using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in verify_vector_partially_copied() typedef
509 …REQUIRE_MESSAGE( victim == vector_t(src.begin(), src.begin() + victim.size(), src.get_allocator())… in verify_vector_partially_copied()
516 template<typename vector_t>
517 void verify_last_segment_allocation_failed(vector_t const& victim){ in verify_last_segment_allocation_failed()
522 template<typename vector_t>
523 void verify_copy_and_assign_from_produce_the_same(vector_t const& victim){ in verify_copy_and_assign_from_produce_the_same()
525 vector_t copy_of_victim(victim, victim.get_allocator()); in verify_copy_and_assign_from_produce_the_same()
527 vector_t copy_of_victim2(10, victim[0], victim.get_allocator()); in verify_copy_and_assign_from_produce_the_same()
532 template<typename vector_t>
533 void verify_assignment_operator_throws_bad_last_alloc(vector_t & victim){ in verify_assignment_operator_throws_bad_last_alloc()
534 vector_t copy_of_victim(victim, victim.get_allocator()); in verify_assignment_operator_throws_bad_last_alloc()
549 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in test_ex_assign_operator() typedef
554vector_t src(move_support_tests::FooIterator(0), move_support_tests::FooIterator(N)); // original … in test_ex_assign_operator()
559 vector_t victim; in test_ex_assign_operator()
689 using vector_t = fixture_t::container_type; in TestSerialGrowByWithMoveIterators() typedef
693 vector_t dst(fixture.dst_allocator); in TestSerialGrowByWithMoveIterators()
1151 using vector_t = oneapi::tbb::concurrent_vector<foo_t, std::allocator<foo_t> >; typedef
1152 vector_t v;
1154 void test( void(*p_test)(vector_t&)){ in test()
1172 static void test_move_push_back(fixture_t::vector_t& v) { in TestPushBackMoveExceptionSafety()
1189 static void test_emplace(fixture_t::vector_t& v) { in TestEmplaceBackExceptionSafety()
1206 using vector_t = oneapi::tbb::concurrent_vector<move_only_type >; in TestPushBackMoveOnlyContainer() typedef
1207 vector_t v; in TestPushBackMoveOnlyContainer()