Searched refs:tuple_element (Results 1 - 25 of 28) sorted by relevance

12

/external/libcxx/test/utilities/utility/pairs/pair.astuple/
H A Dtuple_element.pass.cpp14 // tuple_element<I, pair<T1, T2> >::type
22 static_assert((std::is_same<std::tuple_element<0, P1>::type, int>::value), "");
23 static_assert((std::is_same<std::tuple_element<1, P1>::type, short>::value), "");
27 static_assert((std::is_same<std::tuple_element<0, P1>::type, int*>::value), "");
28 static_assert((std::is_same<std::tuple_element<1, P1>::type, char>::value), "");
H A DAndroid.mk23 test_name := utilities/utility/pairs/pair.astuple/tuple_element
24 test_src := tuple_element.pass.cpp
/external/libcxx/test/containers/sequences/array/array.tuple/
H A Dtuple_element.pass.cpp12 // tuple_element<I, array<T, N> >::type
22 static_assert((std::is_same<std::tuple_element<0, C>::type, T>::value), "");
23 static_assert((std::is_same<std::tuple_element<1, C>::type, T>::value), "");
24 static_assert((std::is_same<std::tuple_element<2, C>::type, T>::value), "");
29 static_assert((std::is_same<std::tuple_element<0, C>::type, T>::value), "");
30 static_assert((std::is_same<std::tuple_element<1, C>::type, T>::value), "");
31 static_assert((std::is_same<std::tuple_element<2, C>::type, T>::value), "");
H A DAndroid.mk23 test_name := containers/sequences/array/array.tuple/tuple_element
24 test_src := tuple_element.pass.cpp
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.helper/
H A DAndroid.mk19 test_name := utilities/tuple/tuple.tuple/tuple.helper/tuple_element
20 test_src := tuple_element.pass.cpp
H A Dtuple_element.pass.cpp15 // class tuple_element<I, tuple<Types...> >
27 static_assert((std::is_same<typename std::tuple_element<N, T>::type, U>::value), "");
28 static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), "");
29 static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value), "");
30 static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile U>::value), "");
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/
H A Dforward_as_tuple.pass.cpp30 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, "");
39 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&>::value, "");
48 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, double&>::value, "");
49 static_assert(std::is_same<typename std::tuple_element<1, Tuple>::type, char&>::value, "");
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-tuple.cpp155 template<int I, typename Tuple> struct tuple_element;
158 struct tuple_element<I, tuple<Head, Tail...> > { struct
159 typedef typename tuple_element<I-1, tuple<Tail...> >::type type;
163 struct tuple_element<0, tuple<Head, Tail...> > { struct
167 int check_tuple_element_0[is_same<tuple_element<0, tuple<int&, float, double>>::type,
170 int check_tuple_element_1[is_same<tuple_element<1, tuple<int&, float, double>>::type,
173 int check_tuple_element_2[is_same<tuple_element<2, tuple<int&, float, double>>::type,
180 typedef typename tuple_element<I-1, tuple<Values...> >::type Element;
199 typename tuple_element<I, tuple<Values...> >::type >::type
205 typename tuple_element<
[all...]
H A Dexample-bind.cpp121 template<int I, typename Tuple> struct tuple_element;
124 struct tuple_element<I, tuple<Head, Tail...> > { struct
125 typedef typename tuple_element<I-1, tuple<Tail...> >::type type;
129 struct tuple_element<0, tuple<Head, Tail...> > { struct
137 typedef typename tuple_element<I-1, tuple<Values...> >::type Element;
156 typename tuple_element<I, tuple<Values...> >::type >::type
162 typename tuple_element<I, tuple<Values...> >::type >::type
271 typedef typename tuple_element<I, tuple<Values...> >::type type;
/external/clang/test/SemaTemplate/
H A Dclass-template-decl.cpp88 template <unsigned, class _Tp> class tuple_element;
93 class tuple_element<0, pair<_T1, _T2> > class in namespace:rdar9676205
/external/chromium_org/testing/gtest/test/
H A Dgtest-tuple_test.cc41 using ::std::tr1::tuple_element;
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>();
/external/gtest/test/
H A Dgtest-tuple_test.cc41 using ::std::tr1::tuple_element;
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>();
/external/protobuf/gtest/test/
H A Dgtest-tuple_test.cc41 using ::std::tr1::tuple_element;
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>();
/external/chromium_org/testing/gtest/include/gtest/
H A Dgtest-printers.h769 // - tuple_element<size_t I>::type
781 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; struct in struct:testing::internal::TuplePolicy
785 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get(
801 struct tuple_element : ::std::tuple_element<I, Tuple> {}; struct in struct:testing::internal::TuplePolicy
804 static const typename ::std::tuple_element<I, Tuple>::type& get(
834 typename TuplePolicy<Tuple>::template tuple_element<N - 1>::type>
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/
H A Dgtest-printers.h718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
751 UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
/external/gtest/include/gtest/
H A Dgtest-printers.h777 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
810 UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-printers.h718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
751 UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
/external/mesa3d/src/gtest/include/gtest/
H A Dgtest-printers.h718 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
751 UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-port.h702 using ::std::tuple_element;
1003 using GTEST_TUPLE_NAMESPACE_::tuple_element;
H A Dgtest-tuple.h147 // A helper for implementing tuple_element<k, T>. kIndexValid is true
796 struct tuple_element { struct in namespace:std::tr1
801 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-tuple.h136 // A helper for implementing tuple_element<k, T>. kIndexValid is true
742 struct tuple_element { struct in namespace:std::tr1
747 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-tuple.h137 // A helper for implementing tuple_element<k, T>. kIndexValid is true
744 struct tuple_element { struct in namespace:std::tr1
749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
/external/gtest/include/gtest/internal/
H A Dgtest-tuple.h139 // A helper for implementing tuple_element<k, T>. kIndexValid is true
788 struct tuple_element { struct in namespace:std::tr1
793 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-tuple.h137 // A helper for implementing tuple_element<k, T>. kIndexValid is true
744 struct tuple_element { struct in namespace:std::tr1
749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-tuple.h137 // A helper for implementing tuple_element<k, T>. kIndexValid is true
744 struct tuple_element { struct in namespace:std::tr1
749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type

Completed in 960 milliseconds

12