Home
last modified time | relevance | path

Searched refs:false_type (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/external/libcxx/test/std/utilities/meta/meta.logical/
Dconjunction.pass.cpp27 static_assert (!std::conjunction<std::false_type>::value, "" ); in main()
31 static_assert (!std::conjunction_v<std::false_type>, "" ); 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()
36 static_assert (!std::conjunction<std::false_type, std::false_type>::value, "" ); 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()
41 static_assert (!std::conjunction_v<std::false_type, std::false_type>, "" ); in main()
44 … static_assert (!std::conjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
45 … static_assert (!std::conjunction<std::false_type, std::true_type, std::true_type >::value, "" ); in main()
[all …]
Ddisjunction.pass.cpp27 static_assert (!std::disjunction<std::false_type>::value, "" ); in main()
31 static_assert (!std::disjunction_v<std::false_type>, "" ); 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()
36 static_assert (!std::disjunction<std::false_type, std::false_type>::value, "" ); 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()
41 static_assert (!std::disjunction_v<std::false_type, std::false_type>, "" ); in main()
44 … static_assert ( std::disjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
45 … static_assert ( std::disjunction<std::false_type, std::true_type, std::true_type >::value, "" ); in main()
[all …]
Dnegation.pass.cpp26 static_assert ( std::negation<std::false_type>::value, "" ); in main()
29 static_assert ( std::negation_v<std::false_type>, "" ); in main()
38 static_assert (!std::negation<std::negation<std::false_type>>::value, "" ); in main()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.logical/
Ddisjunction.pass.cpp28 static_assert (!std::disjunction<std::false_type>::value, "" ); in main()
32 static_assert (!std::disjunction_v<std::false_type>, "" ); 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()
37 static_assert (!std::disjunction<std::false_type, std::false_type>::value, "" ); 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()
42 static_assert (!std::disjunction_v<std::false_type, std::false_type>, "" ); in main()
45 … static_assert ( std::disjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
46 … static_assert ( std::disjunction<std::false_type, std::true_type, std::true_type >::value, "" ); in main()
[all …]
Dconjunction.pass.cpp28 static_assert (!std::conjunction<std::false_type>::value, "" ); in main()
32 static_assert (!std::conjunction_v<std::false_type>, "" ); 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()
37 static_assert (!std::conjunction<std::false_type, std::false_type>::value, "" ); 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()
42 static_assert (!std::conjunction_v<std::false_type, std::false_type>, "" ); in main()
45 … static_assert (!std::conjunction<std::true_type, std::false_type, std::true_type >::value, "" ); in main()
46 … static_assert (!std::conjunction<std::false_type, std::true_type, std::true_type >::value, "" ); in main()
[all …]
Dnegation.pass.cpp27 static_assert ( std::negation<std::false_type>::value, "" ); in main()
30 static_assert ( std::negation_v<std::false_type>, "" ); in main()
39 static_assert (!std::negation<std::negation<std::false_type>>::value, "" ); in main()
/external/llvm-project/pstl/include/pstl/internal/
Dexecution_defs.h31 static constexpr std::false_type
34 return std::false_type{}; in __allow_unsequenced()
36 static constexpr std::false_type
39 return std::false_type{}; in __allow_vector()
41 static constexpr std::false_type
44 return std::false_type{}; in __allow_parallel()
53 static constexpr std::false_type
56 return std::false_type{}; in __allow_unsequenced()
58 static constexpr std::false_type
61 return std::false_type{}; in __allow_vector()
[all …]
Dalgorithm_fwd.h33 /*__is_vector=*/std::false_type) noexcept;
43 /*parallel=*/std::false_type) noexcept;
58 /*vector=*/std::false_type) noexcept;
67 /*parallel=*/std::false_type) noexcept;
77 /*parallel=*/std::false_type) noexcept;
90 /*_IsVectorTag=*/std::false_type);
99 /*is_parallel=*/std::false_type) noexcept;
109 /*is_parallel=*/std::false_type) noexcept;
124 /*vector=*/std::false_type) noexcept;
132 /*vector=*/std::false_type) noexcept;
[all …]
Dexecution_impl.h31 std::false_type __lazy_and(_Tp, std::false_type) in __lazy_and() argument
33 return std::false_type{}; in __lazy_and()
51 __lazy_or(_Tp __a, std::false_type) in __lazy_or() argument
80 typedef std::false_type allow_parallel;
81 typedef std::false_type allow_unsequenced;
82 typedef std::false_type allow_vector;
88 typedef std::false_type allow_parallel;
97 typedef std::false_type allow_unsequenced;
98 typedef std::false_type allow_vector;
Dnumeric_fwd.h37 /*__is_vector=*/std::false_type) noexcept;
44 /*is_parallel=*/std::false_type) noexcept;
63 /*is_vector=*/std::false_type) noexcept;
70 /*is_parallel=*/std::false_type) noexcept;
88 /*Inclusive*/ std::false_type) noexcept;
100 /*is_parallel=*/std::false_type) noexcept;
120 /*is_vector*/ std::false_type) noexcept;
130 _IsVector, /*is_parallel*/ std::false_type) noexcept;
Dalgorithm_impl.h41 /*__is_vector=*/std::false_type) noexcept in __brick_any_of() argument
57 _IsVector __is_vector, /*parallel=*/std::false_type) noexcept in __pattern_any_of() argument
94 …rwardIterator __first, _ForwardIterator __last, _Function __f, /*vector=*/std::false_type) noexcept in __brick_walk1() argument
111 /*parallel=*/std::false_type) noexcept in __pattern_walk1() argument
133 /*parallel=*/std::false_type) noexcept in __pattern_walk_brick() argument
154 …brick_walk1_n(_ForwardIterator __first, _Size __n, _Function __f, /*_IsVectorTag=*/std::false_type) in __brick_walk1_n() argument
171 /*is_parallel=*/std::false_type) noexcept in __pattern_walk1_n() argument
190 /*is_parallel=*/std::false_type) noexcept in __pattern_walk_brick_n() argument
216 /*vector=*/std::false_type) noexcept in __brick_walk2() argument
234 /*vector=*/std::false_type) noexcept in __brick_walk2_n() argument
[all …]
Dnumeric_impl.h38 /*is_vector=*/std::false_type) noexcept in __brick_transform_reduce() argument
61 /*is_parallel=*/std::false_type) noexcept in __pattern_transform_reduce() argument
96 _UnaryOperation __unary_op, /*is_vector=*/std::false_type) noexcept in __brick_transform_reduce() argument
117 /*is_parallel=*/std::false_type) noexcept in __pattern_transform_reduce() argument
150 /*Inclusive*/ std::false_type, /*is_vector=*/std::false_type) noexcept in __brick_transform_scan() argument
166 /*Inclusive*/ std::true_type, /*is_vector=*/std::false_type) noexcept in __brick_transform_scan() argument
197 /*is_vector=*/std::false_type()); in __brick_transform_scan()
209 /*is_vector=*/std::false_type()); in __brick_transform_scan()
217 … _Inclusive, _IsVector __is_vector, /*is_parallel=*/std::false_type) noexcept in __pattern_transform_scan() argument
242 /*__is_vector*/ std::false_type()); in __pattern_transform_scan()
[all …]
/external/llvm-project/libcxx/test/std/utilities/meta/meta.help/
Dintegral_constant.pass.cpp35 static_assert(std::false_type::value == false, ""); in main()
36 static_assert((std::is_same<std::false_type::value_type, bool>::value), ""); in main()
37 static_assert((std::is_same<std::false_type::type, std::false_type>::value), ""); in main()
43 std::false_type f1; in main()
44 std::false_type f2 = f1; in main()
/external/libcxx/test/std/utilities/meta/meta.help/
Dintegral_constant.pass.cpp36 static_assert(std::false_type::value == false, ""); in main()
37 static_assert((std::is_same<std::false_type::value_type, bool>::value), ""); in main()
38 static_assert((std::is_same<std::false_type::type, std::false_type>::value), ""); in main()
44 std::false_type f1; in main()
45 std::false_type f2 = f1; in main()
/external/llvm-project/libcxx/test/libcxx/utilities/meta/stress_tests/
Dstress_test_metafunctions.sh.cpp32 using std::false_type;
34 #define FALSE_T() std::false_type,
52 void Foo3(TEST_AND < REPEAT_1000(TRUE_T) true_type, false_type > t3) { sink(&t3); } in Foo3()
53 void Foo4(TEST_AND < REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type, false_type > t4) { sink(&t4… in Foo4()
54 void Foo5(TEST_AND < false_type, REPEAT_1000(TRUE_T) true_type > t5) { sink(&t5); } in Foo5() argument
55 void Foo6(TEST_AND < false_type, REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type > t6) { sink(&t6… in Foo6() argument
/external/llvm-project/pstl/test/std/numerics/numeric.ops/
Dscan.fail.cpp17 constexpr std::false_type
20 return std::false_type{}; in __allow_vector()
22 constexpr std::false_type
25 return std::false_type{}; in __allow_parallel()
/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h56 using false_type = bool_constant<false>; variable
59 struct is_array : false_type {};
71 struct is_const : false_type {};
78 struct is_enum : false_type {};
89 struct is_floating_point : false_type {};
110 struct is_integral : false_type {};
158 struct is_null_pointer : false_type {};
167 struct is_pointer : false_type {};
176 struct is_same : false_type {};
190 struct is_signed<T, false> : false_type {};
[all …]
/external/pdfium/third_party/base/
Dtemplate_util.h41 template <class T> struct is_non_const_reference : std::false_type {};
43 template <class T> struct is_non_const_reference<const T&> : std::false_type {};
68 struct SupportsOstreamOperator : std::false_type {};
79 struct is_iterator : std::false_type {};
141 struct is_trivially_copy_constructible<std::vector<T...>> : std::false_type {};
/external/libchrome/base/
Dtemplate_util.h41 template <class T> struct is_non_const_reference : std::false_type {};
43 template <class T> struct is_non_const_reference<const T&> : std::false_type {};
68 struct SupportsOstreamOperator : std::false_type {};
79 struct is_iterator : std::false_type {};
141 struct is_trivially_copy_constructible<std::vector<T...>> : std::false_type {};
/external/libcxx/test/support/
Dcharconv_test_helpers.h25 using std::false_type;
37 is_non_narrowing(...) -> false_type
51 _fits_in(T v, false_type, true_type /* T signed*/, true_type /* X signed */) in _fits_in() argument
58 _fits_in(T v, false_type, true_type /* T signed */, false_type /* X unsigned*/) in _fits_in() argument
65 _fits_in(T v, false_type, false_type /* T unsigned */, ...) in _fits_in() argument
132 static auto fromchars(char const* p, char const* ep, int base, false_type) in fromchars()
/external/pigweed/pw_polyfill/
Dtest.cc193 static_assert(!std::conjunction<std::true_type, std::false_type>::value); in TEST()
194 static_assert(!std::conjunction<std::false_type, std::false_type>::value); in TEST()
197 static_assert(std::disjunction<std::true_type, std::false_type>::value); in TEST()
198 static_assert(!std::disjunction<std::false_type, std::false_type>::value); in TEST()
201 static_assert(std::negation<std::false_type>::value); in TEST()
/external/llvm-project/clang/test/SemaCXX/
Dint-ptr-cast-SFINAE.cpp10 struct false_type { static const bool value = false; }; struct
16 typename select<(sizeof(declval<T>() -= declval<T>(), 1) != 1), true_type, false_type>::type test(.…
17 template<typename T> false_type test(...);
/external/llvm-project/libcxx/test/support/
Dcharconv_test_helpers.h24 using std::false_type;
36 is_non_narrowing(...) -> false_type
50 _fits_in(T v, false_type, true_type /* T signed*/, true_type /* X signed */) in _fits_in() argument
57 _fits_in(T v, false_type, true_type /* T signed */, false_type /* X unsigned*/) in _fits_in() argument
64 _fits_in(T v, false_type, false_type /* T unsigned */, ...) in _fits_in() argument
131 static unsigned long long fromchars(char const* p, char const* ep, int base, false_type) in fromchars()
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dtype_traits56 using false_type = bool_constant<false>;
59 struct is_array : false_type {};
71 struct is_const : false_type {};
78 struct is_enum : false_type {};
89 struct is_floating_point : false_type {};
110 struct is_integral : false_type {};
158 struct is_null_pointer : false_type {};
167 struct is_pointer : false_type {};
176 struct is_same : false_type {};
190 struct is_signed<T, false> : false_type {};
[all …]
/external/libcxx/test/std/strings/basic.string/string.cons/
Dmove_assign_noexcept.pass.cpp48 typedef std::false_type propagate_on_container_move_assignment;
62 typedef std::false_type propagate_on_container_move_assignment;
63 typedef std::false_type is_always_equal;

12345678910>>...26