Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 25 of 96) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.swap/
Dmember_swap.pass.cpp25 T t0; in main() local
27 t0.swap(t1); in main()
31 T t0(MoveOnly(0)); in main() local
33 t0.swap(t1); in main()
34 assert(std::get<0>(t0) == 1); in main()
39 T t0(MoveOnly(0), MoveOnly(1)); in main() local
41 t0.swap(t1); in main()
42 assert(std::get<0>(t0) == 2); in main()
43 assert(std::get<1>(t0) == 3); in main()
49 T t0(MoveOnly(0), MoveOnly(1), MoveOnly(2)); in main() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.special/
Dnon_member_swap.pass.cpp26 T t0; in main() local
28 swap(t0, t1); in main()
32 T t0(MoveOnly(0)); in main() local
34 swap(t0, t1); in main()
35 assert(std::get<0>(t0) == 1); in main()
40 T t0(MoveOnly(0), MoveOnly(1)); in main() local
42 swap(t0, t1); in main()
43 assert(std::get<0>(t0) == 2); in main()
44 assert(std::get<1>(t0) == 3); in main()
50 T t0(MoveOnly(0), MoveOnly(1), MoveOnly(2)); in main() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
Dcopy.pass.cpp26 T t0; in main() local
27 T t = t0; in main()
31 T t0(2); in main() local
32 T t = t0; in main()
37 T t0(2, 'a'); in main() local
38 T t = t0; in main()
44 const T t0(2, 'a', "some text"); in main() local
45 T t = t0; in main()
53 constexpr T t0(2); in main() local
54 constexpr T t = t0; in main()
[all …]
Dalloc_copy.pass.cpp28 T t0; in main() local
29 T t(std::allocator_arg, A1<int>(), t0); in main()
33 T t0(2); in main() local
34 T t(std::allocator_arg, A1<int>(), t0); in main()
39 T t0(2); in main() local
41 T t(std::allocator_arg, A1<int>(5), t0); in main()
47 T t0(2); in main() local
49 T t(std::allocator_arg, A1<int>(5), t0); in main()
55 T t0(2, 3); in main() local
58 T t(std::allocator_arg, A1<int>(5), t0); in main()
[all …]
Dalloc_move.pass.cpp29 T t0; in main() local
30 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main()
34 T t0(MoveOnly(0)); in main() local
35 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main()
40 T t0(1); in main() local
42 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
48 T t0(1); in main() local
50 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
56 T t0(0 ,1); in main() local
58 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
[all …]
Dconvert_copy.pass.cpp58 T0 t0(2.5); in main() local
59 T1 t1 = t0; in main()
66 constexpr T0 t0(2.5); in main() local
67 constexpr T1 t1 = t0; in main()
73 constexpr T0 t0(2); in main() local
74 constexpr T1 t1{t0}; in main()
81 T0 t0(2.5, 'a'); in main() local
82 T1 t1 = t0; in main()
89 T0 t0(2.5, 'a', D(3)); in main() local
90 T1 t1 = t0; in main()
[all …]
Dmove.pass.cpp25 T t0; in main() local
26 T t = std::move(t0); in main()
30 T t0(MoveOnly(0)); in main() local
31 T t = std::move(t0); in main()
36 T t0(MoveOnly(0), MoveOnly(1)); in main() local
37 T t = std::move(t0); in main()
43 T t0(MoveOnly(0), MoveOnly(1), MoveOnly(2)); in main() local
44 T t = std::move(t0); in main()
Dconvert_move.pass.cpp41 T0 t0(2.5); in main() local
42 T1 t1 = std::move(t0); in main()
48 T0 t0(2.5, 'a'); in main() local
49 T1 t1 = std::move(t0); in main()
56 T0 t0(2.5, 'a', D(3)); in main() local
57 T1 t1 = std::move(t0); in main()
66 T0 t0(2.5, 'a', d); in main() local
67 T1 t1 = std::move(t0); in main()
76 T0 t0(2.5, 'a', std::unique_ptr<D>(new D(3))); in main() local
77 T1 t1 = std::move(t0); in main()
Dalloc_convert_copy.pass.cpp29 T0 t0(2.5); in main() local
30 T1 t1(std::allocator_arg, A1<int>(), t0); in main()
36 T0 t0(2); in main() local
38 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
45 T0 t0(2, 3); in main() local
48 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
57 T0 t0(1.5, 2, 3); in main() local
60 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
Dalloc_const_pair.pass.cpp30 T0 t0(2, 3); in main() local
31 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
38 T0 t0(2, 3); in main() local
40 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
48 T0 t0(2, 3); in main() local
51 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
Dalloc_convert_move.pass.cpp46 T0 t0(2); in main() local
48 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
55 T0 t0(std::unique_ptr<D>(new D(3))); in main() local
56 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
62 T0 t0(2, std::unique_ptr<D>(new D(3))); in main() local
64 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
72 T0 t0(1, 2, std::unique_ptr<D>(new D(3))); in main() local
75 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/
Dassign_copy.pass.cpp27 const T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
29 C c0(std::begin(t0), std::end(t0), A(10)); in main()
39 const T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
41 C c0(std::begin(t0), std::end(t0), A(10)); in main()
51 const T t0[] = {10, 11, 12, 13}; in main() local
53 C c0(std::begin(t0), std::end(t0), A(10)); in main()
63 const T t0[] = {10, 11, 12, 13}; in main() local
65 C c0(std::begin(t0), std::end(t0), A(10)); in main()
76 const T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
78 C c0(std::begin(t0), std::end(t0), A(10)); in main()
[all …]
Dassign_range.pass.cpp27 const T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
31 c.assign(I(std::begin(t0)), I(std::end(t0))); in main()
40 const T t0[] = {10, 11, 12, 13}; in main() local
44 c.assign(I(std::begin(t0)), I(std::end(t0))); in main()
54 const T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
58 c.assign(I(std::begin(t0)), I(std::end(t0))); in main()
67 const T t0[] = {10, 11, 12, 13}; in main() local
71 c.assign(I(std::begin(t0)), I(std::end(t0))); in main()
Dassign_move.pass.cpp29 T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
32 C c0(I(std::begin(t0)), I(std::end(t0)), A(10)); in main()
46 T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
49 C c0(I(std::begin(t0)), I(std::end(t0)), A(10)); in main()
63 T t0[] = {10, 11, 12, 13}; in main() local
66 C c0(I(std::begin(t0)), I(std::end(t0)), A(10)); in main()
80 T t0[] = {10, 11, 12, 13}; in main() local
83 C c0(I(std::begin(t0)), I(std::end(t0)), A(10)); in main()
98 T t0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
101 C c0(I(std::begin(t0)), I(std::end(t0)), A(10)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.assign/
Dcopy.pass.cpp24 T t0; in main() local
26 t = t0; in main()
30 T t0(2); in main() local
32 t = t0; in main()
37 T t0(2, 'a'); in main() local
39 t = t0; in main()
45 const T t0(2, 'a', "some text"); in main() local
47 t = t0; in main()
Dmove.pass.cpp25 T t0; in main() local
27 t = std::move(t0); in main()
31 T t0(MoveOnly(0)); in main() local
33 t = std::move(t0); in main()
38 T t0(MoveOnly(0), MoveOnly(1)); in main() local
40 t = std::move(t0); in main()
46 T t0(MoveOnly(0), MoveOnly(1), MoveOnly(2)); in main() local
48 t = std::move(t0); in main()
Dconvert_move.pass.cpp42 T0 t0(2.5); in main() local
44 t1 = std::move(t0); in main()
50 T0 t0(2.5, 'a'); in main() local
52 t1 = std::move(t0); in main()
59 T0 t0(2.5, 'a', D(3)); in main() local
61 t1 = std::move(t0); in main()
71 T0 t0(2.5, 'a', d2); in main() local
73 t1 = std::move(t0); in main()
81 T0 t0(2.5, 'a', std::unique_ptr<D>(new D(3))); in main() local
83 t1 = std::move(t0); in main()
Dconvert_copy.pass.cpp39 T0 t0(2.5); in main() local
41 t1 = t0; in main()
47 T0 t0(2.5, 'a'); in main() local
49 t1 = t0; in main()
56 T0 t0(2.5, 'a', D(3)); in main() local
58 t1 = t0; in main()
68 T0 t0(2.5, 'a', d2); in main() local
70 t1 = t0; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/
Dasync.pass.cpp69 Clock::time_point t0 = Clock::now(); in main() local
72 assert(t1-t0 < ms(100)); in main()
77 Clock::time_point t0 = Clock::now(); in main() local
80 assert(t1-t0 < ms(100)); in main()
85 Clock::time_point t0 = Clock::now(); in main() local
88 assert(t1-t0 < ms(100)); in main()
93 Clock::time_point t0 = Clock::now(); in main() local
96 assert(t1-t0 > ms(100)); in main()
102 Clock::time_point t0 = Clock::now(); in main() local
105 assert(t1-t0 < ms(100)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/unord.hash/
Dfloating.pass.cpp34 std::size_t t0 = h(0.); in test() local
41 assert(t0 == tn0); in test()
42 assert(t0 != tp1); in test()
43 assert(t0 != t1); in test()
44 assert(t0 != tn1); in test()
45 assert(t0 != pinf); in test()
46 assert(t0 != ninf); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
Dmove.pass.cpp64 std::thread t0(G(), 5, 5.5); in main() local
65 std::thread::id id = t0.get_id(); in main()
67 t1 = std::move(t0); in main()
69 assert(t0.get_id() == std::thread::id()); in main()
75 std::thread t0(G(), 5, 5.5); in main() local
76 std::thread::id id = t0.get_id(); in main()
78 t0 = std::move(t1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp160 std::thread t0(f0); in main() local
162 t0.join(); in main()
168 std::thread t0(f3); in main() local
170 t0.join(); in main()
177 std::thread t0(f41); in main() local
179 t0.join(); in main()
187 std::thread t0(f1); in main() local
189 t0.join(); in main()
195 std::thread t0(f2); in main() local
197 t0.join(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
Djoinable.pass.cpp46 std::thread t0((G())); in main()
47 assert(t0.joinable()); in main()
48 t0.join(); in main()
49 assert(!t0.joinable()); in main()
Djoin.pass.cpp46 std::thread t0((G())); in main()
47 assert(t0.joinable()); in main()
48 t0.join(); in main()
49 assert(!t0.joinable()); in main()
Ddetach.pass.cpp46 std::thread t0((G())); in main()
47 assert(t0.joinable()); in main()
48 t0.detach(); in main()
49 assert(!t0.joinable()); in main()

1234