Lines Matching refs:MoveOperationTracker
130 using MoveOperationTracker = MoveOperationTrackerBase<std::size_t>; typedef
139 template <typename Allocator = std::allocator<MoveOperationTracker>>
144 using cpq_compare_type = std::less<MoveOperationTracker>;
145 …ator_type = typename std::allocator_traits<Allocator>::template rebind_alloc<MoveOperationTracker>;
146 …using cpq_type = oneapi::tbb::concurrent_priority_queue<MoveOperationTracker, cpq_compare_type, cp…
152 std::size_t& mcct = MoveOperationTracker::move_ctor_called_times; in init()
153 std::size_t& ccct = MoveOperationTracker::copy_ctor_called_times; in init()
154 std::size_t& cact = MoveOperationTracker::copy_assign_called_times; in init()
155 std::size_t& mact = MoveOperationTracker::move_assign_called_times; in init()
159 cpq_src.push(MoveOperationTracker(i)); in init()
180 SpecialMemberCalls previous = MoveOperationTracker::special_member_calls(); in test_steal_move_ctor()
182 …REQUIRE_MESSAGE(previous == MoveOperationTracker::special_member_calls(), "Steal move ctor should … in test_steal_move_ctor()
188 using arena_fixture_type = move_support_tests::TwoMemoryArenasFixture<MoveOperationTracker>; in test_steal_move_ctor_with_allocator()
195 SpecialMemberCalls previous = MoveOperationTracker::special_member_calls(); in test_steal_move_ctor_with_allocator()
197 …REQUIRE_MESSAGE(previous == MoveOperationTracker::special_member_calls(), "Steal move ctor should … in test_steal_move_ctor_with_allocator()
203 using arena_fixture_type = move_support_tests::TwoMemoryArenasFixture<MoveOperationTracker>; in test_per_element_move_ctor_with_allocator()
210 … SpecialMemberCalls move_ctor_called_cpq_size_times = MoveOperationTracker::special_member_calls(); in test_per_element_move_ctor_with_allocator()
214 REQUIRE_MESSAGE(move_ctor_called_cpq_size_times == MoveOperationTracker::special_member_calls(), in test_per_element_move_ctor_with_allocator()
227 SpecialMemberCalls previous = MoveOperationTracker::special_member_calls(); in test_steal_move_assign_operator()
230 …REQUIRE_MESSAGE(previous == MoveOperationTracker::special_member_calls(), "Steal move assign opera… in test_steal_move_assign_operator()
237 …using arena_fixture_type = move_support_tests::TwoMemoryArenasFixture<MoveOperationTracker, /*POCM… in test_steal_move_assign_operator_with_stateful_allocator()
245 SpecialMemberCalls previous = MoveOperationTracker::special_member_calls(); in test_steal_move_assign_operator_with_stateful_allocator()
247 …REQUIRE_MESSAGE(previous == MoveOperationTracker::special_member_calls(), "Steal move assign opera… in test_steal_move_assign_operator_with_stateful_allocator()
254 …using arena_fixture_type = move_support_tests::TwoMemoryArenasFixture<MoveOperationTracker, /*POCM… in test_per_element_move_assign_operator()
262 … SpecialMemberCalls move_ctor_called_cpq_size_times = MoveOperationTracker::special_member_calls(); in test_per_element_move_assign_operator()
265 REQUIRE_MESSAGE(move_ctor_called_cpq_size_times == MoveOperationTracker::special_member_calls(), in test_per_element_move_assign_operator()
324 std::size_t& mcct = MoveOperationTracker::move_ctor_called_times; in test_move_support_in_push_pop()
325 std::size_t& ccct = MoveOperationTracker::copy_ctor_called_times; in test_move_support_in_push_pop()
326 std::size_t& cact = MoveOperationTracker::copy_assign_called_times; in test_move_support_in_push_pop()
327 std::size_t& mact = MoveOperationTracker::move_assign_called_times; in test_move_support_in_push_pop()
330 oneapi::tbb::concurrent_priority_queue<MoveOperationTracker> q1; in test_move_support_in_push_pop()
335 q1.push(MoveOperationTracker{}); in test_move_support_in_push_pop()
339 MoveOperationTracker ob; in test_move_support_in_push_pop()