/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
H A 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<>()); 14 float &fr1 = g(Tuple<int, float>()); 15 double &dr1 = g(Tuple<int, float&>()); 16 double &dr2 = g(Tuple<int>());
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | disable_reduced_arity_initialization_extension.pass.cpp | 45 typedef std::tuple<MO, ND> Tuple; typedef 46 static_assert(!std::is_constructible<Tuple, MO>::value, ""); 47 static_assert(std::is_constructible<Tuple, MO, ND>::value, ""); 48 static_assert(test_convertible<Tuple, MO, ND>(), ""); 51 typedef std::tuple<MO, MO, ND> Tuple; typedef 52 static_assert(!std::is_constructible<Tuple, MO, MO>::value, ""); 53 static_assert(std::is_constructible<Tuple, MO, MO, ND>::value, ""); 54 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 58 typedef std::tuple<MO, ND> Tuple; typedef 59 typedef std::tuple<MO, Tuple, M [all...] |
H A D | enable_reduced_arity_initialization_extension.pass.cpp | 44 typedef std::tuple<MO, ND> Tuple; typedef 45 static_assert(!std::is_constructible<Tuple, MO>::value, ""); 46 static_assert(std::is_constructible<Tuple, MO, ND>::value, ""); 47 static_assert(test_convertible<Tuple, MO, ND>(), ""); 50 typedef std::tuple<MO, MO, ND> Tuple; typedef 51 static_assert(!std::is_constructible<Tuple, MO, MO>::value, ""); 52 static_assert(std::is_constructible<Tuple, MO, MO, ND>::value, ""); 53 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 57 typedef std::tuple<MO, ND> Tuple; typedef 58 typedef std::tuple<MO, Tuple, M 66 typedef std::tuple<MO, int> Tuple; typedef [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | UTypes.pass.cpp | 47 typedef std::tuple<MoveOnly, NoDefault> Tuple; typedef 50 Tuple, 55 Tuple, 60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; typedef 63 Tuple, 68 Tuple, 74 typedef std::tuple<MoveOnly, NoDefault> Tuple; typedef 75 typedef std::tuple<MoveOnly, Tuple, MoveOnly, MoveOnly> NestedTuple; 84 MoveOnly, Tuple, MoveOnly, MoveOnly 90 typedef std::tuple<MoveOnly, int> Tuple; typedef [all...] |
H A D | alloc_UTypes.pass.cpp | 49 typedef std::tuple<MoveOnly, MoveOnly, BadDefault> Tuple; typedef 52 Tuple, 57 Tuple, 62 typedef std::tuple<MoveOnly, MoveOnly, BadDefault, BadDefault> Tuple; typedef 65 Tuple, 70 Tuple,
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
H A D | forward_as_tuple.pass.cpp | 23 template <class Tuple> 25 test0(const Tuple&) argument 27 static_assert(std::tuple_size<Tuple>::value == 0, ""); 30 template <class Tuple> 32 test1a(const Tuple& t) 34 static_assert(std::tuple_size<Tuple>::value == 1, ""); 35 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, ""); 39 template <class Tuple> 41 test1b(const Tuple& t) 43 static_assert(std::tuple_size<Tuple> 62 test3(const Tuple&) argument [all...] |
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
H A D | is_nothrow_constructible.pass.cpp | 96 struct Tuple { struct 97 Tuple(Empty&&) noexcept {} 113 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616. 115 static_assert(!std::is_constructible<Tuple&, Empty>::value, ""); 116 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616.
|
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerFnAdapter.h | 112 UnpackImpl(const uint8_t *Data, size_t Size, TupleT *Tuple) { argument 119 UnpackImpl(const uint8_t *Data, size_t Size, TupleT *Tuple) { 120 size_t NewSize = UnpackSingle(Data, Size, &std::get<N>(*Tuple)); 125 return UnpackImpl<N + 1, TupleT>(Data + (Size - NewSize), NewSize, Tuple); 130 bool Unpack(const uint8_t *Data, size_t Size, std::tuple<Args...> *Tuple) { 131 return UnpackImpl<0, std::tuple<Args...>>(Data, Size, Tuple); 171 typename FnTraits<Fn>::ArgsTupleT Tuple; 172 if (!Unpack(Data, Size, &Tuple)) 175 Apply(F, Tuple);
|
/external/llvm/lib/Fuzzer/test/ |
H A D | FuzzerFnAdapterUnittest.cpp | 12 bool Unpack(std::tuple<Args...> *Tuple, std::initializer_list<uint8_t> data) { argument 14 return Unpack(V.data(), V.size(), Tuple);
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorSyclTuple.h | 35 /// \struct Tuple 40 struct Tuple {}; struct in namespace:utility::tuple 42 /// \brief specialisation of the \ref Tuple class when the tuple has at least 47 struct Tuple<T, Ts...> { struct in namespace:utility::tuple 48 Tuple(T t, Ts... ts) : head(t), tail(ts...) {} function in struct:utility::tuple::Tuple 50 Tuple<Ts...> tail; 64 struct ElemTypeHolder<0, Tuple<T, Ts...> > { 75 struct ElemTypeHolder<k, Tuple<T, Ts...> > { 76 typedef typename ElemTypeHolder<k - 1, Tuple<Ts...> >::type type; 84 /// \return typename ElemTypeHolder<0, Tuple<T [all...] |
H A D | TensorMeta.h | 109 // Tuple mimics std::pair but works on e.g. nvcc. 110 template <typename U, typename V> struct Tuple { struct in namespace:Eigen 119 Tuple() : first(), second() {} function in struct:Eigen::Tuple 122 Tuple(const U& f, const V& s) : first(f), second(s) {} function in struct:Eigen::Tuple 125 Tuple& operator= (const Tuple& rhs) { 133 void swap(Tuple& rhs) { 142 bool operator==(const Tuple<U, V>& x, const Tuple<U, V>& y) { argument 148 bool operator!=(const Tuple< argument [all...] |
/external/google-breakpad/src/testing/gtest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 717 template <typename Tuple> 718 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { 721 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> 727 template <typename Tuple> 728 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { 739 template <typename Tuple> 740 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} argument 742 template <typename Tuple> 743 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/libmojo/ipc/ |
H A D | ipc_message_utils.h | 85 typedef std::tuple<Ts...> Tuple; typedef in struct:IPC::CheckedTuple
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 714 template <typename Tuple> 715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { 718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> 724 template <typename Tuple> 725 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { 736 template <typename Tuple> 737 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} argument 739 template <typename Tuple> 740 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 714 template <typename Tuple> 715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { 718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> 724 template <typename Tuple> 725 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { 736 template <typename Tuple> 737 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} argument 739 template <typename Tuple> 740 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 714 template <typename Tuple> 715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { 718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> 724 template <typename Tuple> 725 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { 736 template <typename Tuple> 737 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} argument 739 template <typename Tuple> 740 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 773 template <typename Tuple> 774 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { 777 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> 783 template <typename Tuple> 784 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { 795 template <typename Tuple> 796 static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} argument 798 template <typename Tuple> 799 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | EHScopeStack.h | 217 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {} argument 281 /// Push a lazily-created cleanup on the stack. Tuple version.
|
/external/googletest/googletest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 874 typedef TupleT Tuple; typedef in struct:testing::internal::TuplePolicy 875 static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; 878 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; 882 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( 883 const Tuple& tuple) { 894 typedef ::std::tuple<Types...> Tuple; typedef in struct:testing::internal::TuplePolicy 895 static const size_t tuple_size = ::std::tuple_size<Tuple>::value; 898 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 950 PrintPrefixTo(const Tuple&, ::std::ostream*) argument 953 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 874 typedef TupleT Tuple; typedef in struct:testing::internal::TuplePolicy 875 static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; 878 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; 882 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( 883 const Tuple& tuple) { 894 typedef ::std::tuple<Types...> Tuple; typedef in struct:testing::internal::TuplePolicy 895 static const size_t tuple_size = ::std::tuple_size<Tuple>::value; 898 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 950 PrintPrefixTo(const Tuple&, ::std::ostream*) argument 953 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/v8/testing/gtest/include/gtest/ |
H A D | gtest-printers.h | 77 // // element for each field. Tuple support must be enabled in 80 // const Tuple& value); 874 typedef TupleT Tuple; typedef in struct:testing::internal::TuplePolicy 875 static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; 878 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; 882 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( 883 const Tuple& tuple) { 894 typedef ::std::tuple<Types...> Tuple; typedef in struct:testing::internal::TuplePolicy 895 static const size_t tuple_size = ::std::tuple_size<Tuple>::value; 898 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 950 PrintPrefixTo(const Tuple&, ::std::ostream*) argument 953 TersePrintPrefixToStrings(const Tuple&, Strings*) argument [all...] |
/external/v8/tools/clang/plugins/tests/ |
H A D | ipc.cpp | 45 struct Tuple { struct in namespace:base 55 typedef base::Tuple<T...> Tuple; typedef in struct:IPC::CheckedTuple 182 #define IPC_TUPLE(...) IPC::CheckedTuple<__VA_ARGS__>::Tuple
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | p5.cpp | 390 template<typename...> struct Tuple {}; struct in namespace:WorkingPaperExample 395 typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter packs 'Args1' and 'Args2' that have different lengths (1 vs. 2)}} 399 typedef zip<short, int>::with<unsigned short, unsigned>::type T1; // T1 is Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> 400 typedef Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> T1;
|
/external/libmojo/third_party/jinja2/ |
H A D | nodes.py | 277 :class:`Name` or :class:`Tuple`), `iter` the iterable. `body` is a list 466 class Tuple(Literal): class in inherits:Literal
|
/external/v8/src/compiler/ |
H A D | types.h | 443 // Tuple types. 519 static Type* Tuple(Type* first, Type* second, Type* third, Zone* zone) { function in class:v8::internal::compiler::BitsetType::Type
|