Home
last modified time | relevance | path

Searched refs:is_pod (Results 1 – 18 of 18) sorted by relevance

/external/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
Dis_pod.pass.cpp19 static_assert( std::is_pod<T>::value, ""); in test_is_pod()
20 static_assert( std::is_pod<const T>::value, ""); in test_is_pod()
21 static_assert( std::is_pod<volatile T>::value, ""); in test_is_pod()
22 static_assert( std::is_pod<const volatile T>::value, ""); in test_is_pod()
28 static_assert(!std::is_pod<T>::value, ""); in test_is_not_pod()
29 static_assert(!std::is_pod<const T>::value, ""); in test_is_not_pod()
30 static_assert(!std::is_pod<volatile T>::value, ""); in test_is_not_pod()
31 static_assert(!std::is_pod<const volatile T>::value, ""); in test_is_not_pod()
DAndroid.mk67 test_name := utilities/meta/meta.unary/meta.unary.prop/is_pod
68 test_src := is_pod.pass.cpp
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc327 EXPECT_TRUE(is_pod<bool>::value); in TEST()
328 EXPECT_TRUE(is_pod<char>::value); in TEST()
329 EXPECT_TRUE(is_pod<unsigned char>::value); in TEST()
330 EXPECT_TRUE(is_pod<signed char>::value); in TEST()
331 EXPECT_TRUE(is_pod<wchar_t>::value); in TEST()
332 EXPECT_TRUE(is_pod<int>::value); in TEST()
333 EXPECT_TRUE(is_pod<unsigned int>::value); in TEST()
334 EXPECT_TRUE(is_pod<short>::value); in TEST()
335 EXPECT_TRUE(is_pod<unsigned short>::value); in TEST()
336 EXPECT_TRUE(is_pod<long>::value); in TEST()
[all …]
Dtype_traits.h78 template <class T> struct is_pod;
203 template <class T> struct is_pod
211 template <class T> struct is_pod<const T> : is_pod<T> { };
212 template <class T> struct is_pod<volatile T> : is_pod<T> { };
213 template <class T> struct is_pod<const volatile T> : is_pod<T> { };
221 template <class T> struct has_trivial_constructor : is_pod<T> { };
236 template <class T> struct has_trivial_copy : is_pod<T> { };
249 template <class T> struct has_trivial_assign : is_pod<T> { };
262 template <class T> struct has_trivial_destructor : is_pod<T> { };
/external/chromium_org/third_party/cld/base/
Dmacros.h208 template<> struct is_pod<TypeName> : true_type { }; \
224 template <typename T> struct is_pod<TemplateName<T> > : is_pod<T> { }; \
241 typename base::is_pod<TypeName>::type>) }
Dtype_traits.h80 template <class T> struct is_pod
84 template <class T> struct is_pod<const T> : is_pod<T> { };
92 template <class T> struct has_trivial_constructor : is_pod<T> { };
107 template <class T> struct has_trivial_copy : is_pod<T> { };
120 template <class T> struct has_trivial_assign : is_pod<T> { };
133 template <class T> struct has_trivial_destructor : is_pod<T> { };
/external/clang/test/SemaTemplate/
Dinstantiate-expr-4.cpp202 struct is_pod { struct
206 static int is_pod0[is_pod<X>::value? -1 : 1];
207 static int is_pod1[is_pod<Y>::value? 1 : -1];
349 …return is_pod<X>::value; // expected-error{{non-const lvalue reference to type 'int' cannot bind t… in f()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp83 #if __has_feature(is_pod)
84 int is_pod();
/external/stlport/stlport/
Dtype_traits500 struct is_pod :
516 public integral_constant<bool, is_pod<_Tp>::value>
521 public integral_constant<bool, is_pod<_Tp>::value>
526 public integral_constant<bool, is_pod<_Tp>::value>
531 public integral_constant<bool, is_pod<_Tp>::value>
536 public integral_constant<bool, is_pod<_Tp>::value>
541 public integral_constant<bool, is_pod<_Tp>::value>
546 public integral_constant<bool, is_pod<_Tp>::value>
/external/clang/test/SemaCXX/
Dlibstdcxx_is_pod_hack.cpp39 #if !__has_feature(is_pod)
Dtype-traits.cpp149 void is_pod() in is_pod() function
/external/libcxx/test/language.support/support.types/
Dmax_align_t.disabled.cpp20 static_assert(std::is_pod<std::max_align_t>::value, in main()
/external/clang/bindings/python/tests/cindex/
Dtest_comment.py22 assert test1.type.is_pod()
Dtest_type.py230 assert i.type.is_pod()
231 assert not f.type.is_pod()
/external/stlport/stlport/stl/
Dboost_type_traits.h82 enum { pod = ::boost::is_pod<_Tp>::value };
/external/libcxx/include/
Dtype_traits86 template <class T> struct is_pod;
2946 // is_pod
2948 #if __has_feature(is_pod) || (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
2950 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_pod
2955 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_pod
Dstring1187 static_assert(is_pod<value_type>::value, "Character type of basic_string must be a POD");
/external/clang/bindings/python/clang/
Dcindex.py1781 def is_pod(self): member in Type