/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 | 5 template<typename ...Types> struct tuple; 7 template<typename Tuple> 13 struct X1<tuple<Head, Tail...> > { 18 struct X1<tuple<Head, Tail&...> > { 23 struct X1<tuple<Head&, Tail&...> > { 27 int check0[X1<tuple<>>::value == 0? 1 : -1]; 28 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 29 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 30 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 31 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'}} 388 template<typename...> struct Tuple {}; 393 typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter packs 'Args1' and 'Args2' that have different lengths (1 vs. 2)}} 397 typedef zip<short, int>::with<unsigned short, unsigned>::type T1; // T1 is Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> 398 typedef Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> T1;
|
example-tuple.cpp | 4 // Example tuple implementation from the variadic templates proposal, 54 template<typename... Values> class tuple; 56 // Basis case: zero-length tuple 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class in inherits:tuple 61 typedef tuple<Tail...> inherited; 64 tuple() { } function in class:tuple 67 // Construct tuple from separate arguments. 68 tuple(typename add_const_reference<Head>::type v function in class:tuple 73 template<typename... VValues> tuple(const tuple<VValues...>& other) function in class:tuple [all...] |
example-bind.cpp | 54 template<typename... Values> class tuple; 56 // Basis case: zero-length tuple 57 template<> class tuple<> { }; class 60 class tuple<Head, Tail...> : private tuple<Tail...> { class in inherits:tuple 61 typedef tuple<Tail...> inherited; 64 tuple() { } function in class:tuple 67 // Construct tuple from separate arguments. 68 tuple(typename add_const_reference<Head>::type v, function in class:tuple 72 // Construct tuple from another tuple. 73 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 | 7 template<class ...> struct Tuple { }; 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<>()); 14 float &fr1 = g(Tuple<int, float>()); 15 double &dr1 = g(Tuple<int, float&>()); 16 double &dr2 = g(Tuple<int>());
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.creation/ |
forward_as_tuple.pass.cpp | 10 // <tuple> 13 // tuple<Types&&...> forward_as_tuple(Types&&... t); 15 #include <tuple> 18 template <class Tuple> 20 test0(const Tuple& t) 22 static_assert(std::tuple_size<Tuple>::value == 0, ""); 25 template <class Tuple> 27 test1a(const Tuple& t) 29 static_assert(std::tuple_size<Tuple>::value == 1, ""); 30 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, "") [all...] |
/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/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/libvpx/libvpx/third_party/googletest/src/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/open-vcdiff/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() : f0_() {} function 190 tuple(const tuple& t) : f0_(t.f0_) {} function 218 tuple() : f0_(), f1_() {} 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() : f0_(), f1_(), f2_() {} function 266 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 298 tuple() : f0_(), f1_(), f2_(), f3_() {} function 304 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 339 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 345 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 383 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 390 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 430 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 437 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 479 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 487 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 531 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} 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() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 594 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/llvm/tools/llvm-jitlistener/ |
llvm-jitlistener.cpp | 138 Triple Tuple(TheModule->getTargetTriple()); 139 if (Tuple.getTriple().empty()) 140 Tuple.setTriple(sys::getProcessTriple()); 142 if (Tuple.isOSWindows() && Triple::ELF != Tuple.getEnvironment()) { 143 Tuple.setEnvironment(Triple::ELF); 144 TheModule->setTargetTriple(Tuple.getTriple());
|
/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/openfst/src/include/fst/ |
encode.h | 54 // stores both the Tuple of encode labels and weights to a unique 62 struct Tuple { 63 Tuple() {} 64 Tuple(Label ilabel_, Label olabel_, Weight weight_) 66 Tuple(const Tuple& tuple) 67 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) { 224 const Tuple* tuple = encode_tuples_[i]; local 264 Tuple* tuple = new Tuple(); local 448 const typename EncodeTable<A>::Tuple* tuple = table_->Decode(arc.ilabel); local [all...] |
state-table.h | 48 // // Lookup state ID by tuple. If it doesn't exist, then add it. 50 // // Lookup state tuple by state ID. 51 // const StateTuple<StateId> &Tuple(StateId) const; 56 // A state tuple has the form: 68 // An implementation using a hash map for the tuple to state ID mapping. 69 // The state tuple T must have == defined. H is the hash function. 85 StateId FindState(const StateTuple &tuple) { return FindId(tuple); } 86 const StateTuple &Tuple(StateId s) const { return FindEntry(s); } 90 // An implementation using a hash map for the tuple to state ID mapping [all...] |
replace.h | 66 // // Lookup state ID by tuple. If it doesn't exist, then add it. 67 // StateId FindState(const StateTuple &tuple); 69 // // Lookup state tuple by ID. 70 // const StateTuple &Tuple(StateId id) const; 75 // \brief Tuple of information that uniquely defines a state in replace 109 bool operator()(const ReplaceStateTuple<S, P> &tuple) const { 110 return tuple.prefix_id == 0; 123 uint64 operator()(const ReplaceStateTuple<S, P> &tuple) const { 124 return tuple.prefix_id * (cumulative_size_array_->back()) + 125 cumulative_size_array_->at(tuple.fst_id - 1) 499 const StateTuple& tuple = state_table_->Tuple(s); local 519 StateTuple tuple = state_table_->Tuple(s); local 557 StateTuple tuple = state_table_->Tuple(s); local 594 StateTuple tuple = state_table_->Tuple(s); local 638 StateTuple tuple = state_table_->Tuple(s); 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/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/libvpx/libvpx/third_party/googletest/src/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...] |
/external/openfst/src/include/fst/extensions/pdt/ |
expand.h | 130 StateTuple tuple(s, 0); 131 StateId start = state_table_->FindState(tuple); 139 const StateTuple &tuple = state_table_->Tuple(s); local 140 Weight w = fst_->Final(tuple.state_id); 141 if (w != Weight::Zero() && tuple.stack_id == 0) 177 StateTuple tuple = state_table_->Tuple(s); local 178 for (ArcIterator< Fst<A> > aiter(*fst_, tuple.state_id); 181 StackId stack_id = stack_->Find(tuple.stack_id, arc.ilabel) [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...] |