Lines Matching refs:Foo
101 CHECK( ((*p).state==move_support_tests::Foo::DefaultInitialized) ); in TestSequentialFor()
242 using allocator_t = StaticSharedCountingAllocator<std::allocator<move_support_tests::Foo>>; in TestResizeAndCopy()
243 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestResizeAndCopy()
251 v.assign(old_size/2, move_support_tests::Foo() ); in TestResizeAndCopy()
254 REQUIRE( v[j].state == move_support_tests::Foo::CopyInitialized); in TestResizeAndCopy()
258 v.resize(new_size, move_support_tests::Foo(33) ); in TestResizeAndCopy()
300 REQUIRE( v[i].state==move_support_tests::Foo::CopyInitialized ); in TestCopyAssignment()
333 …using allocator_t = StaticCountingAllocator<std::allocator<move_support_tests::Foo> /*TODO: oneapi… in TestCapacity()
334 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestCapacity()
512 … planned_victim_size, victim.end(), is_state_predicate<move_support_tests::Foo::ZeroInitialized>()… in verify_vector_partially_copied()
714 move_support_tests::Foo::State desired_state; in operator ()()
717 desired_state = move_support_tests::Foo::CopyInitialized; in operator ()()
720 desired_state = move_support_tests::Foo::DefaultInitialized; in operator ()()
723 … CHECK((p->state == desired_state || p->state == move_support_tests::Foo::ZeroInitialized)); in operator ()()
735 using MyAllocator = StaticCountingAllocator<std::allocator<move_support_tests::Foo>>; in TestConcurrentGrowToAtLeastImpl()
736 using MyVector = oneapi::tbb::concurrent_vector<move_support_tests::Foo, MyAllocator>; in TestConcurrentGrowToAtLeastImpl()
737 move_support_tests::Foo copy_from; in TestConcurrentGrowToAtLeastImpl()
739 MyVector v(2, move_support_tests::Foo(), MyAllocator()); in TestConcurrentGrowToAtLeastImpl()
819 move_support_tests::Foo::State expected_element_state;
957 … {3, grain_map::grow_by_range, false, move_support_tests::Foo::MoveInitialized}, in TestConcurrentGrowBy()
959 … {1, grain_map::grow_by_init_list, false, move_support_tests::Foo::CopyInitialized}, in TestConcurrentGrowBy()
961 … {2, grain_map::grow_by_default, false, move_support_tests::Foo::DefaultInitialized}, in TestConcurrentGrowBy()
962 … {1, grain_map::grow_by_default, true, move_support_tests::Foo::DefaultInitialized}, in TestConcurrentGrowBy()
963 … {1, grain_map::grow_by_copy, true, move_support_tests::Foo::CopyInitialized}, in TestConcurrentGrowBy()
964 … {1, grain_map::push_back, true, move_support_tests::Foo::CopyInitialized}, in TestConcurrentGrowBy()
966 … {1, grain_map::push_back_move, true, move_support_tests::Foo::MoveInitialized}, in TestConcurrentGrowBy()
968 … {1, grain_map::emplace_back, true, move_support_tests::Foo::DirectInitialized}, in TestConcurrentGrowBy()
972 using MyAllocator = StaticCountingAllocator<std::allocator<move_support_tests::Foo> >; in TestConcurrentGrowBy()
973 using MyVector = oneapi::tbb::concurrent_vector<move_support_tests::Foo, MyAllocator>; in TestConcurrentGrowBy()
996 if( v[i].state == move_support_tests::Foo::DefaultInitialized ) ++def_inits; in TestConcurrentGrowBy()
997 else if( v[i].state == move_support_tests::Foo::DirectInitialized ) ++direct_inits; in TestConcurrentGrowBy()
998 else if( v[i].state == move_support_tests::Foo::CopyInitialized ) ++copy_inits; in TestConcurrentGrowBy()
999 else if( v[i].state == move_support_tests::Foo::MoveInitialized ) ++move_inits; in TestConcurrentGrowBy()
1012 …case move_support_tests::Foo::DefaultInitialized: { expected_def_inits += rp.number_of_parts ; } b… in TestConcurrentGrowBy()
1013 …case move_support_tests::Foo::DirectInitialized: { expected_direct_inits += rp.number_of_parts ;}… in TestConcurrentGrowBy()
1014 …case move_support_tests::Foo::MoveInitialized: { expected_move_inits += rp.number_of_parts ;} b… in TestConcurrentGrowBy()
1015 …case move_support_tests::Foo::CopyInitialized: { expected_copy_inits += rp.number_of_parts ;} b… in TestConcurrentGrowBy()
1143 struct throwing_foo:move_support_tests::Foo {
1160 …REQUIRE_MESSAGE(is_state<move_support_tests::Foo::ZeroInitialized>(v[0]),"incorrectly filled item … in test()
1166 using fixture_t = push_back_exception_safety_helpers::fixture<move_support_tests::Foo>; in TestPushBackMoveExceptionSafety()
1173 move_support_tests::Foo f; in TestPushBackMoveExceptionSafety()
1184 move_support_tests::Foo dummy; //make FooCount non zero; in TestEmplaceBackExceptionSafety()
1496 …raits<oneapi::tbb::concurrent_vector<move_support_tests::Foo>::iterator,move_support_tests::Foo>();
1502 …oneapi::tbb::concurrent_vector<move_support_tests::Foo>::const_iterator,const move_support_tests::…