Home
last modified time | relevance | path

Searched refs:move_count (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/
H A Drotate.pass.cpp26 int move_count; member
27 explicit wrapper(T t_) : t(t_), move_count(0) {} in wrapper()
35 wrapper(const wrapper<T>& a) : move_count(0) { t = a.t; } in wrapper()
48 move_count += 1; in operator =()
123 bool temp = a.move_count > 0; in check_move()
124 a.move_count = 0; in check_move()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
H A Dswap.pass.cpp167 int move_count; member
168 ThrowsOnSecondMove(int v) : value(v), move_count(0) {} in ThrowsOnSecondMove()
170 : value(o.value), move_count(o.move_count + 1) { in ThrowsOnSecondMove()
171 if (move_count == 2) in ThrowsOnSecondMove()
407 assert(std::get<0>(v2).move_count == 1); in test_swap_different_alternatives()
/llvm-project-15.0.7/pstl/test/support/
H A Dutils.h1173 ++move_count;
1186 ++move_count;
1212 if (move_count > 0)
1214 --move_count;
1230 return move_count;
1240 move_count = n;
1245 static std::atomic<size_t> move_count;
1253 std::atomic<size_t> Wrapper<T>::move_count = {0};