/external/opencv3/modules/cudev/include/opencv2/cudev/util/detail/ |
D | tuple.hpp | 62 template <class Tuple, int SIZE, template <typename T> class CvtOp> struct ConvertTuple; 64 template <class Tuple, template <typename T> class CvtOp> struct ConvertTuple<Tuple, 2, CvtOp> 67 typename CvtOp<typename tuple_element<0, Tuple>::type>::type, 68 typename CvtOp<typename tuple_element<1, Tuple>::type>::type 72 template <class Tuple, template <typename T> class CvtOp> struct ConvertTuple<Tuple, 3, CvtOp> 75 typename CvtOp<typename tuple_element<0, Tuple>::type>::type, 76 typename CvtOp<typename tuple_element<1, Tuple>::type>::type, 77 typename CvtOp<typename tuple_element<2, Tuple>::type>::type 81 template <class Tuple, template <typename T> class CvtOp> struct ConvertTuple<Tuple, 4, CvtOp> 84 typename CvtOp<typename tuple_element<0, Tuple>::type>::type, [all …]
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
D | types.pass.cpp | 96 template <class Tuple> 102 Tuple t{}; in test_void_0() 109 Tuple t{}; in test_void_0() 117 Tuple t{}; in test_void_0() 125 Tuple t{}; in test_void_0() 132 template <class Tuple> 138 Tuple t{1}; in test_void_1() 145 Tuple t{2}; in test_void_1() 153 Tuple t{3}; in test_void_1() 161 Tuple t{4}; in test_void_1() [all …]
|
D | arg_type.pass.cpp | 33 template <class Tuple> 37 Tuple t{1, 2}; in test_values() 41 Tuple t{2, 2}; in test_values() 45 Tuple t{2, 3}; in test_values() 49 Tuple t{3, 3}; in test_values() 50 assert(6 == ex::apply(call_with_rvalue_ref, static_cast<Tuple &&>(t))); in test_values() 53 Tuple const t{4, 4}; in test_values() 57 Tuple const t{4, 5}; in test_values() 62 template <class Tuple> 69 Tuple t{x, y}; in test_refs() [all …]
|
D | constexpr_types.pass.cpp | 51 template <class Tuple> 56 constexpr Tuple t{}; in test_0() 61 constexpr Tuple t{}; in test_0() 67 constexpr Tuple t{}; in test_0() 73 template <class Tuple> 78 constexpr Tuple t{1}; in test_1() 83 constexpr Tuple t{2}; in test_1() 89 constexpr Tuple t{3}; in test_1() 95 template <class Tuple> 100 constexpr Tuple t{1, 2}; in test_2() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
D | forward_as_tuple.pass.cpp | 21 template <class Tuple> 23 test0(const Tuple& t) in test0() 25 static_assert(std::tuple_size<Tuple>::value == 0, ""); in test0() 28 template <class Tuple> 30 test1a(const Tuple& t) in test1a() 32 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1a() 33 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, ""); in test1a() 37 template <class Tuple> 39 test1b(const Tuple& t) in test1b() 41 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1b() [all …]
|
/external/libcxx/test/std/experimental/utilities/tuple/ |
D | tuple_size_v.pass.cpp | 22 template <class Tuple, int Expect> 25 static_assert(ex::tuple_size_v<Tuple> == Expect, ""); in test() 26 static_assert(ex::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, ""); in test() 27 static_assert(ex::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, ""); in test() 28 static_assert(ex::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, ""); in test() 29 static_assert(ex::tuple_size_v<Tuple const volatile> == std::tuple_size<Tuple>::value, ""); in test()
|
/external/libchrome/base/ |
D | tuple.h | 156 struct Tuple final : TupleBase<Ts...> { 157 Tuple() : TupleBase<Ts...>() {} 158 explicit Tuple(typename TupleTraits<Ts>::ParamType... args) 164 struct Tuple<> final {}; 212 struct TupleTypes<Tuple<Ts...>> { 213 using ValueTuple = Tuple<typename TupleTraits<Ts>::ValueType...>; 214 using RefTuple = Tuple<typename TupleTraits<Ts>::RefType...>; 215 using ParamTuple = Tuple<typename TupleTraits<Ts>::ParamType...>; 224 inline Tuple<Ts...> MakeTuple(const Ts&... arg) { 225 return Tuple<Ts...>(arg...); [all …]
|
D | tuple_unittest.cc | 35 base::Tuple<> t0 = base::MakeTuple(); in TEST() 37 base::Tuple<int> t1(1); in TEST() 38 base::Tuple<int, const char*> t2 = in TEST() 40 base::Tuple<int, int, int> t3(1, 2, 3); in TEST() 41 base::Tuple<int, int, int, int*> t4(1, 2, 3, &get<0>(t1)); in TEST() 42 base::Tuple<int, int, int, int, int*> t5(1, 2, 3, 4, &get<0>(t4)); in TEST() 43 base::Tuple<int, int, int, int, int, int*> t6(1, 2, 3, 4, 5, &get<0>(t4)); in TEST() 114 base::Tuple<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); in TEST()
|
/external/libweave/third_party/chromium/base/ |
D | tuple.h | 156 struct Tuple final : TupleBase<Ts...> { 157 Tuple() : TupleBase<Ts...>() {} 158 explicit Tuple(typename TupleTraits<Ts>::ParamType... args) 164 struct Tuple<> final {}; 212 struct TupleTypes<Tuple<Ts...>> { 213 using ValueTuple = Tuple<typename TupleTraits<Ts>::ValueType...>; 214 using RefTuple = Tuple<typename TupleTraits<Ts>::RefType...>; 215 using ParamTuple = Tuple<typename TupleTraits<Ts>::ParamType...>; 224 inline Tuple<Ts...> MakeTuple(const Ts&... arg) { 225 return Tuple<Ts...>(arg...); [all …]
|
D | tuple_unittest.cc | 36 base::Tuple<> t0 = base::MakeTuple(); in TEST() 38 base::Tuple<int> t1(1); in TEST() 39 base::Tuple<int, const char*> t2 = in TEST() 41 base::Tuple<int, int, int> t3(1, 2, 3); in TEST() 42 base::Tuple<int, int, int, int*> t4(1, 2, 3, &get<0>(t1)); in TEST() 43 base::Tuple<int, int, int, int, int*> t5(1, 2, 3, 4, &get<0>(t4)); in TEST() 44 base::Tuple<int, int, int, int, int, int*> t6(1, 2, 3, 4, 5, &get<0>(t4)); in TEST() 115 base::Tuple<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); in TEST()
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
D | p12.cpp | 7 template<class ...> struct Tuple { }; struct 8 template<class ... Types> int &g(Tuple<Types ...>); // #1 9 template<class T1, class ... Types> float &g(Tuple<T1, Types ...>); // #2 10 template<class T1, class ... Types> double &g(Tuple<T1, Types& ...>); // #3 13 int &ir1 = g(Tuple<>()); in test_g() 14 float &fr1 = g(Tuple<int, float>()); in test_g() 15 double &dr1 = g(Tuple<int, float&>()); in test_g() 16 double &dr2 = g(Tuple<int>()); in test_g()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | UTypes.pass.cpp | 45 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 48 Tuple, in test_default_constructible_extension_sfinae() 53 Tuple, in test_default_constructible_extension_sfinae() 58 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 61 Tuple, in test_default_constructible_extension_sfinae() 66 Tuple, in test_default_constructible_extension_sfinae() 72 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 73 typedef std::tuple<MoveOnly, Tuple, MoveOnly, MoveOnly> NestedTuple; in test_default_constructible_extension_sfinae() 82 MoveOnly, Tuple, MoveOnly, MoveOnly in test_default_constructible_extension_sfinae() 86 typedef std::tuple<MoveOnly, int> Tuple; in test_default_constructible_extension_sfinae() typedef [all …]
|
D | alloc_UTypes.pass.cpp | 36 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 39 Tuple, in test_default_constructible_extension_sfinae() 44 Tuple, in test_default_constructible_extension_sfinae() 49 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 52 Tuple, in test_default_constructible_extension_sfinae() 57 Tuple, in test_default_constructible_extension_sfinae() 63 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() typedef 64 typedef std::tuple<MoveOnly, Tuple, MoveOnly, MoveOnly> NestedTuple; in test_default_constructible_extension_sfinae() 73 std::allocator_arg_t, A1<int>, MoveOnly, Tuple, MoveOnly, MoveOnly in test_default_constructible_extension_sfinae() 77 typedef std::tuple<MoveOnly, int> Tuple; in test_default_constructible_extension_sfinae() typedef [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 139 template <bool kIndexValid, int kIndex, class Tuple> 708 template <typename Tuple> struct tuple_size; 743 template <int k, class Tuple> 746 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 758 template <class Tuple> 759 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 760 Field(Tuple& t) { return t.f0_; } // NOLINT 762 template <class Tuple> 763 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 139 template <bool kIndexValid, int kIndex, class Tuple> 708 template <typename Tuple> struct tuple_size; 743 template <int k, class Tuple> 746 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 758 template <class Tuple> 759 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 760 Field(Tuple& t) { return t.f0_; } // NOLINT 762 template <class Tuple> 763 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 139 template <bool kIndexValid, int kIndex, class Tuple> 708 template <typename Tuple> struct tuple_size; 743 template <int k, class Tuple> 746 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 758 template <class Tuple> 759 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 760 Field(Tuple& t) { return t.f0_; } // NOLINT 762 template <class Tuple> 763 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 141 template <bool kIndexValid, int kIndex, class Tuple> 730 template <typename Tuple> struct tuple_size; 787 template <int k, class Tuple> 790 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 793 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 802 template <class Tuple> 803 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 804 Field(Tuple& t) { return t.f0_; } // NOLINT 806 template <class Tuple> 807 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 141 template <bool kIndexValid, int kIndex, class Tuple> 730 template <typename Tuple> struct tuple_size; 787 template <int k, class Tuple> 790 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 793 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 802 template <class Tuple> 803 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 804 Field(Tuple& t) { return t.f0_; } // NOLINT 806 template <class Tuple> 807 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
D | gtest-tuple.h | 141 template <bool kIndexValid, int kIndex, class Tuple> 730 template <typename Tuple> struct tuple_size; 787 template <int k, class Tuple> 790 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 793 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 802 template <class Tuple> 803 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 804 Field(Tuple& t) { return t.f0_; } // NOLINT 806 template <class Tuple> 807 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | p1.cpp | 3 template<class ...Types> struct Tuple; 5 Tuple<> *t0; 6 Tuple<int> *t1; 7 Tuple<int, char> *t2a; 8 Tuple<int, float> *t2b = t2a; // expected-error{{cannot initialize a variable of type 'Tuple<int, f… 9 Tuple<int, float, double> *t3;
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
D | is_nothrow_constructible.pass.cpp | 80 struct Tuple { struct 81 Tuple(Empty&&) noexcept {} in Tuple() function 92 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616. in main() 100 static_assert(!std::is_constructible<Tuple&, Empty>::value, ""); in main() 101 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616. in main()
|
/external/llvm/tools/llvm-jitlistener/ |
D | llvm-jitlistener.cpp | 130 Triple Tuple(TheModule->getTargetTriple()); in InitEE() local 131 if (Tuple.getTriple().empty()) in InitEE() 132 Tuple.setTriple(sys::getProcessTriple()); in InitEE() 134 if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) { in InitEE() 135 Tuple.setObjectFormat(Triple::ELF); in InitEE() 136 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-printers.h | 714 template <typename Tuple> 715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { in PrintPrefixTo() 718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> in PrintPrefixTo() 724 template <typename Tuple> 725 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { in TersePrintPrefixToStrings() 736 template <typename Tuple> 737 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} 739 template <typename Tuple> 740 static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} 749 template <typename Tuple> [all …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest-printers.h | 717 template <typename Tuple> 718 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { in PrintPrefixTo() 721 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> in PrintPrefixTo() 727 template <typename Tuple> 728 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { in TersePrintPrefixToStrings() 739 template <typename Tuple> 740 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} 742 template <typename Tuple> 743 static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} 752 template <typename Tuple> [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 714 template <typename Tuple> 715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { in PrintPrefixTo() 718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> in PrintPrefixTo() 724 template <typename Tuple> 725 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { in TersePrintPrefixToStrings() 736 template <typename Tuple> 737 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} 739 template <typename Tuple> 740 static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} 749 template <typename Tuple> [all …]
|