Home
last modified time | relevance | path

Searched refs:is_trivial (Results 1 – 25 of 60) sorted by relevance

123

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_trivial.pass.cpp20 static_assert( std::is_trivial<T>::value, ""); in test_is_trivial()
21 static_assert( std::is_trivial<const T>::value, ""); in test_is_trivial()
22 static_assert( std::is_trivial<volatile T>::value, ""); in test_is_trivial()
23 static_assert( std::is_trivial<const volatile T>::value, ""); in test_is_trivial()
35 static_assert(!std::is_trivial<T>::value, ""); in test_is_not_trivial()
36 static_assert(!std::is_trivial<const T>::value, ""); in test_is_not_trivial()
37 static_assert(!std::is_trivial<volatile T>::value, ""); in test_is_not_trivial()
38 static_assert(!std::is_trivial<const volatile T>::value, ""); in test_is_not_trivial()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_trivial.pass.cpp19 static_assert( std::is_trivial<T>::value, ""); in test_is_trivial()
20 static_assert( std::is_trivial<const T>::value, ""); in test_is_trivial()
21 static_assert( std::is_trivial<volatile T>::value, ""); in test_is_trivial()
22 static_assert( std::is_trivial<const volatile T>::value, ""); in test_is_trivial()
34 static_assert(!std::is_trivial<T>::value, ""); in test_is_not_trivial()
35 static_assert(!std::is_trivial<const T>::value, ""); in test_is_not_trivial()
36 static_assert(!std::is_trivial<volatile T>::value, ""); in test_is_not_trivial()
37 static_assert(!std::is_trivial<const volatile T>::value, ""); in test_is_not_trivial()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Daligned_storage.pass.cpp31 static_assert(std::is_trivial<T1>::value, ""); in main()
44 static_assert(std::is_trivial<T1>::value, ""); in main()
57 static_assert(std::is_trivial<T1>::value, ""); in main()
70 static_assert(std::is_trivial<T1>::value, ""); in main()
83 static_assert(std::is_trivial<T1>::value, ""); in main()
96 static_assert(std::is_trivial<T1>::value, ""); in main()
109 static_assert(std::is_trivial<T1>::value, ""); in main()
122 static_assert(std::is_trivial<T1>::value, ""); in main()
135 static_assert(std::is_trivial<T1>::value, ""); in main()
148 static_assert(std::is_trivial<T1>::value, ""); in main()
[all …]
Daligned_union.pass.cpp30 static_assert(std::is_trivial<T1>::value, ""); in main()
40 static_assert(std::is_trivial<T1>::value, ""); in main()
50 static_assert(std::is_trivial<T1>::value, ""); in main()
60 static_assert(std::is_trivial<T1>::value, ""); in main()
70 static_assert(std::is_trivial<T1>::value, ""); in main()
80 static_assert(std::is_trivial<T1>::value, ""); in main()
90 static_assert(std::is_trivial<T1>::value, ""); in main()
100 static_assert(std::is_trivial<T1>::value, ""); in main()
110 static_assert(std::is_trivial<T1>::value, ""); in main()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Daligned_storage.pass.cpp44 static_assert(std::is_trivial<T1>::value, ""); in main()
57 static_assert(std::is_trivial<T1>::value, ""); in main()
70 static_assert(std::is_trivial<T1>::value, ""); in main()
83 static_assert(std::is_trivial<T1>::value, ""); in main()
96 static_assert(std::is_trivial<T1>::value, ""); in main()
109 static_assert(std::is_trivial<T1>::value, ""); in main()
122 static_assert(std::is_trivial<T1>::value, ""); in main()
135 static_assert(std::is_trivial<T1>::value, ""); in main()
148 static_assert(std::is_trivial<T1>::value, ""); in main()
161 static_assert(std::is_trivial<T1>::value, ""); in main()
[all …]
Daligned_union.pass.cpp27 static_assert(std::is_trivial<T1>::value, ""); in main()
37 static_assert(std::is_trivial<T1>::value, ""); in main()
47 static_assert(std::is_trivial<T1>::value, ""); in main()
57 static_assert(std::is_trivial<T1>::value, ""); in main()
67 static_assert(std::is_trivial<T1>::value, ""); in main()
77 static_assert(std::is_trivial<T1>::value, ""); in main()
87 static_assert(std::is_trivial<T1>::value, ""); in main()
97 static_assert(std::is_trivial<T1>::value, ""); in main()
107 static_assert(std::is_trivial<T1>::value, ""); in main()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_trivial_binary.cc113 bool is_trivial = false; in Run() local
115 is_trivial = AreAllBufferElementsEqualTo(constant_input_float_data, 0.f); in Run()
117 is_trivial = index_of_constant_input == 1 && in Run()
120 is_trivial = AreAllBufferElementsEqualTo(constant_input_float_data, 1.f); in Run()
122 is_trivial = index_of_constant_input == 1 && in Run()
126 is_trivial = is_trivial && binary_op->fused_activation_function == in Run()
129 if (!is_trivial) { in Run()
Dremove_trivial_concatenation_input.cc48 const bool is_trivial = in Run() local
50 if (is_trivial) { in Run()
/external/llvm-project/pstl/include/pstl/internal/
Dglue_memory_impl.h43 …std::integral_constant < bool, std::is_trivial<_ValueType1>::value&& std::is_trivial<_ValueType2>:… in uninitialized_copy()
77 …std::integral_constant < bool, std::is_trivial<_ValueType1>::value&& std::is_trivial<_ValueType2>:… in uninitialized_copy_n()
112 …std::integral_constant < bool, std::is_trivial<_ValueType1>::value&& std::is_trivial<_ValueType2>:… in uninitialized_move()
146 …std::integral_constant < bool, std::is_trivial<_ValueType1>::value&& std::is_trivial<_ValueType2>:… in uninitialized_move_n()
283 __pstl::__internal::__invoke_if_not(std::is_trivial<_ValueType>(), [&]() { in uninitialized_default_construct()
303 std::is_trivial<_ValueType>(), [&]() { return std::next(__first, __n); }, in uninitialized_default_construct_n()
326 std::is_trivial<_ValueType>(), in uninitialized_value_construct()
355 std::is_trivial<_ValueType>(), in uninitialized_value_construct_n()
/external/webrtc/rtc_base/
Dbounded_inline_vector_impl.h121 bool is_trivial = std::is_trivial<T>::value,
124 static_assert(!std::is_trivial<T>::value, "");
170 static_assert(std::is_trivial<T>::value, "");
192 static_assert(std::is_trivial<T>::value, "");
Dzero_memory.h28 std::is_trivial<T>::value>::type* = nullptr>
/external/autotest/server/cros/dynamic_suite/
Dhost_spec_unittest.py52 self.assertTrue(self._SPECS[0].is_trivial)
53 self.assertTrue(self._SPECS[1].is_trivial)
54 self.assertFalse(self._SPECS[2].is_trivial)
/external/tensorflow/tensorflow/core/framework/
Dtensor_test.cc89 EXPECT_TRUE(std::is_trivial<float>::value); in TEST()
90 EXPECT_TRUE(std::is_trivial<double>::value); in TEST()
91 EXPECT_TRUE(std::is_trivial<int32>::value); in TEST()
92 EXPECT_TRUE(std::is_trivial<uint8>::value); in TEST()
93 EXPECT_TRUE(std::is_trivial<uint16>::value); in TEST()
94 EXPECT_TRUE(std::is_trivial<int16>::value); in TEST()
95 EXPECT_TRUE(std::is_trivial<int8>::value); in TEST()
96 EXPECT_TRUE(std::is_trivial<int64>::value); in TEST()
97 EXPECT_TRUE(std::is_trivial<bool>::value); in TEST()
98 EXPECT_FALSE(std::is_trivial<tstring>::value); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops_common.h152 bool is_trivial = helper.ndims() == 0 ||
154 if (is_scalar_identity && is_trivial) {
174 if (data.NumElements() > 0 && is_trivial && !is_scalar_identity) {
/external/libcxx/test/std/utilities/tuple/tuple.general/
Dignore.pass.cpp52 LIBCPP_STATIC_ASSERT(std::is_trivial<decltype(std::ignore)>::value, ""); in main()
/external/llvm-project/libcxx/test/std/language.support/support.types/
Dbyte.pass.cpp19 static_assert( std::is_trivial<std::byte>::value, "" ); // P0767
Dmax_align_t.pass.cpp25 static_assert(std::is_trivial<std::max_align_t>::value, in main()
/external/libcxx/test/std/language.support/support.types/
Dbyte.pass.cpp20 static_assert( std::is_trivial<std::byte>::value, "" ); // P0767
Dmax_align_t.pass.cpp24 static_assert(std::is_trivial<std::max_align_t>::value, in main()
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.general/
Dignore.pass.cpp51 LIBCPP_STATIC_ASSERT(std::is_trivial<decltype(std::ignore)>::value, ""); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/
Dchar.bad.fail.cpp41 static_assert(!std::is_trivial<NotTrivial>::value, ""); in main()
/external/libcxx/test/std/strings/string.view/
Dchar.bad.fail.cpp42 static_assert(!std::is_trivial<NotTrivial>::value, ""); in main()
/external/llvm-project/libcxx/test/std/strings/string.view/
Dchar.bad.fail.cpp41 static_assert(!std::is_trivial<NotTrivial>::value, ""); in main()
/external/libcxx/test/std/strings/basic.string/
Dchar.bad.fail.cpp42 static_assert(!std::is_trivial<NotTrivial>::value, ""); in main()
/external/swiftshader/src/Vulkan/
DVulkanPlatform.hpp33 …static_assert(std::is_trivial<VkNonDispatchableHandle<T>>::value, "VkNonDispatchableHandle<T> is n… in operator void*()

123