HomeSort by relevance Sort by last modified time
    Searched refs:tuple (Results 26 - 50 of 1698) sorted by null

12 3 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/
version.pass.cpp 10 // <tuple>
12 #include <tuple>
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
tuple_cat.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls);
18 #include <tuple>
29 std::tuple<> t = std::tuple_cat();
33 std::tuple<> t1;
34 std::tuple<> t2 = std::tuple_cat(t1);
38 std::tuple<> t = std::tuple_cat(std::tuple<>());
42 std::tuple<> t = std::tuple_cat(std::array<int, 0>())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/
tuple_cat.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls);
16 #include <tuple>
27 std::tuple<> t = std::tuple_cat();
30 std::tuple<> t1;
31 std::tuple<> t2 = std::tuple_cat(t1);
34 std::tuple<> t = std::tuple_cat(std::tuple<>());
37 std::tuple<> t = std::tuple_cat(std::array<int, 0>())
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
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...]
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...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/
eq.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
16 // operator==(const tuple<TTypes...>& t, const tuple<UTypes...>& u);
20 #include <tuple>
27 typedef std::tuple<> T1;
28 typedef std::tuple<> T2;
35 typedef std::tuple<int> T1;
36 typedef std::tuple<double> T2;
43 typedef std::tuple<int> T1
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/
eq.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
16 // operator==(const tuple<TTypes...>& t, const tuple<UTypes...>& u);
18 #include <tuple>
25 typedef std::tuple<> T1;
26 typedef std::tuple<> T2;
33 typedef std::tuple<int> T1;
34 typedef std::tuple<double> T2;
41 typedef std::tuple<int> T1
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
tuple_array_template_depth.pass.cpp 12 // <tuple>
14 // template <class... Types> class tuple;
16 // template <class Tuple, __tuple_assignable<Tuple, tuple> >
17 // tuple & operator=(Tuple &&);
20 // on the array when it doesn't match the size of the tuple.
23 #include <tuple>
27 typedef std::tuple<array_t> tuple_t
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
tuple_array_template_depth.pass.cpp 12 // <tuple>
14 // template <class... Types> class tuple;
16 // template <class Tuple, __tuple_convertible<Tuple, tuple> >
17 // tuple(Tuple &&);
19 // template <class Tuple, __tuple_constructible<Tuple, tuple> >
    [all...]
default.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
14 // constexpr tuple();
18 #include <tuple>
51 std::tuple<> t;
54 std::tuple<int> t;
58 std::tuple<int, char*> t;
63 std::tuple<int, char*, std::string> t;
69 std::tuple<int, char*, std::string, DefaultOnly> t;
77 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), "")
    [all...]
  /packages/apps/Test/connectivity/sl4n/facades/bluetooth/
bluetooth_binder_facade.h 22 #include <tuple>
25 // Each public function returns a tuple of the return type and an integer
27 // if the API call is actually possible. If it is the function's tuple will
30 // first position of the tuple and the second value in the tuple indicates the
34 // TODO(tturney): Instead of using an integer in the tuple to represent
40 std::tuple<bool, int> BluetoothBinderEnable();
41 std::tuple<std::string, int> BluetoothBinderGetAddress();
42 std::tuple<std::string, int> BluetoothBinderGetName();
43 std::tuple<bool, int> BluetoothBinderInitInterface()
    [all...]
  /external/libcxx/test/std/experimental/utilities/tuple/
tuple_size_v_2.fail.cpp 12 // <experimental/tuple>
16 // Test with non tuple type
18 #include <experimental/tuple>
  /packages/apps/Test/connectivity/sl4n/facades/wifi/
wifi_facade.h 20 #include <tuple>
24 // Each public function returns a tuple: <result, code>, where:
36 std::tuple<bool, int> WifiInit();
37 std::tuple<int, int> WifiGetSupportedFeatureSet();
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
uses_allocator.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
19 #include <tuple>
27 typedef std::tuple<> T;
32 typedef std::tuple<int> T;
37 typedef std::tuple<char, int> T;
42 typedef std::tuple<double&, char, int> T;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.traits/
uses_allocator.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // struct uses_allocator<tuple<Types...>, Alloc> : true_type { };
17 #include <tuple>
25 typedef std::tuple<> T;
30 typedef std::tuple<int> T;
35 typedef std::tuple<char, int> T;
40 typedef std::tuple<double&, char, int> T;
  /external/protobuf/gtest/test/
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<char> >::value)
    [all...]
  /external/google-breakpad/src/testing/gtest/test/
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<char> >::value)
    [all...]
  /external/gtest/test/
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<char> >::value)
    [all...]
  /external/llvm/unittests/ADT/
MakeUniqueTest.cpp 12 #include <tuple>
26 auto p2 = make_unique<std::tuple<int, int>>(0, 1);
30 auto p3 = make_unique<std::tuple<int, int, int>>(0, 1, 2);
34 auto p4 = make_unique<std::tuple<int, int, int, int>>(0, 1, 2, 3);
38 auto p5 = make_unique<std::tuple<int, int, int, int, int>>(0, 1, 2, 3, 4);
43 make_unique<std::tuple<int, int, int, int, int, int>>(0, 1, 2, 3, 4, 5);
47 auto p7 = make_unique<std::tuple<int, int, int, int, int, int, int>>(
52 auto p8 = make_unique<std::tuple<int, int, int, int, int, int, int, int>>(
58 make_unique<std::tuple<int, int, int, int, int, int, int, int, int>>(
64 make_unique<std::tuple<int, int, int, int, int, int, int, int, int, int>>
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/test/
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<char> >::value)
    [all...]
  /ndk/sources/third_party/googletest/googletest/test/
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<char> >::value)
    [all...]
  /external/gmock/test/
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<>, F::ArgumentTuple>()
    [all...]
  /external/google-breakpad/src/testing/test/
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<>, F::ArgumentTuple>()
    [all...]
  /external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
piecewise.pass.cpp 15 // pair(piecewise_construct_t, tuple<Args1...> first_args,
16 // tuple<Args2...> second_args);
19 #include <tuple>
29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr),
30 std::tuple<int*, int>(nullptr, 4));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/
piecewise.pass.cpp 15 // pair(piecewise_construct_t, tuple<Args1...> first_args,
16 // tuple<Args2...> second_args);
19 #include <tuple>
29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr),
30 std::tuple<int*, int>(nullptr, 4));

Completed in 9540 milliseconds

12 3 4 5 6 7 8 91011>>