Home
last modified time | relevance | path

Searched refs:move_called (Results 1 – 9 of 9) sorted by relevance

/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/
Dallocs.pass.cpp35 assert(A1<int>::move_called == false); in main()
44 assert(A1<int>::move_called == true); in main()
46 A1<int>::move_called = false; in main()
52 assert(A1<int>::move_called == false); in main()
54 assert(A2<int>::move_called == false); in main()
59 A1<int>::move_called = false; in main()
61 A2<int>::move_called = false; in main()
66 assert(A1<int>::move_called == true); in main()
68 assert(A2<int>::move_called == false); in main()
73 A1<int>::move_called = false; in main()
[all …]
Dcopy.pass.cpp30 A1<int>::move_called = false; in main()
33 assert(A1<int>::move_called == false); in main()
40 A1<int>::move_called = false; in main()
42 A2<int>::move_called = false; in main()
45 assert(A1<int>::move_called == false); in main()
47 assert(A2<int>::move_called == false); in main()
54 A1<int>::move_called = false; in main()
56 A2<int>::move_called = false; in main()
58 A3<int>::move_called = false; in main()
61 assert(A1<int>::move_called == false); in main()
[all …]
Dconverting_move.pass.cpp33 A1<int>::move_called = false; in main()
36 assert(A1<int>::move_called == true); in main()
44 A1<int>::move_called = false; in main()
46 A2<int>::move_called = false; in main()
49 assert(A1<int>::move_called == true); in main()
51 assert(A2<int>::move_called == true); in main()
59 A1<int>::move_called = false; in main()
61 A2<int>::move_called = false; in main()
63 A3<int>::move_called = false; in main()
66 assert(A1<int>::move_called == true); in main()
[all …]
Ddefault.pass.cpp32 assert(A1<int>::move_called == false); in main()
40 assert(A1<int>::move_called == false); in main()
42 assert(A2<int>::move_called == false); in main()
50 assert(A1<int>::move_called == false); in main()
52 assert(A2<int>::move_called == false); in main()
54 assert(A3<int>::move_called == false); in main()
Dconverting_copy.pass.cpp33 A1<int>::move_called = false; in main()
43 A1<int>::move_called = false; in main()
45 A2<int>::move_called = false; in main()
56 A1<int>::move_called = false; in main()
58 A2<int>::move_called = false; in main()
60 A3<int>::move_called = false; in main()
/external/libcxx/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/
Dcopy_assign.pass.cpp32 A1<int>::move_called = false; in main()
35 assert(A1<int>::move_called == false); in main()
43 A1<int>::move_called = false; in main()
45 A2<int>::move_called = false; in main()
48 assert(A1<int>::move_called == false); in main()
50 assert(A2<int>::move_called == false); in main()
58 A1<int>::move_called = false; in main()
60 A2<int>::move_called = false; in main()
62 A3<int>::move_called = false; in main()
65 assert(A1<int>::move_called == false); in main()
[all …]
Dmove_assign.pass.cpp32 A1<int>::move_called = false; in main()
35 assert(A1<int>::move_called == true); in main()
43 A1<int>::move_called = false; in main()
45 A2<int>::move_called = false; in main()
48 assert(A1<int>::move_called == true); in main()
50 assert(A2<int>::move_called == true); in main()
58 A1<int>::move_called = false; in main()
60 A2<int>::move_called = false; in main()
62 A3<int>::move_called = false; in main()
65 assert(A1<int>::move_called == true); in main()
[all …]
/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp78 static int move_called; member
81 static void reset() { move_called = move_assign_called = swap_called = 0; } in reset()
88 ++move_called; in NothrowTypeImp()
108 EnableSwap>::move_called = 0; member in NothrowTypeImp<NT_Copy, NT_Move, NT_CopyAssign, NT_MoveAssign, NT_Swap, EnableSwap>
154 static int move_called; member
155 static void reset() { move_called = 0; } in reset()
160 ++move_called; in NonThrowingNonNoexceptType()
170 int NonThrowingNonNoexceptType::move_called = 0; member in NonThrowingNonNoexceptType
260 assert(T::move_called == 1); in test_swap_same_alternative()
267 assert(T::move_called == 1); in test_swap_same_alternative()
[all …]
/external/libcxx/test/support/
Dallocators.h32 static bool move_called; variable
37 A1(A1&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
39 A1& operator=(A1&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
44 A1(A1<U>&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
61 template <class T> bool A1<T>::move_called = false;
96 static bool move_called; variable
100 A2(A2&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A2()
102 A2& operator=(A2&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
112 template <class T> bool A2<T>::move_called = false;
144 static bool move_called; variable
[all …]