/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
tuple.by.type.fail.cpp | 12 #include <tuple> 19 std::tuple<long, long, char, std::string, char, UserType, char> t1; 20 TEST_IGNORE_NODISCARD std::get<int>(t1); // expected-error@tuple:* {{type not found}} 23 // expected-error@tuple:* 2 {{type occurs more than once}} 24 std::tuple<> t0; 26 // expected-error@tuple:* 1 {{type not in empty type list}} 31 std::tuple<upint> t;
|
get_rv.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // typename tuple_element<I, tuple<Types...> >::type&& 16 // get(tuple<Types...>&& t); 20 #include <tuple> 28 typedef std::tuple<std::unique_ptr<int> > T;
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
partial-ordering.cpp | 5 template<typename ...Types> struct tuple; 7 template<typename Tuple> 13 struct X1<tuple<Head, Tail...> > { 18 struct X1<tuple<Head, Tail&...> > { 23 struct X1<tuple<Head&, Tail&...> > { 27 int check0[X1<tuple<>>::value == 0? 1 : -1]; 28 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 29 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 30 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 31 int check4[X1<tuple<int&, int&>>::value == 3? 1 : -1] [all...] |
example-bind.cpp | 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 72 // Construct tuple from another tuple. 73 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p9-0x.cpp | 3 template<typename ...Types> struct tuple; 23 struct tuple_same_with_int<tuple<Types...>, tuple<Types..., int>> { 27 int tuple_same_with_int_1[tuple_same_with_int<tuple<int, float, double>, 28 tuple<int, float, double, int> 44 typedef tuple<ElementTypes...> element_types; 47 typedef tuple<unsigned_c<Bounds>...> bounds_types; 51 tuple<int, float, double>>::value? 1 : -1]; 53 tuple<unsigned_c<1>, unsigned_c<2>, unsigned_c<3>>
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
PR20855_tuple_ref_binding_diagnostics.fail.cpp | 13 // <tuple> 21 #include <tuple> 44 void F(typename CannotDeduce<std::tuple<Args...>>::type const&) {} 50 // expected-error@tuple:* 8 {{"Attempted construction of reference element binds to a temporary whose lifetime has ended"}} 53 // expected-error@tuple:* 0+ {{reference member '__value_' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}} 59 std::tuple<int, const std::string&> t(1, "a"); // expected-note 1 {{requested here}} 62 F<int, const std::string&>(std::tuple<int, const std::string&>(1, "abc")); // expected-note 1 {{requested here}} 66 std::tuple<const long&, int> t(ct, 42); // expected-note {{requested here}} 70 std::tuple<int const&, void*> t(ct, nullptr); // expected-note {{requested here}} 74 std::tuple<Base const&, int> t(ct, 42); // expected-note {{requested here} [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
lt.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 16 // operator<(const tuple<TTypes...>& t, const tuple<UTypes...>& u); 20 // operator>(const tuple<TTypes...>& t, const tuple<UTypes...>& u); 24 // operator<=(const tuple<TTypes...>& t, const tuple<UTypes...>& u); 28 // operator>=(const tuple<TTypes...>& t, const tuple<UTypes...>& u) [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
convert_move.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // template <class... UTypes> tuple(tuple<UTypes...>&& u); 18 #include <tuple> 51 typedef std::tuple<long> T0; 52 typedef std::tuple<long long> T1; 58 typedef std::tuple<long, char> T0; 59 typedef std::tuple<long long, int> T1; 66 typedef std::tuple<long, char, D> T0 [all...] |
PR20855_tuple_ref_binding_diagnostics.pass.cpp | 13 // <tuple> 18 #include <tuple> 64 void F(typename CannotDeduce<std::tuple<Args...>>::type const&) {} 72 std::tuple<int, int const&> t(std::make_tuple<const int&, const int&>(42, 42)); 76 fn(std::tuple<int, std::string const&>(42, std::string("a"))); 81 std::tuple<Base&, Base const&> t(d, d); 85 std::tuple<int, int&> t(42, ct); 93 std::tuple<int&> t(std::ref(x)); 95 std::tuple<int&> t1(std::allocator_arg, alloc, std::ref(x)); 101 std::tuple<int&> t(r) [all...] |
convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // template <class... UTypes> tuple(const tuple<UTypes...>& u); 18 #include <tuple> 71 typedef std::tuple<long> T0; 72 typedef std::tuple<long long> T1; 79 typedef std::tuple<int> T0; 80 typedef std::tuple<A> T1; 86 typedef std::tuple<int> T0 [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
convert_copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple& operator=(const tuple<UTypes...>& u); 19 #include <tuple> 39 typedef std::tuple<long> T0; 40 typedef std::tuple<long long> T1; 47 typedef std::tuple<long, char> T0; 48 typedef std::tuple<long long, int> T1; 56 typedef std::tuple<long, char, D> T0 [all...] |
const_pair.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple& operator=(const pair<U1, U2>& u); 19 #include <tuple> 27 typedef std::tuple<long long, short> T1;
|
copy.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 14 // tuple& operator=(const tuple& u); 18 #include <tuple> 42 typedef std::tuple<> T; 48 typedef std::tuple<int> T; 55 typedef std::tuple<int, char> T; 63 typedef std::tuple<int, char, std::string> T; 73 using T = std::tuple<int&, int&&> [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DataDrivenNumberFormatTestUtility.java | 50 * @param tuple contains the parameters of the format test. 52 public String format(DataDrivenNumberFormatTestData tuple) { 53 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; 61 * @param tuple contains the parameters of the format test. 63 public String toPattern(DataDrivenNumberFormatTestData tuple) { 64 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; 72 * @param tuple contains the parameters of the format test. 74 public String parse(DataDrivenNumberFormatTestData tuple) { 113 private DataDrivenNumberFormatTestData tuple = new DataDrivenNumberFormatTestData(); field in class:DataDrivenNumberFormatTestUtility [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DataDrivenNumberFormatTestUtility.java | 47 * @param tuple contains the parameters of the format test. 49 public String format(DataDrivenNumberFormatTestData tuple) { 50 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; 58 * @param tuple contains the parameters of the format test. 60 public String toPattern(DataDrivenNumberFormatTestData tuple) { 61 if (tuple.output != null && tuple.output.equals("fail")) return "fail"; 69 * @param tuple contains the parameters of the format test. 71 public String parse(DataDrivenNumberFormatTestData tuple) { 110 private DataDrivenNumberFormatTestData tuple = new DataDrivenNumberFormatTestData(); field in class:DataDrivenNumberFormatTestUtility [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/ |
gc_inspection.py | 26 # now the marker is in the tuple being constructed
27 [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple]
32 tuple(g())
|
/external/google-fruit/include/fruit/impl/util/ |
hash_codes.h | 20 #include <tuple> 26 std::size_t hashTuple(const std::tuple<Args...>& x);
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_element.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // class tuple_element<I, tuple<Types...> > 23 #include <tuple> 28 using T = std::tuple<int, long, void*>;
|
tuple_size.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // class tuple_size<tuple<Types...>> 20 #include <tuple> 38 test<std::tuple<>, 0>(); 39 test<std::tuple<int>, 1>(); 40 test<std::tuple<char, int>, 2>(); 41 test<std::tuple<char, char*, int>, 3>();
|
tuple_size_incomplete.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // struct tuple_size<tuple<Types...>> 21 #include <tuple> 56 test_complete<std::tuple<> >(); 57 test_complete<std::tuple<int&> >(); 58 test_complete<std::tuple<int&&, int&, void*>>(); 65 test_incomplete<std::tuple<int>&>();
|
tuple_size_v.pass.cpp | 12 // <tuple> 16 #include <tuple> 20 template <class Tuple, int Expect> 23 static_assert(std::tuple_size_v<Tuple> == Expect, ""); 24 static_assert(std::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, ""); 25 static_assert(std::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, ""); 26 static_assert(std::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, "") [all...] |
/external/python/cpython2/Lib/test/crashers/ |
gc_inspection.py | 26 # now the marker is in the tuple being constructed 27 [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple] 32 tuple(g())
|
/external/python/cpython3/Lib/test/crashers/ |
gc_inspection.py | 26 # now the marker is in the tuple being constructed 27 [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple] 32 tuple(g())
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/parser/ |
VersionTagsTupleTest.java | 27 VersionTagsTuple tuple = new VersionTagsTuple(Version.V1_1, new HashMap<String, String>()); local 28 assertEquals("VersionTagsTuple<Version: 1.1, {}>", tuple.toString());
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/ |
ResolverTupleTest.java | 27 ResolverTuple tuple = new ResolverTuple(new Tag("dice"), Pattern.compile("\\d+")); local 28 assertEquals("Tuple tag=dice regexp=\\d+", tuple.toString());
|