Home
last modified time | relevance | path

Searched refs:has_trivial_destructor (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc139 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 …]
Dtype_traits.h102 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> { };
/external/protobuf/src/google/protobuf/
Darena.h306 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 …]
Darena_unittest.cc1340 if (google::protobuf::internal::has_trivial_destructor<uint64>::value) { in TEST()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp33 #if __has_feature(has_trivial_destructor)
34 int has_trivial_destructor();
/external/pcre/pcrecpp/include/
Dpcre_stringpiece.h171 typedef __true_type has_trivial_destructor;
/external/pdfium/third_party/base/
Dtemplate_util.h148 using is_trivially_destructible = std::has_trivial_destructor<T>;
/external/mesa3d/src/util/
Dmacros.h192 # if __has_feature(has_trivial_destructor)
/external/bcc/src/cc/vendor/
Doptional.hpp115 using is_trivially_destructible = std::has_trivial_destructor<T>;
/external/clang/test/SemaCXX/
Dtype-traits.cpp1403 void has_trivial_destructor() { in has_trivial_destructor() function
/external/libcxx/include/
Dtype_traits3686 #if __has_feature(has_trivial_destructor) || (_GNUC_VER >= 403)