/external/clang/test/Parser/ |
PR11000.cpp | 4 class tuple<> class 7 tuple(allocator_arg_t, const _Alloc&) {} function in class:tuple
|
/external/libcxx/test/libcxx/experimental/utilities/tuple/ |
use_header_warning.fail.cpp | 12 // <experimental/tuple> 14 #include <experimental/tuple> 16 // expected-error@experimental/tuple:* {{"<experimental/tuple> has been removed. Use <tuple> instead."}}
|
/external/libcxx/test/std/language.support/support.limits/support.limits.general/ |
tuple.version.pass.cpp | 11 // <tuple> feature macros 21 #include <tuple> 27 // ensure that the macros that are supposed to be defined in <tuple> are defined.
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p2-0x.cpp | 10 template<typename ...> struct tuple; 18 struct same_tuple<tuple<Types1...>, tuple<Types1...> > { 22 int same_tuple_check1[same_tuple<tuple<int, float>, tuple<int, double>>::value? -1 : 1]; 23 int same_tuple_check2[same_tuple<tuple<float, double>, tuple<float, double>>::value? 1 : -1];
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/ |
index_tuple.pass.cpp | 23 #include <tuple> 29 size_t operator()(const tuple<int,int>&) const {return 0;} 34 unordered_map<tuple<int,int>, size_t, my_hash> m;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_v.fail.cpp | 12 // <tuple> 16 // Expect failures with a reference type, pointer type, and a non-tuple type. 18 #include <tuple> 22 (void)std::tuple_size_v<std::tuple<> &>; // expected-note {{requested here}} 24 (void)std::tuple_size_v<std::tuple<>*>; // expected-note {{requested here}} 25 // expected-error@tuple:* 3 {{implicit instantiation of undefined template}}
|
tuple_size.fail.cpp | 12 // <tuple> 15 // class tuple_size<tuple<Types...>> 18 // Expect failures with a reference type, pointer type, and a non-tuple type. 20 #include <tuple> 24 (void)std::tuple_size<std::tuple<> &>::value; // expected-error {{implicit instantiation of undefined template}} 26 (void)std::tuple_size<std::tuple<>*>::value; // expected-error {{implicit instantiation of undefined template}}
|
/external/clang/test/Index/ |
usrs-cxx0x.cpp | 2 struct tuple { }; struct 4 void f(tuple<int, float, double>); 13 // CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17] 14 // CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
|
/external/libcxx/test/std/containers/associative/map/map.access/ |
index_tuple.pass.cpp | 23 #include <tuple> 29 map<tuple<int,int>, size_t> m;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
const_Types2.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // explicit tuple(const T&...); 18 #include <tuple> 25 std::tuple<int, char*, std::string, double&> t(2, nullptr, "text");
|
PR31384.pass.cpp | 13 // <tuple> 15 // template <class TupleLike> tuple(TupleLike&&); // libc++ extension 18 #include <tuple> 34 struct Derived : std::tuple<T> { 35 using std::tuple<T>::tuple; 37 operator std::tuple<U>() && { ++count; return {}; } 42 struct ExplicitDerived : std::tuple<T> { 43 using std::tuple<T>::tuple; [all...] |
dtor.pass.cpp | 12 // <tuple> 14 // template <class... Types> class tuple; 16 // ~tuple(); 19 // The destructor of tuple shall be a trivial destructor 22 #include <tuple> 30 std::tuple<> >::value, ""); 32 std::tuple<void*> >::value, ""); 34 std::tuple<int, float> >::value, ""); 36 std::tuple<std::string> >::value, ""); 38 std::tuple<int, std::string> >::value, "") [all...] |
copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // tuple(const tuple& u) = default; 18 #include <tuple> 26 typedef std::tuple<MoveOnly> T;
|
implicit_deduction_guides.pass.cpp | 18 // <tuple> 20 // Test that the constructors offered by std::tuple are formulated 24 #include <tuple> 36 // (1) tuple(const Types&...) -> tuple<Types...> 37 // (2) explicit tuple(const Types&...) -> tuple<Types...> 38 // (3) tuple(AT, A const&, Types const&...) -> tuple<Types...> 39 // (4) explicit tuple(AT, A const&, Types const&...) -> tuple<Types... 51 ASSERT_SAME_TYPE(decltype(t1), std::tuple<int>); member in class:std 53 ASSERT_SAME_TYPE(decltype(t2), std::tuple<int, double, decltype(nullptr)>); member in class:std 60 ASSERT_SAME_TYPE(decltype(t1), std::tuple<T>); member in class:std 64 ASSERT_SAME_TYPE(decltype(t2), std::tuple<T, long, T>); member in class:std 69 ASSERT_SAME_TYPE(decltype(t1), std::tuple<int>); member in class:std 72 ASSERT_SAME_TYPE(decltype(t2), std::tuple<int, double, int>); member in class:std 79 ASSERT_SAME_TYPE(decltype(t1), std::tuple<T>); member in class:std 83 ASSERT_SAME_TYPE(decltype(t2), std::tuple<T, long, T>); member in class:std 127 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std 131 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std 136 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std 140 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std 145 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std 149 ASSERT_SAME_TYPE(decltype(t1), std::tuple<>); member in class:std [all...] |
const_Types.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // explicit tuple(const T&...); 18 #include <tuple> 27 std::tuple<ExplicitCopy> const_explicit_copy() { 34 std::tuple<ExplicitCopy> non_const_explicit_copy() { 40 std::tuple<ExplicitCopy> const_explicit_copy_no_brace() {
|
alloc_convert_copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, tuple<UTypes...> const&); 19 #include <tuple> 28 std::tuple<ExplicitCopy> const_explicit_copy_test() { 29 const std::tuple<int> t1(42); 34 std::tuple<ExplicitCopy> non_const_explicit_copy_test() { 35 std::tuple<int> t1(42);
|
/external/libcxx/test/std/utilities/tuple/tuple.general/ |
tuple.smartptr.pass.cpp | 14 // auto_ptr doesn't have a copy constructor that takes a const &, but tuple does. 16 #include <tuple> 21 std::tuple<std::unique_ptr<char>> up; 22 std::tuple<std::shared_ptr<char>> sp; 23 std::tuple<std::weak_ptr <char>> wp; 26 std::tuple<std::unique_ptr<char[]>> up; 27 std::tuple<std::shared_ptr<char[]>> sp; 28 std::tuple<std::weak_ptr <char[]>> wp;
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/ |
empty_member.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 18 #include <tuple> 27 typedef std::tuple<int, A> T; 31 typedef std::tuple<A, int> T; 35 typedef std::tuple<A, int, B> T; 39 typedef std::tuple<A, B, int> T; 43 typedef std::tuple<int, A, B> T;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
copy.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // tuple& operator=(const tuple& u); 18 #include <tuple> 26 typedef std::tuple<MoveOnly> T;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatDataDrivenTest.java | 128 public String format(DataDrivenNumberFormatTestData tuple) { 129 DecimalFormat fmt = createDecimalFormat(tuple); 130 String actual = fmt.format(toNumber(tuple.format)); 131 String expected = tuple.output; 139 public String toPattern(DataDrivenNumberFormatTestData tuple) { 140 DecimalFormat fmt = createDecimalFormat(tuple); 142 if (tuple.toPattern != null) { 143 String expected = tuple.toPattern; 149 if (tuple.toLocalizedPattern != null) { 150 String expected = tuple.toLocalizedPattern [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatDataDrivenTest.java | 125 public String format(DataDrivenNumberFormatTestData tuple) { 126 DecimalFormat fmt = createDecimalFormat(tuple); 127 String actual = fmt.format(toNumber(tuple.format)); 128 String expected = tuple.output; 136 public String toPattern(DataDrivenNumberFormatTestData tuple) { 137 DecimalFormat fmt = createDecimalFormat(tuple); 139 if (tuple.toPattern != null) { 140 String expected = tuple.toPattern; 146 if (tuple.toLocalizedPattern != null) { 147 String expected = tuple.toLocalizedPattern [all...] |
/external/libcxx/test/libcxx/utilities/tuple/ |
version.pass.cpp | 10 // <tuple> 12 #include <tuple>
|
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
piecewise.pass.cpp | 17 // pair(piecewise_construct_t, tuple<Args1...> first_args, 18 // tuple<Args2...> second_args); 20 #include <tuple> 31 std::piecewise_construct_t, std::tuple<int, int>, std::tuple<long, long>>::value, ""); 33 std::piecewise_construct_t, std::tuple<int, int>, std::tuple<long, long>>::value, ""); 35 std::piecewise_construct_t, std::tuple<int, int>, std::tuple<long, long>>::value, ""); 37 std::piecewise_construct_t, std::tuple<int, int>, std::tuple<long, long>>::value, "") [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
tuple_cat.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls); 18 #include <tuple> 30 std::tuple<> t = std::tuple_cat(); 34 std::tuple<> t1; 35 std::tuple<> t2 = std::tuple_cat(t1); 39 std::tuple<> t = std::tuple_cat(std::tuple<>()); 43 std::tuple<> t = std::tuple_cat(std::array<int, 0>()) [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-tuple.cpp | 4 // Example tuple implementation from the variadic templates proposal, 54 template<typename... Values> class tuple; 56 // Basis case: zero-length tuple 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class in inherits:tuple 61 typedef tuple<Tail...> inherited; 64 tuple() { } function in class:tuple 67 // Construct tuple from separate arguments. 68 tuple(typename add_const_reference<Head>::type v function in class:tuple 73 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple [all...] |