/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | move.pass.cpp | 53 using Tup = std::tuple<Elem>; in test_sfinae() typedef 58 static_assert(std::is_default_constructible<Tup>::value, ""); in test_sfinae() 59 static_assert(std::is_move_constructible<Tup>::value, ""); in test_sfinae() 60 static_assert(!std::is_copy_constructible<Tup>::value, ""); in test_sfinae() 61 static_assert(!std::is_constructible<Tup, Tup&>::value, ""); in test_sfinae() 65 static_assert(std::is_constructible<Tup, Elem&&>::value, ""); in test_sfinae() 66 static_assert(!std::is_constructible<Tup, Elem const&>::value, ""); in test_sfinae() 67 static_assert(!std::is_constructible<Tup, Elem&>::value, ""); in test_sfinae() 71 static_assert(std::is_constructible<Tup, Tag, Alloc>::value, ""); in test_sfinae() 72 static_assert(std::is_constructible<Tup, Tag, Alloc, Tup&&>::value, ""); in test_sfinae() [all …]
|
D | implicit_deduction_guides.pass.cpp | 86 using Tup = std::tuple<int, decltype(nullptr)>; in test_primary_template() typedef 87 const Tup t(42, nullptr); in test_primary_template() 90 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 93 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef 94 std::tuple t1(Tup(nullptr, 42, 'a')); in test_primary_template() 95 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 98 using Tup = std::tuple<int, decltype(nullptr)>; in test_primary_template() typedef 99 const Tup t(42, nullptr); in test_primary_template() 102 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 105 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef [all …]
|
D | PR27684_contains_ref_to_incomplete_type.pass.cpp | 36 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 37 Tup t(cinc1, cinc2); in main() 42 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 43 Tup t(inc1, inc2); in main()
|
D | UTypes.pass.cpp | 129 using Tup = std::tuple<E, E, E>; in main() typedef 132 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 134 Tup t(E(0), E(1)); in main() 135 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 140 Tup t2(E(0)); in main() 141 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | move.pass.cpp | 53 using Tup = std::tuple<Elem>; in test_sfinae() typedef 58 static_assert(std::is_default_constructible<Tup>::value, ""); in test_sfinae() 59 static_assert(std::is_move_constructible<Tup>::value, ""); in test_sfinae() 60 static_assert(!std::is_copy_constructible<Tup>::value, ""); in test_sfinae() 61 static_assert(!std::is_constructible<Tup, Tup&>::value, ""); in test_sfinae() 65 static_assert(std::is_constructible<Tup, Elem&&>::value, ""); in test_sfinae() 66 static_assert(!std::is_constructible<Tup, Elem const&>::value, ""); in test_sfinae() 67 static_assert(!std::is_constructible<Tup, Elem&>::value, ""); in test_sfinae() 71 static_assert(std::is_constructible<Tup, Tag, Alloc>::value, ""); in test_sfinae() 72 static_assert(std::is_constructible<Tup, Tag, Alloc, Tup&&>::value, ""); in test_sfinae() [all …]
|
D | deduct.pass.cpp | 130 using Tup = std::tuple<int, decltype(nullptr)>; in test_primary_template() typedef 131 const Tup t(42, nullptr); in test_primary_template() 134 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 137 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef 138 std::tuple t1(Tup(nullptr, 42, 'a')); in test_primary_template() 139 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 142 using Tup = std::tuple<int, decltype(nullptr)>; in test_primary_template() typedef 143 const Tup t(42, nullptr); in test_primary_template() 146 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 149 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef [all …]
|
D | PR27684_contains_ref_to_incomplete_type.pass.cpp | 37 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 38 Tup t(cinc1, cinc2); in main() 43 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 44 Tup t(inc1, inc2); in main()
|
D | UTypes.pass.cpp | 128 using Tup = std::tuple<E, E, E>; in main() typedef 131 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 133 Tup t(E(0), E(1)); in main() 134 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 139 Tup t2(E(0)); in main() 140 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply.pass.cpp | 49 using Tup = std::tuple<>; in test_constexpr_evaluation() typedef 51 constexpr Tup t; in test_constexpr_evaluation() 56 using Tup = std::tuple<int>; in test_constexpr_evaluation() typedef 58 constexpr Tup t(42); in test_constexpr_evaluation() 63 using Tup = std::tuple<int, long>; in test_constexpr_evaluation() typedef 65 constexpr Tup t(42, 101); in test_constexpr_evaluation() 70 using Tup = std::pair<int, long>; in test_constexpr_evaluation() typedef 72 constexpr Tup t(42, 101); in test_constexpr_evaluation() 77 using Tup = std::tuple<int, long, int>; in test_constexpr_evaluation() typedef 79 constexpr Tup t(42, 101, -1); in test_constexpr_evaluation() [all …]
|
D | make_from_tuple.pass.cpp | 113 using Tup = std::tuple<>; in test_perfect_forwarding() typedef 114 Tup tup; in test_perfect_forwarding() 115 Tup const& ctup = tup; in test_perfect_forwarding() 120 using Tup = std::tuple<int>; in test_perfect_forwarding() typedef 121 Tup tup(42); in test_perfect_forwarding() 122 Tup const& ctup = tup; in test_perfect_forwarding() 129 using Tup = std::tuple<int&, const char*, unsigned&&>; in test_perfect_forwarding() typedef 132 Tup tup(x, "hello world", std::move(y)); in test_perfect_forwarding() 133 Tup const& ctup = tup; in test_perfect_forwarding() 141 using Tup = std::pair<int&, const char*>; in test_perfect_forwarding() typedef [all …]
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply.pass.cpp | 48 using Tup = std::tuple<>; in test_constexpr_evaluation() typedef 50 constexpr Tup t; in test_constexpr_evaluation() 55 using Tup = std::tuple<int>; in test_constexpr_evaluation() typedef 57 constexpr Tup t(42); in test_constexpr_evaluation() 62 using Tup = std::tuple<int, long>; in test_constexpr_evaluation() typedef 64 constexpr Tup t(42, 101); in test_constexpr_evaluation() 69 using Tup = std::pair<int, long>; in test_constexpr_evaluation() typedef 71 constexpr Tup t(42, 101); in test_constexpr_evaluation() 76 using Tup = std::tuple<int, long, int>; in test_constexpr_evaluation() typedef 78 constexpr Tup t(42, 101, -1); in test_constexpr_evaluation() [all …]
|
D | make_from_tuple.pass.cpp | 112 using Tup = std::tuple<>; in test_perfect_forwarding() typedef 113 Tup tup; in test_perfect_forwarding() 114 Tup const& ctup = tup; in test_perfect_forwarding() 119 using Tup = std::tuple<int>; in test_perfect_forwarding() typedef 120 Tup tup(42); in test_perfect_forwarding() 121 Tup const& ctup = tup; in test_perfect_forwarding() 128 using Tup = std::tuple<int&, const char*, unsigned&&>; in test_perfect_forwarding() typedef 131 Tup tup(x, "hello world", std::move(y)); in test_perfect_forwarding() 132 Tup const& ctup = tup; in test_perfect_forwarding() 140 using Tup = std::pair<int&, const char*>; in test_perfect_forwarding() typedef [all …]
|
/external/llvm-project/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | disable_reduced_arity_initialization_extension.pass.cpp | 84 using Tup = std::tuple<E, E, E>; in main() typedef 87 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 89 Tup t(E(0), E(1)); in main() 90 static_assert(std::is_constructible<Tup, E, E>::value, ""); in main() 91 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 96 Tup t2(E(0)); in main() 97 static_assert(std::is_constructible<Tup, E>::value, ""); in main() 98 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
D | enable_reduced_arity_initialization_extension.pass.cpp | 97 using Tup = std::tuple<E, E, E>; in main() typedef 98 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 100 Tup t = {E(0), E(1)}; in main() 101 static_assert(test_convertible<Tup, E, E>(), ""); in main() 106 Tup t2 = {E(0)}; in main() 107 static_assert(test_convertible<Tup, E>(), ""); in main()
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | disable_reduced_arity_initialization_extension.pass.cpp | 85 using Tup = std::tuple<E, E, E>; in main() typedef 88 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 90 Tup t(E(0), E(1)); in main() 91 static_assert(std::is_constructible<Tup, E, E>::value, ""); in main() 92 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 97 Tup t2(E(0)); in main() 98 static_assert(std::is_constructible<Tup, E>::value, ""); in main() 99 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
D | enable_reduced_arity_initialization_extension.pass.cpp | 98 using Tup = std::tuple<E, E, E>; in main() typedef 99 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 101 Tup t = {E(0), E(1)}; in main() 102 static_assert(test_convertible<Tup, E, E>(), ""); in main() 107 Tup t2 = {E(0)}; in main() 108 static_assert(test_convertible<Tup, E>(), ""); in main()
|
/external/libtextclassifier/abseil-cpp/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/openscreen/third_party/abseil/src/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/abseil-cpp/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/angle/third_party/abseil-cpp/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/webrtc/third_party/abseil-cpp/absl/utility/ |
D | utility_test.cc | 105 template <typename F, typename Tup, size_t... Is> 106 auto ApplyFromTupleImpl(F f, const Tup& tup, absl::index_sequence<Is...>) in ApplyFromTupleImpl() 111 template <typename Tup> 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 114 template <typename F, typename Tup> 115 auto ApplyFromTuple(F f, const Tup& tup) in ApplyFromTuple() 116 -> decltype(ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{})) { in ApplyFromTuple() 117 return ApplyFromTupleImpl(f, tup, TupIdxSeq<Tup>{}); 136 template <typename Tup, size_t... Is> 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, in TupStringVecImpl()
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/ |
D | str_join_internal.h | 264 template <typename Tup, typename Formatter> 265 void operator()(std::string* out, const Tup& tup, absl::string_view sep, 274 template <typename Tup, typename Formatter> 275 void operator()(std::string*, const Tup&, absl::string_view, Formatter&&) {}
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/ |
D | str_join_internal.h | 264 template <typename Tup, typename Formatter> 265 void operator()(std::string* out, const Tup& tup, absl::string_view sep, 274 template <typename Tup, typename Formatter> 275 void operator()(std::string*, const Tup&, absl::string_view, Formatter&&) {}
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/ |
D | str_join_internal.h | 264 template <typename Tup, typename Formatter> 265 void operator()(std::string* out, const Tup& tup, absl::string_view sep, 274 template <typename Tup, typename Formatter> 275 void operator()(std::string*, const Tup&, absl::string_view, Formatter&&) {}
|