Home
last modified time | relevance | path

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

12

/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/
Dforward_as_tuple.pass.cpp22 static_assert(std::tuple_size<Tuple>::value == 0, ""); in test0()
29 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1a()
38 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1b()
47 static_assert(std::tuple_size<Tuple>::value == 2, ""); in test2a()
59 return std::tuple_size<Tuple>::value; in test3()
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.helper/
Dtuple_size.pass.cpp25 std::tuple_size<T> >::value), ""); in test()
27 std::tuple_size<const T> >::value), ""); in test()
29 std::tuple_size<volatile T> >::value), ""); in test()
31 std::tuple_size<const volatile T> >::value), ""); in test()
DAndroid.mk23 test_name := utilities/tuple/tuple.tuple/tuple.helper/tuple_size
24 test_src := tuple_size.pass.cpp
/external/libcxx/test/utilities/intseq/intseq.general/
Dinteger_seq.pass.cpp63 static_assert ( std::tuple_size<decltype(t3)>::value == int3::size (), "t3 size wrong"); in main()
67 static_assert ( std::tuple_size<decltype(t7)>::value == size7::size (), "t7 size wrong"); in main()
71 static_assert ( std::tuple_size<decltype(t4)>::value == size4::size (), "t4 size wrong"); in main()
75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main()
79 …static_assert ( std::tuple_size<decltype(tintmix)>::value == intmix::size (), "tintmix size wrong"… in main()
83 …static_assert ( std::tuple_size<decltype(tsizemix)>::value == sizemix::size (), "tsizemix size wro… in main()
/external/libcxx/include/
D__tuple30 template <class _Tp> class _LIBCPP_TYPE_VIS_ONLY tuple_size;
33 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const _Tp>
34 : public tuple_size<_Tp> {};
37 class _LIBCPP_TYPE_VIS_ONLY tuple_size<volatile _Tp>
38 : public tuple_size<_Tp> {};
41 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const volatile _Tp>
42 : public tuple_size<_Tp> {};
179 class _LIBCPP_TYPE_VIS_ONLY tuple_size<__tuple_types<_Tp...> >
190 // _Sp defaults to 0 and _Ep defaults to tuple_size<_Tuple>. If _Tuple is a
213 template <class _Tp, size_t _Ep = tuple_size<typename remove_reference<_Tp>::type>::value, size_t _…
[all …]
D__tuple_0322 template <class _Tp> class _LIBCPP_TYPE_VIS_ONLY tuple_size;
/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/chromium_org/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/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/libcxx/test/containers/sequences/array/array.tuple/
Dtuple_size.pass.cpp21 static_assert((std::tuple_size<C>::value == 3), ""); in main()
26 static_assert((std::tuple_size<C>::value == 0), ""); in main()
DAndroid.mk27 test_name := containers/sequences/array/array.tuple/tuple_size
28 test_src := tuple_size.pass.cpp
/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/test/utilities/utility/pairs/pair.astuple/
DAndroid.mk27 test_name := utilities/utility/pairs/pair.astuple/tuple_size
28 test_src := tuple_size.pass.cpp
Dtuple_size.pass.cpp22 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
/external/llvm/lib/DebugInfo/
DDWARFDebugArangeSet.cpp61 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract() local
64 first_tuple_offset += tuple_size; in extract()
/external/chromium_org/testing/gtest/include/gtest/internal/
Dgtest-tuple.h738 template <typename Tuple> struct tuple_size;
741 struct tuple_size<GTEST_0_TUPLE_(T) > {
746 struct tuple_size<GTEST_1_TUPLE_(T) > {
751 struct tuple_size<GTEST_2_TUPLE_(T) > {
756 struct tuple_size<GTEST_3_TUPLE_(T) > {
761 struct tuple_size<GTEST_4_TUPLE_(T) > {
766 struct tuple_size<GTEST_5_TUPLE_(T) > {
771 struct tuple_size<GTEST_6_TUPLE_(T) > {
776 struct tuple_size<GTEST_7_TUPLE_(T) > {
781 struct tuple_size<GTEST_8_TUPLE_(T) > {
[all …]
/external/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/mesa3d/src/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 …]
Dgtest-tuple.h.pump218 template <typename Tuple> struct tuple_size;
223 struct tuple_size<GTEST_$(j)_TUPLE_(T)> { static const int value = $j; };
230 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
305 tuple_size<GTEST_$(n)_TUPLE_(T)>::value,
306 tuple_size<GTEST_$(n)_TUPLE_(U)>::value>::Eq(t, u);
/external/protobuf/gtest/include/gtest/internal/
Dgtest-tuple.h706 template <typename Tuple> struct tuple_size;
709 struct tuple_size<GTEST_0_TUPLE_(T)> { static const int value = 0; };
712 struct tuple_size<GTEST_1_TUPLE_(T)> { static const int value = 1; };
715 struct tuple_size<GTEST_2_TUPLE_(T)> { static const int value = 2; };
718 struct tuple_size<GTEST_3_TUPLE_(T)> { static const int value = 3; };
721 struct tuple_size<GTEST_4_TUPLE_(T)> { static const int value = 4; };
724 struct tuple_size<GTEST_5_TUPLE_(T)> { static const int value = 5; };
727 struct tuple_size<GTEST_6_TUPLE_(T)> { static const int value = 6; };
730 struct tuple_size<GTEST_7_TUPLE_(T)> { static const int value = 7; };
733 struct tuple_size<GTEST_8_TUPLE_(T)> { static const int value = 8; };
[all …]
Dgtest-tuple.h.pump217 template <typename Tuple> struct tuple_size;
222 struct tuple_size<GTEST_$(j)_TUPLE_(T)> { static const int value = $j; };
229 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
304 tuple_size<GTEST_$(n)_TUPLE_(T)>::value,
305 tuple_size<GTEST_$(n)_TUPLE_(U)>::value>::Eq(t, u);
/external/chromium_org/third_party/mesa/src/src/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 …]
Dgtest-tuple.h.pump218 template <typename Tuple> struct tuple_size;
223 struct tuple_size<GTEST_$(j)_TUPLE_(T)> { static const int value = $j; };
230 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
305 tuple_size<GTEST_$(n)_TUPLE_(T)>::value,
306 tuple_size<GTEST_$(n)_TUPLE_(U)>::value>::Eq(t, u);
/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/chromium_org/testing/gtest/include/gtest/
Dgtest-printers.h788 static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; member
801 const size_t TuplePolicy<TupleT>::tuple_size;
808 static const size_t tuple_size = ::std::tuple_size<Tuple>::value;
820 const size_t TuplePolicy< ::std::tuple<Types...> >::tuple_size;
874 TuplePrefixPrinter<TuplePolicy<Tuple>::tuple_size>::PrintPrefixTo(t, os);
884 TuplePrefixPrinter<TuplePolicy<Tuple>::tuple_size>::

12