/external/clang/test/Index/ |
H A D | usrs-cxx0x.cpp | 2 struct tuple { }; struct 4 void f(tuple<int, float, double>); 7 // CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17] 8 // CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
|
/external/clang/test/Parser/ |
H A D | PR11000.cpp | 4 class tuple<> class 7 tuple(allocator_arg_t, const _Alloc&) {} function in class:tuple
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p2-0x.cpp | 9 template<typename ...> struct tuple; 17 struct same_tuple<tuple<Types1...>, tuple<Types1...> > { 21 int same_tuple_check1[same_tuple<tuple<int, float>, tuple<int, double>>::value? -1 : 1]; 22 int same_tuple_check2[same_tuple<tuple<float, double>, tuple<float, double>>::value? 1 : -1];
|
H A D | 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/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | 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(typenam function in class:tuple 72 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple 185 get(const tuple<Head, Values...>& t) argument 194 get(const tuple<Head, Values...>& t) argument 219 operator ==(const tuple<&, const tuple<>&) argument 222 operator ==(const tuple<T, TTail...>& t, const tuple<U, UTail...>& u) argument 231 operator <(const tuple<&, const tuple<>&) argument 234 operator <(const tuple<T, TTail...>& t, const tuple<U, UTail...>& u) argument [all...] |
H A D | partial-ordering.cpp | 4 template<typename ...Types> struct 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];
|
H A D | 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 fro 72 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple 142 get(const tuple<Head, Values...>& t) argument 151 get(const tuple<Head, Values...>& t) argument 167 operator ==(const tuple<&, const tuple<>&) argument 170 operator ==(const tuple<T, TTail...>& t, const tuple<U, UTail...>& u) argument 179 operator <(const tuple<&, const tuple<>&) argument 182 operator <(const tuple<T, TTail...>& t, const tuple<U, UTail...>& u) argument 282 mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&) argument 315 mu(Bound& bound_arg, const tuple<Args&...>&) argument [all...] |
H A D | multi-level-substitution.cpp | 4 template<typename...> struct tuple { }; struct 38 struct Inner<tuple<pair<Types, YTypes>...> > { 43 int check0[X<short, int, long>::Inner<tuple<pair<short, unsigned short>, 48 int check1[X<short, int>::Inner<tuple<pair<short, unsigned short>, 61 struct Inner<tuple<pair<Types, YTypes>...>, 67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>, 74 int check3[X1<short, int>::Inner<tuple<pair<short, unsigned short>, 119 struct Inner<tuple<pair<Types1, Types2>...>, 125 int check6[X3<short, int, long>::Inner<tuple<pair<short, unsigned short>, 133 int check7[X3<short, int>::Inner<tuple<pai [all...] |
H A D | parameter-matching.cpp | 31 template<typename ...> struct tuple { }; struct in namespace:rdar8859985 37 X(tuple<Args1...>, int_tuple<Indices1...>); 42 X<T>::X(tuple<Args1...>, int_tuple<Indices1...>) {}
|
H A D | p4.cpp | 3 template<typename... Types> struct tuple; 96 typedef tuple<Types& ...> types; 99 tuple<int&, float&> *t_int_ref_float_ref; 104 typedef tuple<typename Types::type...> types; 107 tuple<int, float> *t_int_float; 113 typedef tuple<int_c<N>...> type; 117 tuple<int_c<1>, int_c<2>, int_c<3>, int_c<4>,
|
H A D | metafunctions.cpp | 15 template<typename...> struct tuple { }; struct 65 int check0[is_same<EverythingToInt<tuple<double, float>>::type, 66 tuple<int, int>>::value? 1 : -1]; 173 typedef tuple<typename Meta<T>::type...> type; 193 tuple<int&, int*, int const>>::value? 1 : -1]; 202 tuple<int&, int*, int const>>::value? 1 : -1]; 232 tuple<int&, int*, int const>>::value? 1 : -1]; 271 int check0[is_same<replace_with_int<pair<tuple<float, double, short>, 273 pair<tuple<int, int, int>, pair<int, int>>>::value? 1 : -1];
|
/external/chromium/testing/gtest/test/ |
H A D | gtest-tuple_test.cc | 32 #include "gtest/internal/gtest-tuple.h" 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<cha [all...] |
/external/protobuf/gtest/test/ |
H A D | gtest-tuple_test.cc | 32 #include <gtest/internal/gtest-tuple.h> 40 using ::std::tr1::tuple; 45 // Tests that tuple_element<K, tuple<T0, T1, ..., TN> >::type returns TK. 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<cha [all...] |
/external/chromium/testing/gmock/test/ |
H A D | gmock-generated-internal-utils_test.cc | 42 using ::std::tr1::tuple; 52 CompileAssertTypesEqual<tuple<>, MatcherTuple<tuple<> >::type>(); 56 CompileAssertTypesEqual<tuple<Matcher<int> >, 57 MatcherTuple<tuple<int> >::type>(); 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, 62 MatcherTuple<tuple<int, char> >::type>(); 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, 68 MatcherTuple<tuple<int, char, bool, double, char*> 77 CompileAssertTypesEqual<tuple<>, [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p14.cpp | 4 template<typename ...Types> struct tuple; 26 typedef tuple<T(Types, ...)...> template_arg_expansion_1;
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
H A D | ip_conntrack_tuple.h | 7 /* A `tuple' is a structure containing the information to uniquely 8 identify a connection. ie. if two packets have the same tuple, they 15 /* The protocol-specific manipulable parts of the tuple: always in 39 /* The manipulable part of the tuple. */ 51 /* These are the parts of the tuple which are fixed. */ 86 #define IP_CT_TUPLE_U_BLANK(tuple) \ 88 (tuple)->src.u.all = 0; \ 89 (tuple)->dst.u.all = 0; \ 95 DEBUGP("tuple %p: %u %u.%u.%u.%u:%hu -> %u.%u.%u.%u:%hu\n", \ 100 /* If we're the first tuple, i 108 struct ip_conntrack_tuple tuple; member in struct:ip_conntrack_tuple_hash 134 ip_ct_tuple_mask_cmp(const struct ip_conntrack_tuple *t, const struct ip_conntrack_tuple *tuple, const struct ip_conntrack_tuple *mask) argument [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
H A D | 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< 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/clang/test/CodeGenCXX/ |
H A D | mangle-variadic-templates.cpp | 8 template<typename ...Types> struct tuple { }; struct 49 template<typename ...Types> tuple<Types...> f4() {} 51 template tuple<int, float, double> f4();
|
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | 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< 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/ |
H A D | 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< 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/chromium/testing/gmock/include/gmock/internal/ |
H A D | 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. 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> > { 86 typedef ::std::tr1::tuple<Matche [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/ |
H A D | p9-0x.cpp | 47 struct tuple { }; struct 50 void accept_tuple(tuple<Types...>); 52 void test_explicit_spec_extension_targs(tuple<int, float, double> t3) {
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | encode.h | 51 Tuple(const Tuple& tuple) argument 52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {} 113 const Tuple tuple(arc.ilabel, 116 typename EncodeHash::const_iterator it = encode_hash_.find(&tuple); 118 encode_tuples_.push_back(new Tuple(tuple)); 137 const Tuple* tuple = encode_tuples_[i]; local 138 WriteType(strm, tuple->ilabel); 139 WriteType(strm, tuple 165 Tuple* tuple = new Tuple(); local 247 const typename EncodeTable<A>::Tuple* tuple = local [all...] |
H A D | replace.h | 242 const StateTuple& tuple = state_tuples_[s]; local 243 const StackPrefix& stack = stackprefix_array_[tuple.prefix_id]; 244 const Fst<A>* fst = fst_array_[tuple.fst_id]; 245 StateId fst_state = tuple.fst_state; 283 StateId FindState(const StateTuple& tuple) { argument 284 typename StateTupleHash::iterator it = state_hash_.find(tuple); 287 state_tuples_.push_back(tuple); 288 state_hash_[tuple] = new_state_id; 297 StateTuple tuple = state_tuples_[s]; local 298 const Fst<A>* fst = fst_array_[tuple [all...] |
/external/chromium/base/ |
H A D | tuple_unittest.cc | 5 #include "base/tuple.h" 109 // Creating the tuple should copy the class to store internally in the tuple. 110 Tuple3<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); 111 tuple.b = &tuple.a; 117 DispatchToFunction(&SomeLoggerMethRef, tuple); 124 DispatchToFunction(&SomeLoggerMethCopy, tuple);
|