HomeSort by relevance Sort by last modified time
    Searched refs:Tuple (Results 1 - 25 of 187) sorted by null

1 2 3 4 5 6 7 8

  /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;
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
forward_as_tuple.pass.cpp 10 // <tuple>
13 // tuple<Types&&...> forward_as_tuple(Types&&... t);
17 #include <tuple>
23 template <class Tuple>
25 test0(const Tuple&)
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, "")
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/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...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.creation/
forward_as_tuple.pass.cpp 10 // <tuple>
13 // tuple<Types&&...> forward_as_tuple(Types&&... t);
17 #include <tuple>
21 template <class Tuple>
23 test0(const Tuple&)
25 static_assert(std::tuple_size<Tuple>::value == 0, "");
28 template <class Tuple>
30 test1a(const Tuple& t)
32 static_assert(std::tuple_size<Tuple>::value == 1, "");
33 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, "")
    [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>());
  /external/libcxx/test/std/experimental/utilities/tuple/
tuple_size_v.pass.cpp 12 // <experimental/tuple>
16 #include <experimental/tuple>
22 template <class Tuple, int Expect>
25 static_assert(ex::tuple_size_v<Tuple> == Expect, "");
26 static_assert(ex::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, "");
27 static_assert(ex::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, "");
28 static_assert(ex::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, "")
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_v.pass.cpp 12 // <tuple>
16 #include <tuple>
20 template <class Tuple, int Expect>
23 static_assert(std::tuple_size_v<Tuple> == Expect, "");
24 static_assert(std::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, "");
25 static_assert(std::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, "");
26 static_assert(std::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, "")
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/
tuple_size_v.pass.cpp 12 // <experimental/tuple>
16 #include <experimental/tuple>
22 template <class Tuple, int Expect>
25 static_assert(ex::tuple_size_v<Tuple> == Expect, "");
26 static_assert(ex::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, "");
27 static_assert(ex::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, "");
28 static_assert(ex::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, "")
    [all...]
  /external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
arg_type.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
38 template <class Tuple>
42 Tuple t{1, 2};
46 Tuple t{2, 2};
50 Tuple t{2, 3};
54 Tuple t{3, 3};
55 assert(6 == ex::apply(call_with_rvalue_ref, static_cast<Tuple &&>(t)));
58 Tuple const t{4, 4};
62 Tuple const t{4, 5}
    [all...]
types.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
100 template <class Tuple>
106 Tuple t{};
113 Tuple t{};
121 Tuple t{};
129 Tuple t{};
136 template <class Tuple>
142 Tuple t{1};
149 Tuple t{2}
    [all...]
constexpr_types.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
46 template <class Tuple>
51 constexpr Tuple t{};
56 constexpr Tuple t{};
62 constexpr Tuple t{};
68 template <class Tuple>
73 constexpr Tuple t{1};
78 constexpr Tuple t{2};
84 constexpr Tuple t{3}
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/tuple.apply/
arg_type.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
38 template <class Tuple>
42 Tuple t{1, 2};
46 Tuple t{2, 2};
50 Tuple t{2, 3};
54 Tuple t{3, 3};
55 assert(6 == ex::apply(call_with_rvalue_ref, static_cast<Tuple &&>(t)));
58 Tuple const t{4, 4};
62 Tuple const t{4, 5}
    [all...]
types.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
100 template <class Tuple>
106 Tuple t{};
113 Tuple t{};
121 Tuple t{};
129 Tuple t{};
136 template <class Tuple>
142 Tuple t{1};
149 Tuple t{2}
    [all...]
