Lines Matching refs:allocator_t
242 using allocator_t = StaticSharedCountingAllocator<std::allocator<move_support_tests::Foo>>; in TestResizeAndCopy() typedef
243 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestResizeAndCopy()
244 allocator_t::init_counters(); in TestResizeAndCopy()
283 REQUIRE( allocator_t::items_constructed == allocator_t::items_destroyed ); in TestResizeAndCopy()
284 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestResizeAndCopy()
285 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestResizeAndCopy()
290 using allocator_t = StaticCountingAllocator<std::allocator<move_support_tests::FooWithAssign>>; in TestCopyAssignment() typedef
291 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in TestCopyAssignment()
319 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestCopyAssignment()
320 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestCopyAssignment()
333 …using allocator_t = StaticCountingAllocator<std::allocator<move_support_tests::Foo> /*TODO: oneapi… in TestCapacity() typedef
334 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::Foo, allocator_t>; in TestCapacity()
335 allocator_t::init_counters(); in TestCapacity()
365 REQUIRE( allocator_t::items_allocated == allocator_t::items_freed ); in TestCapacity()
366 REQUIRE( allocator_t::allocations == allocator_t::frees ); in TestCapacity()
386 …using allocator_t = StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign… in TestExceptions() typedef
387 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in TestExceptions()
403 move_support_tests::track_allocator_memory<allocator_t> verify_no_leak_at_exit{}; in TestExceptions()
404 allocator_t::init_counters(); in TestExceptions()
406 else allocator_t::set_limits(N/4); in TestExceptions()
433 … if(t) move_support_tests::max_foo_count = 0; else allocator_t::set_limits(); // reset limits in TestExceptions()
440 allocator_t::set_limits(1); // block any allocation in TestExceptions()
448 allocator_t::set_limits(); move_support_tests::max_foo_count = 0; in TestExceptions()
502 template<typename allocator_t>
504 …oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t> const& victim, size… in verify_vector_partially_copied()
505 …oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t> const& src, bool i… in verify_vector_partially_copied()
508 … using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in verify_vector_partially_copied()
548 using allocator_t = StaticCountingAllocator<std::allocator<move_support_tests::FooWithAssign>>; in test_ex_assign_operator() typedef
549 using vector_t = oneapi::tbb::concurrent_vector<move_support_tests::FooWithAssign, allocator_t>; in test_ex_assign_operator()
552 move_support_tests::track_allocator_memory<allocator_t> verify_no_leak_at_exit{}; in test_ex_assign_operator()
563 …move_support_tests::LimitAllocatedItemsInScope<allocator_t> allocator_limit(allocator_t::items_all… in test_ex_assign_operator()