Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
Dforward_as_tuple.pass.cpp25 static_assert(std::tuple_size<Tuple>::value == 0, ""); in test0()
32 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1a()
41 static_assert(std::tuple_size<Tuple>::value == 1, ""); in test1b()
50 static_assert(std::tuple_size<Tuple>::value == 2, ""); in test2a()
62 return std::tuple_size<Tuple>::value; in test3()
/external/libcxx/test/std/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/test/std/utilities/tuple/tuple.tuple/tuple.helper/
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.include.utility.pass.cpp28 std::tuple_size<T> >::value), ""); in test()
30 std::tuple_size<const T> >::value), ""); in test()
32 std::tuple_size<volatile T> >::value), ""); in test()
34 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()
/external/libcxx/include/
D__tuple56 template <class _Tp> class _LIBCPP_TYPE_VIS_ONLY tuple_size;
59 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const _Tp>
60 : public tuple_size<_Tp> {};
63 class _LIBCPP_TYPE_VIS_ONLY tuple_size<volatile _Tp>
64 : public tuple_size<_Tp> {};
67 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const volatile _Tp>
68 : public tuple_size<_Tp> {};
205 class _LIBCPP_TYPE_VIS_ONLY tuple_size<__tuple_types<_Tp...> >
216 // _Sp defaults to 0 and _Ep defaults to tuple_size<_Tuple>. If _Tuple is a
239 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/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/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];
Dexample-bind.cpp115 template<typename Tuple> struct tuple_size;
117 template<typename... Values> struct tuple_size<tuple<Values...> > { struct
270 … typename enable_if<(I >= 0 && I < tuple_size<tuple<Values...> >::value)>::type> {
/external/libcxx/test/std/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()
/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 …]
Dgtest-tuple.h.pump219 template <typename Tuple> struct tuple_size;
224 struct tuple_size<GTEST_$(j)_TUPLE_(T)> {
233 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
308 tuple_size<GTEST_$(n)_TUPLE_(T)>::value,
309 tuple_size<GTEST_$(n)_TUPLE_(U)>::value>::Eq(t, u);
/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 …]
Dgtest-tuple.h.pump219 template <typename Tuple> struct tuple_size;
224 struct tuple_size<GTEST_$(j)_TUPLE_(T) > {
233 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
308 tuple_size<GTEST_$(n)_TUPLE_(T) >::value,
309 tuple_size<GTEST_$(n)_TUPLE_(U) >::value>::Eq(t, u);
/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.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/lib/DebugInfo/DWARF/
DDWARFDebugArangeSet.cpp61 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract() local
64 first_tuple_offset += tuple_size; in extract()
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dtuple_size.pass.cpp22 static_assert((std::tuple_size<P1>::value == 2), ""); in main()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-function-mockers.h349 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
365 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
382 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
401 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
424 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
449 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
476 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
505 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
536 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
569 GTEST_COMPILE_ASSERT_(::std::tr1::tuple_size< \
[all …]

12