Home
last modified time | relevance | path

Searched refs:true_type (Results 1 – 25 of 707) sorted by relevance

12345678910>>...29

/external/libcxx/test/std/utilities/meta/meta.logical/
Dconjunction.pass.cpp26 static_assert ( std::conjunction<std::true_type >::value, "" ); in main()
30 static_assert ( std::conjunction_v<std::true_type >, "" ); in main()
33 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" ); in main()
35 static_assert (!std::conjunction<std::false_type, std::true_type >::value, "" ); in main()
38 static_assert ( std::conjunction_v<std::true_type, std::true_type >, "" ); in main()
39 static_assert (!std::conjunction_v<std::true_type, std::false_type>, "" ); in main()
40 static_assert (!std::conjunction_v<std::false_type, std::true_type >, "" ); in main()
43 … static_assert ( std::conjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
44 … static_assert (!std::conjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
Ddisjunction.pass.cpp26 static_assert ( std::disjunction<std::true_type >::value, "" ); in main()
30 static_assert ( std::disjunction_v<std::true_type >, "" ); in main()
33 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" ); in main()
35 static_assert ( std::disjunction<std::false_type, std::true_type >::value, "" ); in main()
38 static_assert ( std::disjunction_v<std::true_type, std::true_type >, "" ); in main()
39 static_assert ( std::disjunction_v<std::true_type, std::false_type>, "" ); in main()
40 static_assert ( std::disjunction_v<std::false_type, std::true_type >, "" ); in main()
43 … static_assert ( std::disjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
44 … static_assert ( std::disjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
/external/llvm-project/libcxx/test/std/utilities/meta/meta.logical/
Ddisjunction.pass.cpp27 static_assert ( std::disjunction<std::true_type >::value, "" ); in main()
31 static_assert ( std::disjunction_v<std::true_type >, "" ); in main()
34 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" ); in main()
35 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" ); in main()
36 static_assert ( std::disjunction<std::false_type, std::true_type >::value, "" ); in main()
39 static_assert ( std::disjunction_v<std::true_type, std::true_type >, "" ); in main()
40 static_assert ( std::disjunction_v<std::true_type, std::false_type>, "" ); in main()
41 static_assert ( std::disjunction_v<std::false_type, std::true_type >, "" ); in main()
44 … static_assert ( std::disjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
45 … static_assert ( std::disjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
Dconjunction.pass.cpp27 static_assert ( std::conjunction<std::true_type >::value, "" ); in main()
31 static_assert ( std::conjunction_v<std::true_type >, "" ); in main()
34 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" ); in main()
35 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" ); in main()
36 static_assert (!std::conjunction<std::false_type, std::true_type >::value, "" ); in main()
39 static_assert ( std::conjunction_v<std::true_type, std::true_type >, "" ); in main()
40 static_assert (!std::conjunction_v<std::true_type, std::false_type>, "" ); in main()
41 static_assert (!std::conjunction_v<std::false_type, std::true_type >, "" ); in main()
44 … static_assert ( std::conjunction<std::true_type, std::true_type, std::true_type >::value, "" ); in main()
45 … static_assert (!std::conjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
[all …]
/external/llvm-project/pstl/include/pstl/internal/
Dexecution_defs.h63 static constexpr std::true_type
66 return std::true_type{}; in __allow_parallel()
75 static constexpr std::true_type
78 return std::true_type{}; in __allow_unsequenced()
80 static constexpr std::true_type
83 return std::true_type{}; in __allow_vector()
85 static constexpr std::true_type
88 return std::true_type{}; in __allow_parallel()
96 static constexpr std::true_type
99 return std::true_type{}; in __allow_unsequenced()
[all …]
Dalgorithm_fwd.h38 /*__is_vector=*/std::true_type) noexcept;
48 /*parallel=*/std::true_type);
62 /*vector=*/std::true_type) noexcept;
72 /*parallel=*/std::true_type);
82 /*parallel=*/std::true_type);
94 /*vectorTag=*/std::true_type) noexcept;
104 /*is_parallel=*/std::true_type);
114 /*is_parallel=*/std::true_type);
128 /*vector=*/std::true_type) noexcept;
136 /*vector=*/std::true_type) noexcept;
[all …]
Dexecution_impl.h38 __lazy_and(_Tp __a, std::true_type) in __lazy_and() argument
44 std::true_type __lazy_or(_Tp, std::true_type) in __lazy_or() argument
46 return std::true_type{}; in __lazy_or()
89 typedef std::true_type allow_unsequenced;
90 typedef std::true_type allow_vector;
96 typedef std::true_type allow_parallel;
104 typedef std::true_type allow_parallel;
105 typedef std::true_type allow_unsequenced;
106 typedef std::true_type allow_vector;
Dnumeric_fwd.h32 /*__is_vector=*/std::true_type) noexcept;
51 /*is_parallel=*/std::true_type);
59 /*is_vector=*/std::true_type) noexcept;
77 /*is_parallel=*/std::true_type);
93 /*Inclusive*/ std::true_type) noexcept;
106 … _UnaryOperation, _Tp, _BinaryOperation, _Inclusive, _IsVector, /*is_parallel=*/std::true_type);
112 … _UnaryOperation, _Tp, _BinaryOperation, _Inclusive, _IsVector, /*is_parallel=*/std::true_type);
124 /*is_vector*/ std::true_type) noexcept;
136 _IsVector, /*is_parallel*/ std::true_type);
Dalgorithm_impl.h49 /*__is_vector=*/std::true_type) noexcept in __brick_any_of() argument
65 _IsVector __is_vector, /*parallel=*/std::true_type) in __pattern_any_of() argument
102 /*vector=*/std::true_type) noexcept in __brick_walk1() argument
120 /*parallel=*/std::true_type) in __pattern_walk1() argument
141 /*parallel=*/std::true_type) in __pattern_walk_brick() argument
163 /*vectorTag=*/std::true_type) noexcept in __brick_walk1_n() argument
180 /*is_parallel=*/std::true_type) in __pattern_walk1_n() argument
183 std::true_type()); in __pattern_walk1_n()
198 /*is_parallel=*/std::true_type) in __pattern_walk_brick_n() argument
226 /*vector=*/std::true_type) noexcept in __brick_walk2() argument
[all …]
/external/parameter-framework/upstream/utility/
Dconvert.hpp51 struct ConvertionAllowed<bool> : std::true_type
55 struct ConvertionAllowed<long long> : std::true_type
59 struct ConvertionAllowed<unsigned long long> : std::true_type
63 struct ConvertionAllowed<long> : std::true_type
67 struct ConvertionAllowed<unsigned long> : std::true_type
71 struct ConvertionAllowed<int> : std::true_type
75 struct ConvertionAllowed<unsigned int> : std::true_type
79 struct ConvertionAllowed<short> : std::true_type
83 struct ConvertionAllowed<unsigned short> : std::true_type
87 struct ConvertionAllowed<unsigned char> : std::true_type
[all …]
/external/llvm-project/libcxx/test/libcxx/utilities/meta/stress_tests/
Dstress_test_metafunctions.sh.cpp31 using std::true_type;
35 #define TRUE_T() std::true_type,
50 void Foo1(TEST_AND < REPEAT_1000(TRUE_T) true_type > t1) { sink(&t1); } in Foo1()
51 void Foo2(TEST_AND < REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type > t2) { sink(&t2); } in Foo2()
52 void Foo3(TEST_AND < REPEAT_1000(TRUE_T) true_type, false_type > t3) { sink(&t3); } in Foo3() argument
53 void Foo4(TEST_AND < REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type, false_type > t4) { sink(&t4… in Foo4() argument
54 void Foo5(TEST_AND < false_type, REPEAT_1000(TRUE_T) true_type > t5) { sink(&t5); } in Foo5()
55 void Foo6(TEST_AND < false_type, REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type > t6) { sink(&t6… in Foo6()
/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h55 using true_type = bool_constant<true>; variable
62 struct is_array<T[]> : true_type {};
65 struct is_array<T[kSize]> : true_type {};
74 struct is_const<const T> : true_type {};
92 struct is_floating_point<float> : true_type {};
94 struct is_floating_point<double> : true_type {};
96 struct is_floating_point<long double> : true_type {};
113 struct is_integral<bool> : true_type {};
115 struct is_integral<char> : true_type {};
117 struct is_integral<char16_t> : true_type {};
[all …]
/external/llvm-project/libcxx/test/std/utilities/meta/meta.help/
Dintegral_constant.pass.cpp32 static_assert ( std::true_type{}(), "" ); in main()
39 static_assert(std::true_type::value == true, ""); in main()
40 static_assert((std::is_same<std::true_type::value_type, bool>::value), ""); in main()
41 static_assert((std::is_same<std::true_type::type, std::true_type>::value), ""); in main()
47 std::true_type t1; in main()
48 std::true_type t2 = t1; in main()
/external/libcxx/test/std/utilities/meta/meta.help/
Dintegral_constant.pass.cpp33 static_assert ( std::true_type{}(), "" ); in main()
40 static_assert(std::true_type::value == true, ""); in main()
41 static_assert((std::is_same<std::true_type::value_type, bool>::value), ""); in main()
42 static_assert((std::is_same<std::true_type::type, std::true_type>::value), ""); in main()
48 std::true_type t1; in main()
49 std::true_type t2 = t1; in main()
/external/OpenCL-CTS/test_conformance/subgroups/
Dsubhelpers.h398 typedef std::true_type is_vector_type;
407 typedef std::true_type is_sb_vector_size3;
415 typedef std::true_type is_vector_type;
422 typedef std::true_type is_vector_type;
429 typedef std::true_type is_vector_type;
442 typedef std::true_type is_vector_type;
450 typedef std::true_type is_sb_vector_size3;
458 typedef std::true_type is_vector_type;
465 typedef std::true_type is_vector_type;
472 typedef std::true_type is_vector_type;
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtype_traits.h28 struct true_type { struct
41 struct is_quantized<qint8> : true_type {}; argument
43 struct is_quantized<quint8> : true_type {};
45 struct is_quantized<qint32> : true_type {};
47 struct is_quantized<qint16> : true_type {};
49 struct is_quantized<quint16> : true_type {};
57 struct is_complex<std::complex<float>> : true_type {};
59 struct is_complex<std::complex<double>> : true_type {};
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dtype_traits55 using true_type = bool_constant<true>;
62 struct is_array<T[]> : true_type {};
65 struct is_array<T[kSize]> : true_type {};
74 struct is_const<const T> : true_type {};
92 struct is_floating_point<float> : true_type {};
94 struct is_floating_point<double> : true_type {};
96 struct is_floating_point<long double> : true_type {};
113 struct is_integral<bool> : true_type {};
115 struct is_integral<char> : true_type {};
117 struct is_integral<char16_t> : true_type {};
[all …]
/external/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
Dis_always_equal.pass.cpp28 typedef std::true_type is_always_equal;
46 …static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::val… in main()
47 …static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::val… in main()
50 …(std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); in main()
51 …(std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); in main()
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
Dis_always_equal.pass.cpp27 typedef std::true_type is_always_equal;
45 …static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::val… in main()
46 …static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::val… in main()
49 …(std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); in main()
50 …(std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
Duses_allocator.pass.cpp28 static_assert((std::is_base_of<std::true_type, in main()
33 static_assert((std::is_base_of<std::true_type, in main()
38 static_assert((std::is_base_of<std::true_type, in main()
43 static_assert((std::is_base_of<std::true_type, in main()
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.traits/
Duses_allocator.pass.cpp29 static_assert((std::is_base_of<std::true_type, in main()
34 static_assert((std::is_base_of<std::true_type, in main()
39 static_assert((std::is_base_of<std::true_type, in main()
44 static_assert((std::is_base_of<std::true_type, in main()
/external/openscreen/third_party/abseil/src/absl/types/internal/
Dconformance_testing_helpers.h95 : std::true_type {
130 struct IsEquivalenceClass<EquivalenceClassType<>> : std::true_type {
136 using for_type = std::true_type;
141 : std::true_type {
190 struct AreGeneratorsWithTheSameReturnTypeImpl<void> : std::true_type {};
196 Head, Tail...> : std::true_type {};
215 struct AreEquivalenceClassesOfTheSameType<> : std::true_type {
223 using for_type = std::true_type;
228 : std::true_type {
/external/angle/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing_helpers.h95 : std::true_type {
130 struct IsEquivalenceClass<EquivalenceClassType<>> : std::true_type {
136 using for_type = std::true_type;
141 : std::true_type {
190 struct AreGeneratorsWithTheSameReturnTypeImpl<void> : std::true_type {};
196 Head, Tail...> : std::true_type {};
215 struct AreEquivalenceClassesOfTheSameType<> : std::true_type {
223 using for_type = std::true_type;
228 : std::true_type {
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing_helpers.h95 : std::true_type {
130 struct IsEquivalenceClass<EquivalenceClassType<>> : std::true_type {
136 using for_type = std::true_type;
141 : std::true_type {
190 struct AreGeneratorsWithTheSameReturnTypeImpl<void> : std::true_type {};
196 Head, Tail...> : std::true_type {};
215 struct AreEquivalenceClassesOfTheSameType<> : std::true_type {
223 using for_type = std::true_type;
228 : std::true_type {
/external/libtextclassifier/abseil-cpp/absl/types/internal/
Dconformance_testing_helpers.h95 : std::true_type {
130 struct IsEquivalenceClass<EquivalenceClassType<>> : std::true_type {
136 using for_type = std::true_type;
141 : std::true_type {
190 struct AreGeneratorsWithTheSameReturnTypeImpl<void> : std::true_type {};
196 Head, Tail...> : std::true_type {};
215 struct AreEquivalenceClassesOfTheSameType<> : std::true_type {
223 using for_type = std::true_type;
228 : std::true_type {

12345678910>>...29