Searched refs:has_trivial_destructor (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 139 template<> struct has_trivial_destructor<F> : true_type { }; struct 500 EXPECT_TRUE(has_trivial_destructor<bool>::value); in TEST() 501 EXPECT_TRUE(has_trivial_destructor<char>::value); in TEST() 502 EXPECT_TRUE(has_trivial_destructor<unsigned char>::value); in TEST() 503 EXPECT_TRUE(has_trivial_destructor<signed char>::value); in TEST() 504 EXPECT_TRUE(has_trivial_destructor<wchar_t>::value); in TEST() 505 EXPECT_TRUE(has_trivial_destructor<int>::value); in TEST() 506 EXPECT_TRUE(has_trivial_destructor<unsigned int>::value); in TEST() 507 EXPECT_TRUE(has_trivial_destructor<short>::value); in TEST() 508 EXPECT_TRUE(has_trivial_destructor<unsigned short>::value); in TEST() [all …]
|
D | type_traits.h | 102 template <class T> struct has_trivial_destructor; 289 template <class T> struct has_trivial_destructor : is_pod<T> { }; 290 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > 292 (has_trivial_destructor<T>::value && 293 has_trivial_destructor<U>::value)> { }; 294 template <class A, int N> struct has_trivial_destructor<A[N]> 295 : has_trivial_destructor<A> { }; 296 template <class T> struct has_trivial_destructor<const T> 297 : has_trivial_destructor<T> { };
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | arena.h | 306 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value); in Create() 316 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 327 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 341 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 356 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 372 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 388 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 405 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 424 google::protobuf::internal::has_trivial_destructor<T>::value, in Create() 583 return google::protobuf::internal::has_trivial_destructor<T>::value; in SkipDeleteList() [all …]
|
D | arena_unittest.cc | 1339 if (google::protobuf::internal::has_trivial_destructor<uint64>::value) { in TEST()
|