/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
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, float> *' with an lvalue of type 'Tuple<int, char> *'}} 9 Tuple<int, float, double> *t3;
|
partial-ordering.cpp | 4 template<typename ...Types> struct tuple; 6 template<typename Tuple> 12 struct X1<tuple<Head, Tail...> > { 17 struct X1<tuple<Head, Tail&...> > { 22 struct X1<tuple<Head&, Tail&...> > { 26 int check0[X1<tuple<>>::value == 0? 1 : -1]; 27 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 28 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 29 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 30 int check4[X1<tuple<int&, int&>>::value == 3? 1 : -1] [all...] |
p5.cpp | 4 template<typename ...> struct tuple; 25 typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains parameter packs 'Types' and 'OtherTypes' that have different lengths (3 vs. 2)}} 31 tuple<pair<int, unsigned int>, pair<long, unsigned long> >*il_pairs_2 = il_pairs; 159 typedef tuple<typename Meta<T>::type> type; // expected-error{{declaration type contains unexpanded parameter pack 'Meta'}} 373 template<typename...> struct Tuple {}; 378 typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter packs 'Args1' and 'Args2' that have different lengths (1 vs. 2)}} 382 typedef zip<short, int>::with<unsigned short, unsigned>::type T1; // T1 is Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> 383 typedef Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> T1;
|
example-tuple.cpp | 3 // Example tuple implementation from the variadic templates proposal, 53 template<typename... Values> class tuple; 55 // Basis case: zero-length tuple 56 template<> class tuple<> { }; class 59 class tuple<Head, Tail...> : private tuple<Tail...> { class in inherits:tuple 60 typedef tuple<Tail...> inherited; 63 tuple() { } function in class:tuple 66 // Construct tuple from separate arguments. 67 tuple(typename add_const_reference<Head>::type v function in class:tuple 72 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple [all...] |
example-bind.cpp | 53 template<typename... Values> class tuple; 55 // Basis case: zero-length tuple 56 template<> class tuple<> { }; class 59 class tuple<Head, Tail...> : private tuple<Tail...> { class in inherits:tuple 60 typedef tuple<Tail...> inherited; 63 tuple() { } function in class:tuple 66 // Construct tuple from separate arguments. 67 tuple(typename add_const_reference<Head>::type v, function in class:tuple 71 // Construct tuple from another tuple. 72 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.partial/ |
p12.cpp | 6 template<class ...> struct Tuple { }; 7 template<class ... Types> int &g(Tuple<Types ...>); // #1 8 template<class T1, class ... Types> float &g(Tuple<T1, Types ...>); // #2 9 template<class T1, class ... Types> double &g(Tuple<T1, Types& ...>); // #3 12 int &ir1 = g(Tuple<>()); 13 float &fr1 = g(Tuple<int, float>()); 14 double &dr1 = g(Tuple<int, float&>()); 15 double &dr2 = g(Tuple<int>());
|
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-tuple.h | 34 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 42 // tuple template as a friend (it complains that tuple is redefined). This 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 54 // GTEST_n_TUPLE_(T) is the type of an n-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, 175 class tuple<> { class in namespace:std::tr1 177 tuple() {} function in class:std::tr1::tuple 178 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 187 tuple() : f0_() {} function 191 tuple(const tuple& t) : f0_(t.f0_) {} function 219 tuple() : f0_(), f1_() {} function 224 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 229 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 262 tuple() : f0_(), f1_(), f2_() {} function 267 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 299 tuple() : f0_(), f1_(), f2_(), f3_() {} function 305 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 340 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 346 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 384 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 391 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 431 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 438 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 480 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 488 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 532 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function 540 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 582 class tuple { class in namespace:std::tr1 586 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 595 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-tuple.h | 34 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 42 // tuple template as a friend (it complains that tuple is redefined). This 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 54 // GTEST_n_TUPLE_(T) is the type of an n-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, 175 class tuple<> { class in namespace:std::tr1 177 tuple() {} function in class:std::tr1::tuple 178 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 187 tuple() : f0_() {} function 191 tuple(const tuple& t) : f0_(t.f0_) {} function 219 tuple() : f0_(), f1_() {} function 224 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 229 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 262 tuple() : f0_(), f1_(), f2_() {} function 267 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 299 tuple() : f0_(), f1_(), f2_(), f3_() {} function 305 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 340 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 346 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 384 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 391 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 431 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 438 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 480 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 488 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 532 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function 540 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 582 class tuple { class in namespace:std::tr1 586 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 595 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-tuple.h | 34 // Implements a subset of TR1 tuple needed by Google Test and Google Mock. 42 // tuple template as a friend (it complains that tuple is redefined). This 49 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 53 // GTEST_n_TUPLE_(T) is the type of an n-tuple. 54 #define GTEST_0_TUPLE_(T) tuple<> 55 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 57 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 59 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 61 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, 174 class tuple<> { class in namespace:std::tr1 176 tuple() {} function in class:std::tr1::tuple 177 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 186 tuple() {} function 190 tuple(const tuple& t) : f0_(t.f0_) {} function 218 tuple() {} function 223 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 228 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 261 tuple() {} function 266 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 298 tuple() {} function 304 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 339 tuple() {} function 345 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 383 tuple() {} function 390 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 430 tuple() {} function 437 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 479 tuple() {} function 487 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 531 tuple() {} function 539 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 581 class tuple { class in namespace:std::tr1 585 tuple() {} function in class:std::tr1::tuple 593 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
encode.h | 39 // stores both the Tuple of encode labels and weights to a unique 47 struct Tuple { 48 Tuple() {} 49 Tuple(Label ilabel_, Label olabel_, Weight weight_) 51 Tuple(const Tuple& tuple) 52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) { 137 const Tuple* tuple = encode_tuples_[i]; local 165 Tuple* tuple = new Tuple(); local 247 const typename EncodeTable<A>::Tuple* tuple = local [all...] |
/external/chromium/testing/gtest/include/gtest/ |
gtest-printers.h | 76 // // Prints the fields of a tuple tersely to a string vector, one 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 484 // Overload for ::std::tr1::tuple. Needed for printing function arguments, 487 // Helper function for printing a tuple. T must be instantiated with 488 // a tuple type. 494 // regardless of whether tr1::tuple is implemented using the 497 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { 502 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { 507 void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-printers.h | 76 // // Prints the fields of a tuple tersely to a string vector, one 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 484 // Overload for ::std::tr1::tuple. Needed for printing function arguments, 487 // Helper function for printing a tuple. T must be instantiated with 488 // a tuple type. 494 // regardless of whether tr1::tuple is implemented using the 497 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { 502 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { 507 void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) [all...] |
/external/chromium/testing/gmock/include/gmock/ |
gmock-generated-matchers.h | 49 // The type of the i-th (0-based) field of Tuple. 50 #define GMOCK_FIELD_TYPE_(Tuple, i) \ 51 typename ::std::tr1::tuple_element<i, Tuple>::type 53 // TupleFields<Tuple, k0, ..., kn> is for selecting fields from a 54 // tuple of type Tuple. It has two members: 56 // type: a tuple type whose i-th field is the ki-th field of Tuple. 57 // GetSelectedFields(t): returns fields k0, ..., and kn of t as a tuple. 59 // For example, in class TupleFields<tuple<bool, char, int>, 2, 0>, we have [all...] |
gmock-matchers.h | 503 // An internal helper class for doing compile-time loop on a tuple's [all...] |
gmock-generated-actions.h | 47 // InvokeHelper<F> knows how to unpack an N-tuple and invoke an N-ary 54 class InvokeHelper<R, ::std::tr1::tuple<> > { 57 static R Invoke(Function function, const ::std::tr1::tuple<>&) { 64 const ::std::tr1::tuple<>&) { 70 class InvokeHelper<R, ::std::tr1::tuple<A1> > { 73 static R Invoke(Function function, const ::std::tr1::tuple<A1>& args) { 81 const ::std::tr1::tuple<A1>& args) { 88 class InvokeHelper<R, ::std::tr1::tuple<A1, A2> > { 91 static R Invoke(Function function, const ::std::tr1::tuple<A1, A2>& args) { 99 const ::std::tr1::tuple<A1, A2>& args) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | 1933 Tuple tuple = TUPLES[i]; local 1980 Tuple tuple = TUPLES[i]; local [all...] |
/external/llvm/utils/TableGen/ |
CodeGenRegisters.cpp | 193 std::vector<Init*> Tuple; 199 Tuple.push_back(DefInit::get(Reg)); 218 // Replace the sub-register list with Tuple. 220 RV.setValue(ListInit::get(Tuple, RegisterRecTy)); 226 // CostPerUse is aggregated from all Tuple members.
|
/external/chromium/testing/gmock/include/gmock/internal/ |
gmock-generated-internal-utils.h | 64 // MatcherTuple<T>::type is a tuple type where each field is a Matcher 65 // for the corresponding field in tuple type T. 66 template <typename Tuple> 70 struct MatcherTuple< ::std::tr1::tuple<> > { 71 typedef ::std::tr1::tuple< > type; 75 struct MatcherTuple< ::std::tr1::tuple<A1> > { 76 typedef ::std::tr1::tuple<Matcher<A1> > type; 80 struct MatcherTuple< ::std::tr1::tuple<A1, A2> > { 81 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type; 85 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3> > [all...] |
/prebuilt/common/jython/ |
jython.jar | |
/prebuilt/common/groovy/ |
groovy-all-1.7.0.jar | |