/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/ |
D | tuple_cat.pass.cpp | 27 std::tuple<> t = std::tuple_cat(); in main() 30 std::tuple<> t1; in main() 31 std::tuple<> t2 = std::tuple_cat(t1); in main() 34 std::tuple<> t = std::tuple_cat(std::tuple<>()); in main() 37 std::tuple<> t = std::tuple_cat(std::array<int, 0>()); in main() 40 std::tuple<int> t1(1); in main() 41 std::tuple<int> t = std::tuple_cat(t1); in main() 47 constexpr std::tuple<> t = std::tuple_cat(); in main() 50 constexpr std::tuple<> t1; in main() 51 constexpr std::tuple<> t2 = std::tuple_cat(t1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/ |
D | eq.pass.cpp | 25 typedef std::tuple<> T1; in main() 26 typedef std::tuple<> T2; in main() 33 typedef std::tuple<int> T1; in main() 34 typedef std::tuple<double> T2; in main() 41 typedef std::tuple<int> T1; in main() 42 typedef std::tuple<double> T2; in main() 49 typedef std::tuple<int, double> T1; in main() 50 typedef std::tuple<double, char> T2; in main() 57 typedef std::tuple<int, double> T1; in main() 58 typedef std::tuple<double, char> T2; in main() [all …]
|
D | lt.pass.cpp | 37 typedef std::tuple<> T1; in main() 38 typedef std::tuple<> T2; in main() 47 typedef std::tuple<char> T1; in main() 48 typedef std::tuple<double> T2; in main() 57 typedef std::tuple<char> T1; in main() 58 typedef std::tuple<double> T2; in main() 67 typedef std::tuple<char> T1; in main() 68 typedef std::tuple<double> T2; in main() 77 typedef std::tuple<char, int> T1; in main() 78 typedef std::tuple<double, char> T2; in main() [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-tuple_test.cc | 40 using ::std::tr1::tuple; 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); in TEST() 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); in TEST() 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); in TEST() 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST() 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST() 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST() 58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST() 59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST() 60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.general/ |
D | tuple.smartptr.pass.cpp | 18 std::tuple<std::unique_ptr<char>> up; in main() 19 std::tuple<std::shared_ptr<char>> sp; in main() 20 std::tuple<std::weak_ptr <char>> wp; in main() 24 std::tuple<std::unique_ptr<char[]>> up; in main() 25 std::tuple<std::shared_ptr<char[]>> sp; in main() 26 std::tuple<std::weak_ptr <char[]>> wp; in main() 30 std::tuple<std::unique_ptr<char[5]>> up; in main() 31 std::tuple<std::shared_ptr<char[5]>> sp; in main() 32 std::tuple<std::weak_ptr <char[5]>> wp; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | tuple | 2 //===--------------------------- tuple ------------------------------------===// 15 tuple synopsis 21 class tuple { 23 constexpr tuple(); 24 explicit tuple(const T&...); // constexpr in C++14 26 explicit tuple(U&&...); // constexpr in C++14 27 tuple(const tuple&) = default; 28 tuple(tuple&&) = default; 30 tuple(const tuple<U...>&); // constexpr in C++14 32 tuple(tuple<U...>&&); // constexpr in C++14 [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | convert_copy.pass.cpp | 56 typedef std::tuple<double> T0; in main() 57 typedef std::tuple<int> T1; in main() 64 typedef std::tuple<double> T0; in main() 65 typedef std::tuple<A> T1; in main() 71 typedef std::tuple<int> T0; in main() 72 typedef std::tuple<C> T1; in main() 79 typedef std::tuple<double, char> T0; in main() 80 typedef std::tuple<int, int> T1; in main() 87 typedef std::tuple<double, char, D> T0; in main() 88 typedef std::tuple<int, int, B> T1; in main() [all …]
|
D | default.pass.cpp | 25 std::tuple<> t; in main() 28 std::tuple<int> t; in main() 32 std::tuple<int, char*> t; in main() 37 std::tuple<int, char*, std::string> t; in main() 43 std::tuple<int, char*, std::string, DefaultOnly> t; in main() 51 constexpr std::tuple<> t; in main() 54 constexpr std::tuple<int> t; in main() 58 constexpr std::tuple<int, char*> t; in main()
|
D | convert_move.pass.cpp | 39 typedef std::tuple<double> T0; in main() 40 typedef std::tuple<int> T1; in main() 46 typedef std::tuple<double, char> T0; in main() 47 typedef std::tuple<int, int> T1; in main() 54 typedef std::tuple<double, char, D> T0; in main() 55 typedef std::tuple<int, int, B> T1; in main() 64 typedef std::tuple<double, char, D&> T0; in main() 65 typedef std::tuple<int, int, B&> T1; in main() 74 typedef std::tuple<double, char, std::unique_ptr<D>> T0; in main() 75 typedef std::tuple<int, int, std::unique_ptr<B>> T1; in main()
|
D | const_Types.pass.cpp | 23 std::tuple<int> t(2); in main() 28 constexpr std::tuple<int> t(2); in main() 32 constexpr std::tuple<int> t; in main() 37 std::tuple<int, char*> t(2, 0); in main() 43 constexpr std::tuple<int, char*> t(2, nullptr); in main() 49 std::tuple<int, char*> t(2, nullptr); in main() 54 std::tuple<int, char*, std::string> t(2, nullptr, "text"); in main() 61 std::tuple<int, char*, std::string> t(2); in main() 67 std::tuple<int, char*, std::string> t(2, nullptr); in main() 73 std::tuple<int, char*, std::string, double> t(2, nullptr, "text"); in main()
|
D | alloc_convert_copy.pass.cpp | 27 typedef std::tuple<double> T0; in main() 28 typedef std::tuple<int> T1; in main() 34 typedef std::tuple<int> T0; in main() 35 typedef std::tuple<alloc_first> T1; in main() 43 typedef std::tuple<int, int> T0; in main() 44 typedef std::tuple<alloc_first, alloc_last> T1; in main() 55 typedef std::tuple<double, int, int> T0; in main() 56 typedef std::tuple<int, alloc_first, alloc_last> T1; in main()
|
D | UTypes.pass.cpp | 36 std::tuple<MoveOnly> t(MoveOnly(0)); in main() 40 std::tuple<MoveOnly, MoveOnly> t(MoveOnly(0), MoveOnly(1)); in main() 45 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(MoveOnly(0), in main() 54 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(MoveOnly(0), in main() 61 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(MoveOnly(0)); in main() 68 constexpr std::tuple<Empty> t0{Empty()}; in main() 71 constexpr std::tuple<A, A> t(3, 2); in main()
|
D | copy.pass.cpp | 25 typedef std::tuple<> T; in main() 30 typedef std::tuple<int> T; in main() 36 typedef std::tuple<int, char> T; in main() 43 typedef std::tuple<int, char, std::string> T; in main() 52 typedef std::tuple<int> T; in main() 58 typedef std::tuple<Empty> T; in main()
|
D | alloc_convert_move.pass.cpp | 44 typedef std::tuple<int> T0; in main() 45 typedef std::tuple<alloc_first> T1; in main() 53 typedef std::tuple<std::unique_ptr<D>> T0; in main() 54 typedef std::tuple<std::unique_ptr<B>> T1; in main() 60 typedef std::tuple<int, std::unique_ptr<D>> T0; in main() 61 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main() 70 typedef std::tuple<int, int, std::unique_ptr<D>> T0; in main() 71 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
|
D | alloc.pass.cpp | 28 std::tuple<> t(std::allocator_arg, A1<int>()); in main() 31 std::tuple<int> t(std::allocator_arg, A1<int>()); in main() 35 std::tuple<DefaultOnly> t(std::allocator_arg, A1<int>()); in main() 40 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 46 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main() 52 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 60 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main() 71 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
|
D | alloc_UTypes.pass.cpp | 28 std::tuple<MoveOnly> t(std::allocator_arg, A1<int>(), MoveOnly(0)); in main() 32 std::tuple<MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main() 38 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main() 48 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main() 58 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main() 65 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main()
|
D | alloc_copy.pass.cpp | 27 typedef std::tuple<> T; in main() 32 typedef std::tuple<int> T; in main() 38 typedef std::tuple<alloc_first> T; in main() 46 typedef std::tuple<alloc_last> T; in main() 54 typedef std::tuple<alloc_first, alloc_last> T; in main() 65 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 52 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 57 #define GTEST_0_TUPLE_(T) tuple<> 58 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 60 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 62 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 64 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ 66 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ 68 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \ 70 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 72 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.assign/ |
D | convert_move.pass.cpp | 40 typedef std::tuple<double> T0; in main() 41 typedef std::tuple<int> T1; in main() 48 typedef std::tuple<double, char> T0; in main() 49 typedef std::tuple<int, int> T1; in main() 57 typedef std::tuple<double, char, D> T0; in main() 58 typedef std::tuple<int, int, B> T1; in main() 69 typedef std::tuple<double, char, D&> T0; in main() 70 typedef std::tuple<int, int, B&> T1; in main() 79 typedef std::tuple<double, char, std::unique_ptr<D>> T0; in main() 80 typedef std::tuple<int, int, std::unique_ptr<B>> T1; in main()
|
D | convert_copy.pass.cpp | 37 typedef std::tuple<double> T0; in main() 38 typedef std::tuple<int> T1; in main() 45 typedef std::tuple<double, char> T0; in main() 46 typedef std::tuple<int, int> T1; in main() 54 typedef std::tuple<double, char, D> T0; in main() 55 typedef std::tuple<int, int, B> T1; in main() 66 typedef std::tuple<double, char, D&> T0; in main() 67 typedef std::tuple<int, int, B&> T1; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/ |
D | empty_member.pass.cpp | 25 typedef std::tuple<int, A> T; in main() 29 typedef std::tuple<A, int> T; in main() 33 typedef std::tuple<A, int, B> T; in main() 37 typedef std::tuple<A, B, int> T; in main() 41 typedef std::tuple<int, A, B> T; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.helper/ |
D | tuple_element.pass.cpp | 41 test<std::tuple<int>, 0, int>(); in main() 42 test<std::tuple<char, int>, 0, char>(); in main() 43 test<std::tuple<char, int>, 1, int>(); in main() 44 test<std::tuple<int*, char, int>, 0, int*>(); in main() 45 test<std::tuple<int*, char, int>, 1, char>(); in main() 46 test<std::tuple<int*, char, int>, 2, int>(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/ |
D | get_const.pass.cpp | 27 typedef std::tuple<int> T; in main() 32 typedef std::tuple<std::string, int> T; in main() 39 typedef std::tuple<double, int> T; in main() 45 typedef std::tuple<Empty> T; in main() 51 typedef std::tuple<double&, std::string, int> T; in main()
|
D | tuple.by.type.pass.cpp | 21 auto t1 = std::tuple<int, std::string, cf> { 42, "Hi", { 1,2 }}; in main() 29 auto t2 = std::tuple<int, std::string, int, cf> { 42, "Hi", 23, { 1,2 }}; in main() 36 constexpr std::tuple<int, const int, double, double> p5 { 1, 2, 3.4, 5.6 }; in main() 42 const std::tuple<int, const int, double, double> p5 { 1, 2, 3.4, 5.6 }; in main() 51 std::tuple<upint> t(upint(new int(4))); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.traits/ |
D | uses_allocator.pass.cpp | 25 typedef std::tuple<> T; in main() 30 typedef std::tuple<int> T; in main() 35 typedef std::tuple<char, int> T; in main() 40 typedef std::tuple<double&, char, int> T; in main()
|