Home
last modified time | relevance | path

Searched refs:is_trivially_copyable (Results 1 – 25 of 30) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_trivially_copyable.pass.cpp25 static_assert( std::is_trivially_copyable<T>::value, ""); in test_is_trivially_copyable()
26 static_assert( std::is_trivially_copyable<const T>::value, ""); in test_is_trivially_copyable()
27 static_assert( std::is_trivially_copyable<volatile T>::value, ""); in test_is_trivially_copyable()
28 static_assert( std::is_trivially_copyable<const volatile T>::value, ""); in test_is_trivially_copyable()
40 static_assert(!std::is_trivially_copyable<T>::value, ""); in test_is_not_trivially_copyable()
41 static_assert(!std::is_trivially_copyable<const T>::value, ""); in test_is_not_trivially_copyable()
42 static_assert(!std::is_trivially_copyable<volatile T>::value, ""); in test_is_not_trivially_copyable()
43 static_assert(!std::is_trivially_copyable<const volatile T>::value, ""); in test_is_not_trivially_copyable()
/external/google-fruit/include/fruit/impl/
Dfruit-config.h25 …(std::is_trivially_copyable<T>::value || (std::is_empty<T>::value && std::is_trivially_copy_constr…
27 #define FRUIT_IS_TRIVIALLY_COPYABLE(T) (std::is_trivially_copyable<T>::value)
49 …(std::is_trivially_copyable<T>::value || (std::is_empty<T>::value && std::is_trivially_copy_constr…
51 #define FRUIT_IS_TRIVIALLY_COPYABLE(T) (std::is_trivially_copyable<T>::value)
/external/llvm/include/llvm/Support/
Dtype_traits.h35 #if (__has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)) || \
39 static const bool value = std::is_trivially_copyable<T>::value;
40 #elif __has_feature(is_trivially_copyable)
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dtype_traits.h35 #if (__has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)) || \
39 static const bool value = std::is_trivially_copyable<T>::value;
40 #elif __has_feature(is_trivially_copyable)
/external/libchrome/base/
Dtemplate_util.h115 struct is_trivially_copyable {
128 using is_trivially_copyable = std::is_trivially_copyable<T>;
Dbit_cast.h67 static_assert(base::is_trivially_copyable<Dest>::value, in bit_cast()
69 static_assert(base::is_trivially_copyable<Source>::value, in bit_cast()
Dtemplate_util_unittest.cc89 static_assert(base::is_trivially_copyable<TrivialCopy>::value,
91 static_assert(!base::is_trivially_copyable<TrivialCopyButWithDestructor>::value,
/external/libcxx/test/support/test.workarounds/
Dc1xx_broken_is_trivially_copyable.pass.cpp31 static_assert(!std::is_trivially_copyable<S>::value, ""); in main()
33 static_assert(std::is_trivially_copyable<S>::value, ""); in main()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp108 #if __has_feature(is_trivially_copyable)
109 int is_trivially_copyable();
/external/pdfium/third_party/base/
Dtemplate_util.h182 struct is_trivially_copyable {
194 using is_trivially_copyable = std::is_trivially_copyable<T>;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Dtype_traits.h34 #if (__has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)) || \
38 static const bool value = std::is_trivially_copyable<T>::value;
39 #elif __has_feature(is_trivially_copyable)
/external/libchrome/base/containers/
Dvector_buffer.h108 typename std::enable_if<base::is_trivially_copyable<T2>::value,
119 !base::is_trivially_copyable<T2>::value,
135 !base::is_trivially_copyable<T2>::value,
/external/v8/src/base/
Dmacros.h210 struct is_trivially_copyable { struct
249 static constexpr bool value = std::is_trivially_copyable<T>::value;
259 static_assert(::v8::base::is_trivially_copyable<T>::value, \
262 static_assert(!::v8::base::is_trivially_copyable<T>::value, \
/external/google-fruit/configuration/
DCMakeLists.txt60 bool b = std::is_trivially_copyable<int>::value;
211is_trivially_copyable<T>, and the current compiler doesn't support __is_trivially_copyable(T) nor …
/external/libcxx/test/std/utilities/function.objects/refwrap/
Dtype_properties.pass.cpp52 static_assert(std::is_trivially_copyable<Wrap>::value, ""); in test()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/
Dsuspend_never.pass.cpp68 static_assert(std::is_trivially_copyable<S>::value, ""); in main()
Dsuspend_always.pass.cpp66 static_assert(std::is_trivially_copyable<S>::value, ""); in main()
/external/perfetto/include/perfetto/base/
Dutils.h80 #define PERFETTO_IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DOptionalTest.cpp521 #if __has_feature(is_trivially_copyable) && defined(_LIBCPP_VERSION)
522 static_assert(std::is_trivially_copyable<Optional<int>>::value,
525 !std::is_trivially_copyable<Optional<NonDefaultConstructible>>::value,
/external/v8/src/
Dallocation.h50 base::is_trivially_copyable<T>::value>::type>
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeHashing.h142 static_assert(std::is_trivially_copyable<GloballyHashedType>::value,
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dcopy.pass.cpp256 static_assert(std::is_trivially_copyable<V>::value, ""); in test_constexpr_copy_ctor()
Dmove.pass.cpp326 static_assert(std::is_trivially_copyable<V>::value, ""); in test_constexpr_move_ctor()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dmove.pass.cpp501 static_assert(std::is_trivially_copyable<V>::value, ""); in test_constexpr_move_assignment()
Dcopy.pass.cpp585 static_assert(std::is_trivially_copyable<V>::value, ""); in test_constexpr_copy_assignment()

12