/external/clang/test/Lexer/ |
has_feature_type_traits.cpp | 33 #if __has_feature(has_trivial_destructor) 34 int has_trivial_destructor(); 36 // CHECK: int has_trivial_destructor();
|
/external/chromium_org/third_party/cld/base/ |
type_traits.h | 19 // has_trivial_destructor 128 // We can't get has_trivial_destructor right without compiler help, so 133 template <class T> struct has_trivial_destructor : is_pod<T> { }; struct in namespace:base 134 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > struct in namespace:base 136 (has_trivial_destructor<T>::value && 137 has_trivial_destructor<U>::value)> { }; 138 template <class A, int N> struct has_trivial_destructor<A[N]> struct in namespace:base 139 : has_trivial_destructor<A> { }; 140 template <class T> struct has_trivial_destructor<const T> struct in namespace:base 141 : has_trivial_destructor<T> { } [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
type_traits_unittest.cc | 54 using google::protobuf::internal::has_trivial_destructor; 146 // by specializing has_trivial_destructor. 157 template<> struct has_trivial_destructor<F> : true_type { }; struct in namespace:google::protobuf::internal 517 EXPECT_TRUE(has_trivial_destructor<bool>::value); 518 EXPECT_TRUE(has_trivial_destructor<char>::value); 519 EXPECT_TRUE(has_trivial_destructor<unsigned char>::value); 520 EXPECT_TRUE(has_trivial_destructor<signed char>::value); 521 EXPECT_TRUE(has_trivial_destructor<wchar_t>::value); 522 EXPECT_TRUE(has_trivial_destructor<int>::value); 523 EXPECT_TRUE(has_trivial_destructor<unsigned int>::value) [all...] |
type_traits.h | 47 // has_trivial_destructor 82 template <class T> struct has_trivial_destructor; 257 // We can't get has_trivial_destructor right without compiler help, so 262 template <class T> struct has_trivial_destructor : is_pod<T> { }; struct in namespace:google::protobuf::internal 263 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > struct in namespace:google::protobuf::internal 265 (has_trivial_destructor<T>::value && 266 has_trivial_destructor<U>::value)> { }; 267 template <class A, int N> struct has_trivial_destructor<A[N]> struct in namespace:google::protobuf::internal 268 : has_trivial_destructor<A> { }; 269 template <class T> struct has_trivial_destructor<const T struct in namespace:google::protobuf::internal [all...] |
/external/stlport/test/unit/ |
type_traits_test.cpp | 123 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 495 int has_trivial_destructor(_Tp) { function 496 typedef typename __type_traits<_Tp>::has_trivial_destructor _TrivialDestructor; 518 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 529 CPPUNIT_CHECK( has_trivial_destructor(int_pointer) == 1 ); 530 CPPUNIT_CHECK( has_trivial_destructor(int_const_pointer) == 1 ); 531 CPPUNIT_CHECK( has_trivial_destructor(int_volatile_pointer) == 1 ); 532 CPPUNIT_CHECK( has_trivial_destructor(int_const_volatile_pointer) == 1 ); 533 CPPUNIT_CHECK( has_trivial_destructor(any_pointer) == 1 ); 534 CPPUNIT_CHECK( has_trivial_destructor(any) == 0 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
type_traits_test.cpp | 123 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 495 int has_trivial_destructor(_Tp) { function 496 typedef typename __type_traits<_Tp>::has_trivial_destructor _TrivialDestructor; 518 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 529 CPPUNIT_CHECK( has_trivial_destructor(int_pointer) == 1 ); 530 CPPUNIT_CHECK( has_trivial_destructor(int_const_pointer) == 1 ); 531 CPPUNIT_CHECK( has_trivial_destructor(int_volatile_pointer) == 1 ); 532 CPPUNIT_CHECK( has_trivial_destructor(int_const_volatile_pointer) == 1 ); 533 CPPUNIT_CHECK( has_trivial_destructor(any_pointer) == 1 ); 534 CPPUNIT_CHECK( has_trivial_destructor(any) == 0 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
type_traits_test.cpp | 123 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 495 int has_trivial_destructor(_Tp) { function 496 typedef typename __type_traits<_Tp>::has_trivial_destructor _TrivialDestructor; 518 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits 529 CPPUNIT_CHECK( has_trivial_destructor(int_pointer) == 1 ); 530 CPPUNIT_CHECK( has_trivial_destructor(int_const_pointer) == 1 ); 531 CPPUNIT_CHECK( has_trivial_destructor(int_volatile_pointer) == 1 ); 532 CPPUNIT_CHECK( has_trivial_destructor(int_const_volatile_pointer) == 1 ); 533 CPPUNIT_CHECK( has_trivial_destructor(any_pointer) == 1 ); 534 CPPUNIT_CHECK( has_trivial_destructor(any) == 0 ) [all...] |
/external/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
boost_type_traits.h | 32 #include <boost/type_traits/has_trivial_destructor.hpp> 79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value }; 80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
boost_type_traits.h | 32 #include <boost/type_traits/has_trivial_destructor.hpp> 79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value }; 80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
boost_type_traits.h | 32 #include <boost/type_traits/has_trivial_destructor.hpp> 79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value }; 80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
boost_type_traits.h | 32 #include <boost/type_traits/has_trivial_destructor.hpp> 79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value }; 80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
boost_type_traits.h | 32 #include <boost/type_traits/has_trivial_destructor.hpp> 79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value }; 80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|
_pair.h | 168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor, 169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_move_construct_fwk.h | 70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete; 73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
|