constexpr_types.pass.cpp 12 // <experimental/tuple>
18 #include <experimental/tuple>
46 template <class Tuple>
51 constexpr Tuple t{};
56 constexpr Tuple t{};
62 constexpr Tuple t{};
68 template <class Tuple>
73 constexpr Tuple t{1};
78 constexpr Tuple t{2};
84 constexpr Tuple t{3}
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorSyclTuple.h 17 * Minimal implementation of std::tuple that can be used inside a SYCL kernel.
24 namespace tuple { namespace in namespace:utility
35 /// \struct Tuple
37 /// \ztparam Ts... - the types of the elements that the tuple stores.
40 struct Tuple {};
42 /// \brief specialisation of the \ref Tuple class when the tuple has at least
44 /// \tparam T : the type of the first element in the tuple.
45 /// \tparam Ts... the rest of the elements in the tuple. Ts... can be empty.
47 struct Tuple<T, Ts...>
    [all...]
  /frameworks/support/design/base/android/support/design/widget/
StateListAnimator.java 28 private final ArrayList<Tuple> mTuples = new ArrayList<>();
30 private Tuple mLastMatch = null;
51 Tuple tuple = new Tuple(specs, animator); local
53 mTuples.add(tuple);
60 Tuple match = null;
63 final Tuple tuple = mTuples.get(i); local
64 if (StateSet.stateSetMatches(tuple.mSpecs, state))
    [all...]
  /external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
enable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
21 #include <tuple>
44 typedef std::tuple<MO, ND> Tuple;
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
    [all...]
disable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
45 typedef std::tuple<MO, ND> Tuple;
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
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
make_from_tuple.pass.cpp 12 // <tuple>
14 // template <class T, class Tuple> constexpr T make_from_tuple(Tuple&&);
16 #include <tuple>
29 template <class Tuple>
34 Tuple args;
40 template <template <class ...> class Tuple, class ...Types>
41 struct ConstructibleFromTuple<Tuple<Types...>> {
47 Tuple<std::decay_t<Types>...> args;
62 template <class Tuple>
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
45 typedef std::tuple<MoveOnly, NoDefault> Tuple;
48 Tuple,
53 Tuple,
58 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple;
    [all...]
  /frameworks/base/core/java/android/animation/
StateListAnimator.java 51 private ArrayList<Tuple> mTuples = new ArrayList<Tuple>();
52 private Tuple mLastMatch = null;
83 Tuple tuple = new Tuple(specs, animator); local
84 tuple.mAnimator.addListener(mAnimatorListener);
85 mTuples.add(tuple);
139 clone.mTuples = new ArrayList<Tuple>(mTuples.size());
147 final Tuple tuple = mTuples.get(i) local
167 final Tuple tuple = mTuples.get(i); local
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_nothrow_constructible.pass.cpp 96 struct Tuple {
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.
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_nothrow_constructible.pass.cpp 96 struct Tuple {
97 Tuple(Empty&&) noexcept {}
108 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616.
116 static_assert(!std::is_constructible<Tuple&, Empty>::value, "");
117 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616.
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
47 typedef std::tuple<MoveOnly, NoDefault> Tuple;
50 Tuple,
55 Tuple,
60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple;
    [all...]
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-tuple.h 2 // pump.py gtest-tuple.h.pump
36 // Implements a subset of TR1 tuple needed by Google Test and Google Mock.
44 // tuple template as a friend (it complains that tuple is redefined). This
52 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \
56 // GTEST_n_TUPLE_(T) is the type of an n-tuple.
57 #define GTEST_0_TUPLE_(T) tuple<>
58 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \
60 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \
62 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void,
197 class tuple<> { class in namespace:std::tr1
199 tuple() {} function in class:std::tr1::tuple
200 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple
209 tuple() : f0_() {} function
213 tuple(const tuple& t) : f0_(t.f0_) {} function
241 tuple() : f0_(), f1_() {} function
246 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function
251 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function
284 tuple() : f0_(), f1_(), f2_() {} function
289 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function
321 tuple() : f0_(), f1_(), f2_(), f3_() {} function
327 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function
362 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function
368 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function
406 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function
413 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function
453 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function
460 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function
502 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function
510 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function
554 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function
562 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function
604 class tuple { class in namespace:std::tr1
608 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple
617 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple
    [all...]

Completed in 1087 milliseconds

1 2 3 4 5 6 7 8