/third_party/boost/libs/hana/test/detail/ |
D | any_of.cpp | 12 struct is_even { struct 17 static_assert(!hana::detail::any_of<is_even>::value, ""); argument 18 static_assert(!hana::detail::any_of<is_even, hana::int_<1>>::value, ""); 19 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>>::value, ""); 20 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>, hana::int_<5>>::value, "… 21 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>, hana::int_<5>, hana::int… 23 static_assert(hana::detail::any_of<is_even, hana::int_<0>>::value, ""); 24 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>>::value, ""); 25 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>, hana::int_<4>>::value, ""… 26 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>, hana::int_<4>, hana::int_… [all …]
|
/third_party/boost/libs/algorithm/test/ |
D | copy_if_test1.cpp | 33 BOOST_CXX14_CONSTEXPR bool is_even ( int v ) { return v % 2 == 0; } in is_even() function 67 ba::copy_if ( c.begin (), c.end (), back_inserter ( v ), is_even ); in test_copy_if() 68 BOOST_CHECK ( v.size () == (size_t) std::count_if ( c.begin (), c.end (), is_even )); in test_copy_if() 69 BOOST_CHECK ( ba::all_of ( v.begin (), v.end (), is_even )); in test_copy_if() 72 ba::copy_if ( c, back_inserter ( v ), is_even ); in test_copy_if() 73 BOOST_CHECK ( v.size () == (size_t) std::count_if ( c.begin (), c.end (), is_even )); in test_copy_if() 74 BOOST_CHECK ( ba::all_of ( v.begin (), v.end (), is_even )); in test_copy_if() 107 it = ba::copy_while ( c.begin (), c.end (), back_inserter ( v ), is_even ).first; in test_copy_while() 109 BOOST_CHECK ( it == c.end () || !is_even ( *it )); in test_copy_while() 110 BOOST_CHECK ( ba::all_of ( v.begin (), v.end (), is_even )); in test_copy_while() [all …]
|
D | gather_test1.cpp | 86 bool is_even ( int i ) { return i % 2 == 0; } in is_even() function 98 test_iterator_types ( v, is_even, 0 ); in test_sequence1() 99 test_iterator_types ( v, is_even, 5 ); in test_sequence1() 100 test_iterator_types ( v, is_even, v.size () - 1 ); in test_sequence1()
|
/third_party/boost/libs/hana/test/_include/laws/ |
D | searchable.hpp | 168 BOOST_HANA_CONSTEXPR_LAMBDA auto is_even = [](auto x) { in __anon688af1610902() member 233 hana::not_(hana::any_of(list(1), is_even)) 236 hana::any_of(list(2), is_even) 239 hana::any_of(list(1, 2), is_even) 242 hana::not_(hana::any_of(list(1, 3), is_even)) 245 hana::any_of(list(1, 3, 4), is_even) 275 BOOST_HANA_CONSTEXPR_CHECK(not_(all_of(list(1), is_even))); 276 BOOST_HANA_CONSTEXPR_CHECK(all_of(list(2), is_even)); 277 BOOST_HANA_CONSTEXPR_CHECK(all_of(list(2, 4), is_even)); 278 BOOST_HANA_CONSTEXPR_CHECK(not_(all_of(list(1, 2), is_even))); [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 80 static void FixupMultiply10(int estimated_power, bool is_even, 88 bool is_even, 124 bool is_even = (significand & 1) == 0; in BignumDtoa() local 157 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 167 is_even, buffer, length); in BignumDtoa() 201 bool is_even, in GenerateShortestDigits() argument 224 if (is_even) { in GenerateShortestDigits() 229 if (is_even) { in GenerateShortestDigits() 626 static void FixupMultiply10(int estimated_power, bool is_even, in FixupMultiply10() argument 631 if (is_even) { in FixupMultiply10()
|
/third_party/icu/icu4c/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 80 static void FixupMultiply10(int estimated_power, bool is_even, 88 bool is_even, 124 bool is_even = (significand & 1) == 0; in BignumDtoa() local 157 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 167 is_even, buffer, length); in BignumDtoa() 201 bool is_even, in GenerateShortestDigits() argument 224 if (is_even) { in GenerateShortestDigits() 229 if (is_even) { in GenerateShortestDigits() 626 static void FixupMultiply10(int estimated_power, bool is_even, in FixupMultiply10() argument 631 if (is_even) { in FixupMultiply10()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | bignum-dtoa.cc | 66 static void FixupMultiply10(int estimated_power, bool is_even, 74 bool is_even, 110 bool is_even = (significand & 1) == 0; in BignumDtoa() local 143 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 153 is_even, buffer, length); in BignumDtoa() 187 bool is_even, in GenerateShortestDigits() argument 210 if (is_even) { in GenerateShortestDigits() 215 if (is_even) { in GenerateShortestDigits() 612 static void FixupMultiply10(int estimated_power, bool is_even, in FixupMultiply10() argument 617 if (is_even) { in FixupMultiply10()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 80 static void FixupMultiply10(int estimated_power, bool is_even, 88 bool is_even, 124 bool is_even = (significand & 1) == 0; in BignumDtoa() local 157 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 167 is_even, buffer, length); in BignumDtoa() 201 bool is_even, in GenerateShortestDigits() argument 224 if (is_even) { in GenerateShortestDigits() 229 if (is_even) { in GenerateShortestDigits() 626 static void FixupMultiply10(int estimated_power, bool is_even, in FixupMultiply10() argument 631 if (is_even) { in FixupMultiply10()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 80 static void FixupMultiply10(int estimated_power, bool is_even, 88 bool is_even, 124 bool is_even = (significand & 1) == 0; in BignumDtoa() local 157 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 167 is_even, buffer, length); in BignumDtoa() 201 bool is_even, in GenerateShortestDigits() argument 224 if (is_even) { in GenerateShortestDigits() 229 if (is_even) { in GenerateShortestDigits() 626 static void FixupMultiply10(int estimated_power, bool is_even, in FixupMultiply10() argument 631 if (is_even) { in FixupMultiply10()
|
/third_party/boost/libs/test/doc/examples/ |
D | example30.run-fail.cpp | 12 bool is_even( int i ) in is_even() function 19 BOOST_CHECK_PREDICATE( is_even, (14) ); in BOOST_AUTO_TEST_CASE() 22 BOOST_CHECK_PREDICATE( is_even, (i) ); in BOOST_AUTO_TEST_CASE()
|
D | example30.output | 4 test.cpp(13): error in "test_is_even": check is_even( i ) has failed for ( 17 )
|
/third_party/skia/resources/sksl/runtime_errors/ |
D | IllegalRecursionMutual.rts | 4 bool is_even(int n); 5 bool is_odd (int n) { return n == 0 ? false : is_even(n - 1); } 6 bool is_even(int n) { return n == 0 ? true : is_odd (n - 1); }
|
/third_party/boost/boost/mpl/math/ |
D | is_even.hpp | 40 struct is_even struct 47 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_even,(N)) 50 BOOST_MPL_AUX_NA_SPEC(1, is_even)
|
/third_party/boost/libs/range/test/adaptor_test/ |
D | replaced_if_example.cpp | 28 struct is_even struct 45 input | replaced_if(is_even(), 10), in replaced_if_example_test() 55 boost::push_back(test, input | replaced_if(is_even(), 10)); in replaced_if_example_test()
|
D | filtered_example.cpp | 28 struct is_even struct 45 input | filtered(is_even()), in filtered_example_test() 55 boost::push_back(test, input | filtered(is_even())); in filtered_example_test()
|
D | filtered.cpp | 42 struct is_even struct 151 filtered_test_impl< Container, is_even, is_even >(); in filtered_test_all_predicates() 165 | boost::adaptors::filtered(is_even())); in ticket_10988_single_pass()
|
/third_party/boost/libs/intrusive/example/ |
D | doc_erasing_and_disposing.cpp | 34 struct is_even struct 67 list.remove_and_dispose_if(is_even(), delete_disposer());
|
/third_party/skia/src/utils/ |
D | SkDashPath.cpp | 16 static inline int is_even(int x) { in is_even() function 297 SkASSERT(is_even(count)); in InternalFilter() 314 if (src.isRect(nullptr) && src.isLastContourClosed() && is_even(initialDashIndex)) { in InternalFilter() 331 if (is_even(index) == (endPhase > 0)) { in InternalFilter() 394 if (is_even(index) && !skipFirstSegment) { in InternalFilter() 425 if (meas.isClosed() && is_even(initialDashIndex) && in InternalFilter()
|
/third_party/flutter/skia/src/utils/ |
D | SkDashPath.cpp | 15 static inline int is_even(int x) { in is_even() function 292 SkASSERT(is_even(count)); in InternalFilter() 309 if (src.isRect(nullptr) && src.isLastContourClosed() && is_even(initialDashIndex)) { in InternalFilter() 326 if (is_even(index) == (endPhase > 0)) { in InternalFilter() 389 if (is_even(index) && !skipFirstSegment) { in InternalFilter() 420 if (meas.isClosed() && is_even(initialDashIndex) && in InternalFilter()
|
/third_party/boost/libs/range/test/algorithm_ext_test/ |
D | erase.cpp | 77 struct is_even struct 94 is_even pred; in test_remove_erase_if_impl() 102 boost::remove_erase_if(test, is_even()); in test_remove_erase_if_impl()
|
/third_party/boost/libs/mp11/test/ |
D | mp_copy_if.cpp | 23 template<class N> using is_even = mp_bool<N::value % 2 == 0>; typedef 61 using R1 = mp_copy_if<L1, is_even>; in main()
|
/third_party/skia/tests/sksl/runtime_errors/ |
D | IllegalRecursionMutual.skvm | 5 bool is_even(int n)
|
/third_party/boost/libs/mpl/test/ |
D | zip_view.cpp | 40 , filter_view< range_c<int,10,30>, is_even<_> > in MPL_TEST_CASE()
|
/third_party/boost/libs/geometry/test/iterators/ |
D | test_iterator_common.hpp | 76 struct is_even struct 159 num_even = std::count_if(first, beyond, is_even<value_type>()); in test_using_remove_if()
|
/third_party/boost/libs/range/doc/ |
D | introduction.qbk | 38 // Assume that is_even is a predicate that has been implemented elsewhere... 39 push_back(target, my_map | map_values | filtered(is_even()) | reversed);
|