/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | example-tuple.cpp | 54 template<typename... Values> class tuple; 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class 61 typedef tuple<Tail...> inherited; 64 tuple() { } in tuple() function in tuple 68 tuple(typename add_const_reference<Head>::type v, in tuple() function in tuple 73 template<typename... VValues> tuple(const tuple<VValues...>& other) in tuple() function in tuple 76 template<typename... VValues> tuple& 77 operator=(const tuple<VValues...>& other) { in operator =() 93 tuple<> t0a; in test_tuple() [all …]
|
D | example-bind.cpp | 54 template<typename... Values> class tuple; 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class 61 typedef tuple<Tail...> inherited; 64 tuple() { } in tuple() function in tuple 68 tuple(typename add_const_reference<Head>::type v, in tuple() function in tuple 73 template<typename... VValues> tuple(const tuple<VValues...>& other) in tuple() function in tuple 76 template<typename... VValues> tuple& 77 operator=(const tuple<VValues...>& other) { in operator =() 104 tuple<typename make_tuple_result<Values>::type...> [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
D | tuple_cat.pass.cpp | 30 std::tuple<> t = std::tuple_cat(); in main() 34 std::tuple<> t1; in main() 35 std::tuple<> t2 = std::tuple_cat(t1); in main() 39 std::tuple<> t = std::tuple_cat(std::tuple<>()); in main() 43 std::tuple<> t = std::tuple_cat(std::array<int, 0>()); in main() 47 std::tuple<int> t1(1); in main() 48 std::tuple<int> t = std::tuple_cat(t1); in main() 54 constexpr std::tuple<> t = std::tuple_cat(); in main() 58 constexpr std::tuple<> t1; in main() 59 constexpr std::tuple<> t2 = std::tuple_cat(t1); in main() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
D | eq.pass.cpp | 29 typedef std::tuple<> T1; in main() 30 typedef std::tuple<> T2; in main() 37 typedef std::tuple<int> T1; in main() 38 typedef std::tuple<double> T2; in main() 45 typedef std::tuple<int> T1; in main() 46 typedef std::tuple<double> T2; in main() 53 typedef std::tuple<int, double> T1; in main() 54 typedef std::tuple<double, long> T2; in main() 61 typedef std::tuple<int, double> T1; in main() 62 typedef std::tuple<double, long> T2; in main() [all …]
|
D | lt.pass.cpp | 41 typedef std::tuple<> T1; in main() 42 typedef std::tuple<> T2; in main() 51 typedef std::tuple<long> T1; in main() 52 typedef std::tuple<double> T2; in main() 61 typedef std::tuple<long> T1; in main() 62 typedef std::tuple<double> T2; in main() 71 typedef std::tuple<long> T1; in main() 72 typedef std::tuple<double> T2; in main() 81 typedef std::tuple<long, int> T1; in main() 82 typedef std::tuple<double, long> T2; in main() [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/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 …]
|
/external/google-breakpad/src/testing/gtest/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 …]
|
/external/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 …]
|
/external/v8/testing/gtest/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 …]
|
/external/protobuf/gtest/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 …]
|
/external/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 …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | PR31384.pass.cpp | 34 struct Derived : std::tuple<T> { 35 using std::tuple<T>::tuple; 37 operator std::tuple<U>() && { ++count; return {}; } in operator std::tuple<U>() 42 struct ExplicitDerived : std::tuple<T> { 43 using std::tuple<T>::tuple; 45 explicit operator std::tuple<U>() && { ++count; return {}; } in operator std::tuple<U>() 50 std::tuple<Explicit> foo = Derived<int>{42}; ((void)foo); in main() 52 std::tuple<Explicit> bar(Derived<int>{42}); ((void)bar); in main() 57 std::tuple<Implicit> foo = Derived<int>{42}; ((void)foo); in main() 59 std::tuple<Implicit> bar(Derived<int>{42}); ((void)bar); in main() [all …]
|
D | default.pass.cpp | 51 std::tuple<> t; in main() 54 std::tuple<int> t; in main() 58 std::tuple<int, char*> t; in main() 63 std::tuple<int, char*, std::string> t; in main() 69 std::tuple<int, char*, std::string, DefaultOnly> t; in main() 77 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main() 78 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main() 79 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main() 82 static_assert(noexcept(std::tuple<NoExceptDefault>()), ""); in main() 83 static_assert(noexcept(std::tuple<NoExceptDefault, NoExceptDefault>()), ""); in main() [all …]
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
D | extended_types.pass.cpp | 369 std::tuple<A_int_0 &>, std::tuple<A_int_0 const &> in main() 370 , std::tuple<A_int_0 *>, std::tuple<A_int_0 const *> in main() 371 , std::tuple<A_wrap_0 &>, std::tuple<A_wrap_0 const &> in main() 372 , std::tuple<A_base_0 &>, std::tuple<A_base_0 const &> in main() 375 std::tuple<A_int_0>, std::tuple<A_int_0 const> in main() 376 , std::tuple<A_int_0 *>, std::tuple<A_int_0 const *> in main() 377 , std::tuple<A_wrap_0>, std::tuple<A_wrap_0 const> in main() 378 , std::tuple<A_base_0>, std::tuple<A_base_0 const> in main() 389 std::tuple<A_int_1 &, int>, std::tuple<A_int_1 const &, int> in main() 390 , std::tuple<A_int_1 *, int>, std::tuple<A_int_1 const *, int> in main() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply_extended_types.pass.cpp | 368 std::tuple<A_int_0 &>, std::tuple<A_int_0 const &> in main() 369 , std::tuple<A_int_0 *>, std::tuple<A_int_0 const *> in main() 370 , std::tuple<A_wrap_0 &>, std::tuple<A_wrap_0 const &> in main() 371 , std::tuple<A_base_0 &>, std::tuple<A_base_0 const &> in main() 374 std::tuple<A_int_0>, std::tuple<A_int_0 const> in main() 375 , std::tuple<A_int_0 *>, std::tuple<A_int_0 const *> in main() 376 , std::tuple<A_wrap_0>, std::tuple<A_wrap_0 const> in main() 377 , std::tuple<A_base_0>, std::tuple<A_base_0 const> in main() 388 std::tuple<A_int_1 &, int>, std::tuple<A_int_1 const &, int> in main() 389 , std::tuple<A_int_1 *, int>, std::tuple<A_int_1 const *, int> in main() [all …]
|
/external/libnl/src/lib/ |
D | exp.c | 97 void nl_cli_exp_parse_src(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_src() argument 101 if ((err = nfnl_exp_set_src(exp, tuple, a)) < 0) in nl_cli_exp_parse_src() 106 void nl_cli_exp_parse_dst(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_dst() argument 110 if ((err = nfnl_exp_set_dst(exp, tuple, a)) < 0) in nl_cli_exp_parse_dst() 115 void nl_cli_exp_parse_l4protonum(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_l4protonum() argument 124 nfnl_exp_set_l4protonum(exp, tuple, l4protonum); in nl_cli_exp_parse_l4protonum() 127 void nl_cli_exp_parse_src_port(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_src_port() argument 130 uint16_t dport = nfnl_exp_get_dst_port(exp, tuple); in nl_cli_exp_parse_src_port() 131 nfnl_exp_set_ports(exp, tuple, sport, dport); in nl_cli_exp_parse_src_port() 134 void nl_cli_exp_parse_dst_port(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_dst_port() argument [all …]
|
/external/v8/testing/gmock/test/ |
D | gmock-generated-internal-utils_test.cc | 42 using ::testing::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); in TEST() 56 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST() 57 MatcherTuple<tuple<int> >::type>(); in TEST() 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST() 62 MatcherTuple<tuple<int, char> >::type>(); in TEST() 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, in TEST() 68 MatcherTuple<tuple<int, char, bool, double, char*> in TEST() 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST() 78 CompileAssertTypesEqual<tuple<>, F::ArgumentMatcherTuple>(); in TEST() [all …]
|
/external/google-breakpad/src/testing/test/ |
D | gmock-generated-internal-utils_test.cc | 42 using ::std::tr1::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); in TEST() 56 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST() 57 MatcherTuple<tuple<int> >::type>(); in TEST() 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST() 62 MatcherTuple<tuple<int, char> >::type>(); in TEST() 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, in TEST() 68 MatcherTuple<tuple<int, char, bool, double, char*> in TEST() 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST() 78 CompileAssertTypesEqual<tuple<>, F::ArgumentMatcherTuple>(); in TEST() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock-generated-internal-utils_test.cc | 42 using ::testing::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); in TEST() 56 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST() 57 MatcherTuple<tuple<int> >::type>(); in TEST() 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST() 62 MatcherTuple<tuple<int, char> >::type>(); in TEST() 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, in TEST() 68 MatcherTuple<tuple<int, char, bool, double, char*> in TEST() 77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST() 78 CompileAssertTypesEqual<tuple<>, F::ArgumentMatcherTuple>(); in TEST() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestUtility.java | 48 public String format(NumberFormatTestData tuple) { in format() argument 58 public String toPattern(NumberFormatTestData tuple) { in toPattern() argument 68 public String parse(NumberFormatTestData tuple) { in parse() argument 78 public String parseCurrency(NumberFormatTestData tuple) { in parseCurrency() argument 88 public String select(NumberFormatTestData tuple) { in select() argument 102 private NumberFormatTestData tuple = new NumberFormatTestData(); field in DataDrivenNumberFormatTestUtility 170 tuple = new NumberFormatTestData(); in run() 202 String errorMessage = isPass(tuple); in run() 225 String breaks = tuple.breaks == null ? "" : tuple.breaks; in breaks() 244 tuple.setField(name, Utility.unescape(value)); in setField() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestUtility.java | 47 public String format(NumberFormatTestData tuple) { in format() argument 57 public String toPattern(NumberFormatTestData tuple) { in toPattern() argument 67 public String parse(NumberFormatTestData tuple) { in parse() argument 77 public String parseCurrency(NumberFormatTestData tuple) { in parseCurrency() argument 87 public String select(NumberFormatTestData tuple) { in select() argument 101 private NumberFormatTestData tuple = new NumberFormatTestData(); field in DataDrivenNumberFormatTestUtility 169 tuple = new NumberFormatTestData(); in run() 201 String errorMessage = isPass(tuple); in run() 224 String breaks = tuple.breaks == null ? "" : tuple.breaks; in breaks() 243 tuple.setField(name, Utility.unescape(value)); in setField() [all …]
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 55 #define GTEST_0_TUPLE_(T) tuple<> 56 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 58 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 60 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 62 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ 64 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ 66 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \ 68 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 70 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 55 #define GTEST_0_TUPLE_(T) tuple<> 56 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 58 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 60 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 62 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ 64 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ 66 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \ 68 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 70 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ [all …]
|
/external/google-breakpad/src/testing/gtest/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 …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/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 …]
|