Home
last modified time | relevance | path

Searched refs:copy_called (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/
Dallocs.pass.cpp34 assert(A1<int>::copy_called == true); in main()
37 A1<int>::copy_called = false; in main()
43 assert(A1<int>::copy_called == false); in main()
51 assert(A1<int>::copy_called == true); in main()
53 assert(A2<int>::copy_called == true); in main()
58 A1<int>::copy_called = false; in main()
60 A2<int>::copy_called = false; in main()
65 assert(A1<int>::copy_called == false); in main()
67 assert(A2<int>::copy_called == true); in main()
72 A1<int>::copy_called = false; in main()
[all …]
Dconverting_copy.pass.cpp32 A1<int>::copy_called = false; in main()
35 assert(A1<int>::copy_called == true); in main()
42 A1<int>::copy_called = false; in main()
44 A2<int>::copy_called = false; in main()
47 assert(A1<int>::copy_called == true); in main()
48 assert(A2<int>::copy_called == true); in main()
55 A1<int>::copy_called = false; in main()
57 A2<int>::copy_called = false; in main()
59 A3<int>::copy_called = false; in main()
62 assert(A1<int>::copy_called == true); in main()
[all …]
Dcopy.pass.cpp29 A1<int>::copy_called = false; in main()
32 assert(A1<int>::copy_called == true); in main()
39 A1<int>::copy_called = false; in main()
41 A2<int>::copy_called = false; in main()
44 assert(A1<int>::copy_called == true); in main()
46 assert(A2<int>::copy_called == true); in main()
53 A1<int>::copy_called = false; in main()
55 A2<int>::copy_called = false; in main()
57 A3<int>::copy_called = false; in main()
60 assert(A1<int>::copy_called == true); in main()
[all …]
Dconverting_move.pass.cpp32 A1<int>::copy_called = false; in main()
35 assert(A1<int>::copy_called == false); in main()
43 A1<int>::copy_called = false; in main()
45 A2<int>::copy_called = false; in main()
48 assert(A1<int>::copy_called == false); in main()
50 assert(A2<int>::copy_called == false); in main()
58 A1<int>::copy_called = false; in main()
60 A2<int>::copy_called = false; in main()
62 A3<int>::copy_called = false; in main()
65 assert(A1<int>::copy_called == false); in main()
[all …]
Ddefault.pass.cpp31 assert(A1<int>::copy_called == false); in main()
39 assert(A1<int>::copy_called == false); in main()
41 assert(A2<int>::copy_called == false); in main()
49 assert(A1<int>::copy_called == false); in main()
51 assert(A2<int>::copy_called == false); in main()
53 assert(A3<int>::copy_called == false); in main()
/external/libcxx/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/
Dcopy_assign.pass.cpp31 A1<int>::copy_called = false; in main()
34 assert(A1<int>::copy_called == true); in main()
42 A1<int>::copy_called = false; in main()
44 A2<int>::copy_called = false; in main()
47 assert(A1<int>::copy_called == true); in main()
49 assert(A2<int>::copy_called == true); in main()
57 A1<int>::copy_called = false; in main()
59 A2<int>::copy_called = false; in main()
61 A3<int>::copy_called = false; in main()
64 assert(A1<int>::copy_called == true); in main()
[all …]
Dmove_assign.pass.cpp31 A1<int>::copy_called = false; in main()
34 assert(A1<int>::copy_called == false); in main()
42 A1<int>::copy_called = false; in main()
44 A2<int>::copy_called = false; in main()
47 assert(A1<int>::copy_called == false); in main()
49 assert(A2<int>::copy_called == false); in main()
57 A1<int>::copy_called = false; in main()
59 A2<int>::copy_called = false; in main()
61 A3<int>::copy_called = false; in main()
64 assert(A1<int>::copy_called == false); in main()
[all …]
/external/libcxx/test/support/
Dallocators.h31 static bool copy_called; variable
36 A1(const A1& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
38 A1& operator=(const A1& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
42 A1(const A1<U>& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
60 template <class T> bool A1<T>::copy_called = false;
95 static bool copy_called; variable
99 A2(const A2& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A2()
101 A2& operator=(const A2& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
111 template <class T> bool A2<T>::copy_called = false;
143 static bool copy_called; variable
[all …]