Home
last modified time | relevance | path

Searched refs:tuple_size (Results 1 – 25 of 82) sorted by relevance

1234

/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
Dtuple_size_incomplete.fail.cpp29 class std::tuple_size<Dummy1> { class in std
35 class std::tuple_size<Dummy2> { class in std
41 class std::tuple_size<Dummy3> {}; class in std
49 (void)std::tuple_size<const Dummy1>::value; // expected-note {{here}} in main()
55 (void)std::tuple_size<const Dummy2>::value; // expected-note {{here}} in main()
61 (void)std::tuple_size<const Dummy3>::value; // expected-note {{here}} in main()
Dtuple_size_v.pass.cpp24 static_assert(std::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, ""); in test()
25 static_assert(std::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, ""); in test()
26 static_assert(std::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, ""); in test()
27 static_assert(std::tuple_size_v<Tuple const volatile> == std::tuple_size<Tuple>::value, ""); in test()
Dtuple_size.pass.cpp27 std::tuple_size<T> >::value), ""); in test()
29 std::tuple_size<const T> >::value), ""); in test()
31 std::tuple_size<volatile T> >::value), ""); in test()
33 std::tuple_size<const volatile T> >::value), ""); in test()
Dtuple_size.fail.cpp24 …(void)std::tuple_size<std::tuple<> &>::value; // expected-error {{implicit instantiation of undefi… in main()
25 …(void)std::tuple_size<int>::value; // expected-error {{implicit instantiation of undefined templat… in main()
26 …(void)std::tuple_size<std::tuple<>*>::value; // expected-error {{implicit instantiation of undefin… in main()
Dtuple.include.utility.pass.cpp29 std::tuple_size<T> >::value), ""); in test()
31 std::tuple_size<const T> >::value), ""); in test()
33 std::tuple_size<volatile T> >::value), ""); in test()
35 std::tuple_size<const volatile T> >::value), ""); in test()
Dtuple.include.array.pass.cpp31 std::tuple_size<T> >::value), ""); in test()
33 std::tuple_size<const T> >::value), ""); in test()
35 std::tuple_size<volatile T> >::value), ""); in test()
37 std::tuple_size<const volatile T> >::value), ""); in test()
Dtuple_size_incomplete.pass.cpp25 template <class T, size_t Size = sizeof(std::tuple_size<T>)>
34 template <> class tuple_size<Dummy1> : public integral_constant<size_t, 0> {}; class
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dtuple_size.pass.cpp22 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
26 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
30 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
34 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
Dforward_as_tuple.pass.cpp27 static_assert(std::tuple_size<Tuple>::value == 0, ""); in test0()
34 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1a()
43 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1b()
52 static_assert(std::tuple_size<Tuple>::value == 2, ""); in test2a()
64 return std::tuple_size<Tuple>::value; in test3()
/external/libcxx/test/std/containers/sequences/array/array.tuple/
Dtuple_size.pass.cpp21 static_assert((std::tuple_size<C>::value == N), ""); in test()
25 static_assert((std::tuple_size<C>::value == N), ""); in test()
29 static_assert((std::tuple_size<C>::value == N), ""); in test()
33 static_assert((std::tuple_size<C>::value == N), ""); in test()
/external/libcxx/test/std/utilities/intseq/intseq.general/
Dinteger_seq.pass.cpp58 static_assert ( std::tuple_size<decltype(t3)>::value == int3::size (), "t3 size wrong"); in main()
62 static_assert ( std::tuple_size<decltype(t7)>::value == size7::size (), "t7 size wrong"); in main()
66 static_assert ( std::tuple_size<decltype(t4)>::value == size4::size (), "t4 size wrong"); in main()
70 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main()
74 …static_assert ( std::tuple_size<decltype(tintmix)>::value == intmix::size (), "tintmix size wrong"… in main()
78 …static_assert ( std::tuple_size<decltype(tsizemix)>::value == sizemix::size (), "tsizemix size wro… in main()
/external/libcxx/test/std/experimental/utilities/tuple/
Dtuple_size_v.pass.cpp26 static_assert(ex::tuple_size_v<Tuple> == std::tuple_size<Tuple>::value, ""); in test()
27 static_assert(ex::tuple_size_v<Tuple const> == std::tuple_size<Tuple>::value, ""); in test()
28 static_assert(ex::tuple_size_v<Tuple volatile> == std::tuple_size<Tuple>::value, ""); in test()
29 static_assert(ex::tuple_size_v<Tuple const volatile> == std::tuple_size<Tuple>::value, ""); in test()
/external/libcxx/include/
D__tuple25 template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size;
32 class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
35 integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
36 : public integral_constant<size_t, tuple_size<_Tp>::value> {};
39 class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
42 integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
43 : public integral_constant<size_t, tuple_size<_Tp>::value> {};
46 class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
48 integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
49 : public integral_constant<size_t, tuple_size<_Tp>::value> {};
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-tuple_test.cc42 using ::std::tr1::tuple_size;
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-tuple_test.cc42 using ::std::tr1::tuple_size;
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
/external/googletest/googletest/test/
Dgtest-tuple_test.cc42 using ::std::tr1::tuple_size;
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
/external/v8/testing/gtest/test/
Dgtest-tuple_test.cc42 using ::std::tr1::tuple_size;
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
/external/protobuf/gtest/test/
Dgtest-tuple_test.cc42 using ::std::tr1::tuple_size;
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-tuple.cpp144 template<typename Tuple> struct tuple_size;
146 template<typename... Values> struct tuple_size<tuple<Values...> > { struct
150 int check_tuple_size_0[tuple_size<tuple<> >::value == 0? 1 : -1]; argument
151 int check_tuple_size_1[tuple_size<tuple<int>>::value == 1? 1 : -1];
152 int check_tuple_size_2[tuple_size<tuple<float, double>>::value == 2? 1 : -1];
153 int check_tuple_size_3[tuple_size<tuple<char, unsigned char, signed char>>::value == 3? 1 : -1];
/external/libcxx/include/experimental/
Dtuple27 = tuple_size<T>::value;
55 _LIBCPP_CONSTEXPR size_t tuple_size_v = tuple_size<_Tp>::value;
74 make_index_sequence<tuple_size<typename decay<_Tuple>::type>::value>()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-tuple.h708 template <typename Tuple> struct tuple_size;
711 struct tuple_size<GTEST_0_TUPLE_(T)> { static const int value = 0; };
714 struct tuple_size<GTEST_1_TUPLE_(T)> { static const int value = 1; };
717 struct tuple_size<GTEST_2_TUPLE_(T)> { static const int value = 2; };
720 struct tuple_size<GTEST_3_TUPLE_(T)> { static const int value = 3; };
723 struct tuple_size<GTEST_4_TUPLE_(T)> { static const int value = 4; };
726 struct tuple_size<GTEST_5_TUPLE_(T)> { static const int value = 5; };
729 struct tuple_size<GTEST_6_TUPLE_(T)> { static const int value = 6; };
732 struct tuple_size<GTEST_7_TUPLE_(T)> { static const int value = 7; };
735 struct tuple_size<GTEST_8_TUPLE_(T)> { static const int value = 8; };
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-tuple.h708 template <typename Tuple> struct tuple_size;
711 struct tuple_size<GTEST_0_TUPLE_(T)> { static const int value = 0; };
714 struct tuple_size<GTEST_1_TUPLE_(T)> { static const int value = 1; };
717 struct tuple_size<GTEST_2_TUPLE_(T)> { static const int value = 2; };
720 struct tuple_size<GTEST_3_TUPLE_(T)> { static const int value = 3; };
723 struct tuple_size<GTEST_4_TUPLE_(T)> { static const int value = 4; };
726 struct tuple_size<GTEST_5_TUPLE_(T)> { static const int value = 5; };
729 struct tuple_size<GTEST_6_TUPLE_(T)> { static const int value = 6; };
732 struct tuple_size<GTEST_7_TUPLE_(T)> { static const int value = 7; };
735 struct tuple_size<GTEST_8_TUPLE_(T)> { static const int value = 8; };
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-tuple.h730 template <typename Tuple> struct tuple_size;
733 struct tuple_size<GTEST_0_TUPLE_(T)> {
738 struct tuple_size<GTEST_1_TUPLE_(T)> {
743 struct tuple_size<GTEST_2_TUPLE_(T)> {
748 struct tuple_size<GTEST_3_TUPLE_(T)> {
753 struct tuple_size<GTEST_4_TUPLE_(T)> {
758 struct tuple_size<GTEST_5_TUPLE_(T)> {
763 struct tuple_size<GTEST_6_TUPLE_(T)> {
768 struct tuple_size<GTEST_7_TUPLE_(T)> {
773 struct tuple_size<GTEST_8_TUPLE_(T)> {
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-tuple.h730 template <typename Tuple> struct tuple_size;
733 struct tuple_size<GTEST_0_TUPLE_(T) > {
738 struct tuple_size<GTEST_1_TUPLE_(T) > {
743 struct tuple_size<GTEST_2_TUPLE_(T) > {
748 struct tuple_size<GTEST_3_TUPLE_(T) > {
753 struct tuple_size<GTEST_4_TUPLE_(T) > {
758 struct tuple_size<GTEST_5_TUPLE_(T) > {
763 struct tuple_size<GTEST_6_TUPLE_(T) > {
768 struct tuple_size<GTEST_7_TUPLE_(T) > {
773 struct tuple_size<GTEST_8_TUPLE_(T) > {
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-tuple.h730 template <typename Tuple> struct tuple_size;
733 struct tuple_size<GTEST_0_TUPLE_(T) > {
738 struct tuple_size<GTEST_1_TUPLE_(T) > {
743 struct tuple_size<GTEST_2_TUPLE_(T) > {
748 struct tuple_size<GTEST_3_TUPLE_(T) > {
753 struct tuple_size<GTEST_4_TUPLE_(T) > {
758 struct tuple_size<GTEST_5_TUPLE_(T) > {
763 struct tuple_size<GTEST_6_TUPLE_(T) > {
768 struct tuple_size<GTEST_7_TUPLE_(T) > {
773 struct tuple_size<GTEST_8_TUPLE_(T) > {
[all …]

1234