/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/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/protobuf/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 138 template <bool kIndexValid, int kIndex, class Tuple> 706 template <typename Tuple> struct tuple_size; 741 template <int k, class Tuple> 744 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 747 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 756 template <class Tuple> 757 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 758 Field(Tuple& t) { return t.f0_; } // NOLINT 760 template <class Tuple> 761 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
D | gtest-tuple.h.pump | 114 template <bool kIndexValid, int kIndex, class Tuple> 197 // 6.1.3.2 Tuple creation functions. 215 // 6.1.3.3 Tuple helper classes. 217 template <typename Tuple> struct tuple_size; 226 template <int k, class Tuple> 229 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 232 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 243 template <class Tuple> 244 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_($i, Tuple)) 245 Field(Tuple& t) { return t.f$(i)_; } // NOLINT [all …]
|
/external/chromium_org/third_party/mesa/src/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 …]
|
D | gtest-tuple.h.pump | 115 template <bool kIndexValid, int kIndex, class Tuple> 198 // 6.1.3.2 Tuple creation functions. 216 // 6.1.3.3 Tuple helper classes. 218 template <typename Tuple> struct tuple_size; 227 template <int k, class Tuple> 230 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 233 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 244 template <class Tuple> 245 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_($i, Tuple)) 246 Field(Tuple& t) { return t.f$(i)_; } // NOLINT [all …]
|
/external/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/chromium/testing/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 …]
|
D | gtest-tuple.h.pump | 115 template <bool kIndexValid, int kIndex, class Tuple> 198 // 6.1.3.2 Tuple creation functions. 216 // 6.1.3.3 Tuple helper classes. 218 template <typename Tuple> struct tuple_size; 227 template <int k, class Tuple> 230 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 233 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 244 template <class Tuple> 245 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_($i, Tuple)) 246 Field(Tuple& t) { return t.f$(i)_; } // NOLINT [all …]
|
/external/chromium_org/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 …]
|
D | gtest-tuple.h.pump | 115 template <bool kIndexValid, int kIndex, class Tuple> 199 // 6.1.3.2 Tuple creation functions. 217 // 6.1.3.3 Tuple helper classes. 219 template <typename Tuple> struct tuple_size; 230 template <int k, class Tuple> 233 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 236 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 247 template <class Tuple> 248 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_($i, Tuple)) 249 Field(Tuple& t) { return t.f$(i)_; } // NOLINT [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 …]
|
D | gtest-tuple.h.pump | 115 template <bool kIndexValid, int kIndex, class Tuple> 198 // 6.1.3.2 Tuple creation functions. 216 // 6.1.3.3 Tuple helper classes. 218 template <typename Tuple> struct tuple_size; 227 template <int k, class Tuple> 230 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 233 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 244 template <class Tuple> 245 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_($i, Tuple)) 246 Field(Tuple& t) { return t.f$(i)_; } // NOLINT [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/open-vcdiff/gtest/include/gtest/internal/ |
D | gtest-tuple.h | 138 template <bool kIndexValid, int kIndex, class Tuple> 707 template <typename Tuple> struct tuple_size; 742 template <int k, class Tuple> 745 k < (tuple_size<Tuple>::value), k, Tuple>::type type; 748 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 757 template <class Tuple> 758 static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) 759 Field(Tuple& t) { return t.f0_; } // NOLINT 761 template <class Tuple> 762 static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) [all …]
|
/external/llvm/tools/llvm-jitlistener/ |
D | llvm-jitlistener.cpp | 138 Triple Tuple(TheModule->getTargetTriple()); in InitEE() local 139 if (Tuple.getTriple().empty()) in InitEE() 140 Tuple.setTriple(sys::getProcessTriple()); in InitEE() 142 if (Tuple.isOSWindows() && Triple::ELF != Tuple.getEnvironment()) { in InitEE() 143 Tuple.setEnvironment(Triple::ELF); in InitEE() 144 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | encode.h | 47 struct Tuple { struct 48 Tuple() {} in Tuple() argument 49 Tuple(Label ilabel_, Label olabel_, Weight weight_) in Tuple() function 51 Tuple(const Tuple& tuple) in Tuple() function 62 bool operator()(const Tuple* x, const Tuple* y) const { in operator() 83 size_t operator()(const Tuple* x) const { in operator() 96 typedef hash_map<const Tuple*, 113 const Tuple tuple(arc.ilabel, in Encode() 118 encode_tuples_.push_back(new Tuple(tuple)); in Encode() 127 const Tuple* Decode(Label key) { in Decode() [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 …]
|
/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/chromium/testing/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/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/chromium_org/third_party/mesa/src/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/chromium/testing/gmock/include/gmock/ |
D | gmock-generated-matchers.h | 50 #define GMOCK_FIELD_TYPE_(Tuple, i) \ argument 51 typename ::std::tr1::tuple_element<i, Tuple>::type 64 template <class Tuple, int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, 70 template <class Tuple, int k0, int k1, int k2, int k3, int k4, int k5, int k6, 74 typedef ::std::tr1::tuple<GMOCK_FIELD_TYPE_(Tuple, k0), 75 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2), 76 GMOCK_FIELD_TYPE_(Tuple, k3), GMOCK_FIELD_TYPE_(Tuple, k4), 77 GMOCK_FIELD_TYPE_(Tuple, k5), GMOCK_FIELD_TYPE_(Tuple, k6), 78 GMOCK_FIELD_TYPE_(Tuple, k7), GMOCK_FIELD_TYPE_(Tuple, k8), 79 GMOCK_FIELD_TYPE_(Tuple, k9)> type; [all …]
|
/external/openfst/src/include/fst/ |
D | encode.h | 62 struct Tuple { struct 63 Tuple() {} in Tuple() argument 64 Tuple(Label ilabel_, Label olabel_, Weight weight_) in Tuple() function 66 Tuple(const Tuple& tuple) in Tuple() argument 77 bool operator()(const Tuple* x, const Tuple* y) const { in operator() 97 size_t operator()(const Tuple* x) const { in operator() 112 typedef unordered_map<const Tuple*, 132 const Tuple tuple(arc.ilabel, in Encode() 137 encode_tuples_.push_back(new Tuple(tuple)); in Encode() 147 const Tuple tuple(arc.ilabel, in GetLabel() [all …]
|
/external/chromium_org/testing/gtest/include/gtest/ |
D | gtest-printers.h | 773 template <typename Tuple> 774 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { in PrintPrefixTo() 777 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> in PrintPrefixTo() 783 template <typename Tuple> 784 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { in TersePrintPrefixToStrings() 795 template <typename Tuple> 796 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} 798 template <typename Tuple> 799 static void TersePrintPrefixToStrings(const Tuple&, Strings*) {} 808 template <typename Tuple> [all …]
|