/third_party/boost/libs/fusion/test/functional/ |
D | invoke_function_object.cpp | 39 inline T const & const_(T const & t) in const_() function 151 BOOST_TEST(f () == fusion::invoke_function_object(f , const_(seq))); in test_sequence_n() 156 …BOOST_TEST(const_(f)() == fusion::invoke_function_object<nullary_fobj const >(const_(f), s… in test_sequence_n() 157 …BOOST_TEST(const_(f)() == fusion::invoke_function_object<nullary_fobj const &>(const_(f), const_(s… in test_sequence_n() 163 BOOST_TEST(nc_f () == fusion::invoke_function_object<nullary_fobj_nc &>(nc_f , const_(seq))); in test_sequence_n() 164 …BOOST_TEST(const_(nc_f)() == fusion::invoke_function_object<nullary_fobj_nc const &>(const_(nc_f),… in test_sequence_n() 165 …BOOST_TEST(const_(nc_f)() == fusion::invoke_function_object<nullary_fobj_nc const &>(const_(nc_f),… in test_sequence_n() 173 BOOST_TEST(f(element1) == fusion::invoke_function_object(f , const_(seq))); in test_sequence_n() 174 … BOOST_TEST(const_(f)(element1) == fusion::invoke_function_object<fobj const >(const_(f), seq )); in test_sequence_n() 175 …BOOST_TEST(const_(f)(element1) == fusion::invoke_function_object<fobj const &>(const_(f), const_(s… in test_sequence_n() [all …]
|
D | invoke_procedure.cpp | 38 inline T const & const_(T const & t) in const_() function 228 COMPARE_EFFECT(f (), fusion::invoke_procedure(f , const_(seq))); in test_sequence_n() 233 COMPARE_EFFECT(const_(f)(), fusion::invoke_procedure<fobj const >(const_(f), seq )); in test_sequence_n() 234 COMPARE_EFFECT(const_(f)(), fusion::invoke_procedure<fobj const &>(const_(f), const_(seq))); in test_sequence_n() 240 COMPARE_EFFECT(nc_f (), fusion::invoke_procedure<fobj_nc &>(nc_f , const_(seq))); in test_sequence_n() 241 …COMPARE_EFFECT(const_(nc_f)(), fusion::invoke_procedure<fobj_nc const &>(const_(nc_f), seq … in test_sequence_n() 242 …COMPARE_EFFECT(const_(nc_f)(), fusion::invoke_procedure<fobj_nc const &>(const_(nc_f), const_(seq)… in test_sequence_n() 271 COMPARE_EFFECT(f(element1), fusion::invoke_procedure(f , const_(seq))); in test_sequence_n() 272 COMPARE_EFFECT(const_(f)(element1), fusion::invoke_procedure<fobj const >(const_(f), seq )); in test_sequence_n() 273 …COMPARE_EFFECT(const_(f)(element1), fusion::invoke_procedure<fobj const &>(const_(f), const_(seq))… in test_sequence_n() [all …]
|
D | invoke.cpp | 40 inline T const & const_(T const & t) in const_() function 347 BOOST_TEST(f () == fusion::invoke(f , const_(seq))); in test_sequence_n() 352 BOOST_TEST(const_(f)() == fusion::invoke<nullary_fobj const >(const_(f), seq )); in test_sequence_n() 353 BOOST_TEST(const_(f)() == fusion::invoke<nullary_fobj const &>(const_(f), const_(seq))); in test_sequence_n() 359 BOOST_TEST(nc_f () == fusion::invoke<nullary_fobj_nc &>(nc_f , const_(seq))); in test_sequence_n() 360 … BOOST_TEST(const_(nc_f)() == fusion::invoke<nullary_fobj_nc const &>(const_(nc_f), seq )); in test_sequence_n() 361 … BOOST_TEST(const_(nc_f)() == fusion::invoke<nullary_fobj_nc const &>(const_(nc_f), const_(seq))); in test_sequence_n() 414 BOOST_TEST(f(element1) == fusion::invoke(f , const_(seq))); in test_sequence_n() 415 BOOST_TEST(const_(f)(element1) == fusion::invoke<fobj const >(const_(f), seq )); in test_sequence_n() 416 BOOST_TEST(const_(f)(element1) == fusion::invoke<fobj const &>(const_(f), const_(seq))); in test_sequence_n() [all …]
|
D | make_fused.cpp | 55 inline T const & const_(T const & t) in const_() function 70 BOOST_TEST(const_(fused_func)(lv_vec) == 0); in main() 71 BOOST_TEST(fusion::make_fused(const_(f))(lv_vec) == 1); in main() 76 BOOST_TEST(const_(fused_func)(fusion::make_vector(2,'\003')) == 0); in main() 77 BOOST_TEST(fusion::make_fused(const_(f))(fusion::make_vector(2,'\003')) == 1); in main()
|
D | make_fused_procedure.cpp | 61 inline T const & const_(T const & t) in const_() function 76 CHECK_EFFECT(const_(fused_func)(lv_vec), 0); in main() 77 CHECK_EFFECT(fusion::make_fused_procedure(const_(f))(lv_vec), 1); in main() 82 CHECK_EFFECT(const_(fused_func)(fusion::make_vector(2,'\003')), 0); in main() 83 CHECK_EFFECT(fusion::make_fused_procedure(const_(f))(fusion::make_vector(2,'\003')), 1); in main()
|
D | make_fused_function_object.cpp | 65 inline T const & const_(T const & t) in const_() function 80 BOOST_TEST(const_(fused_func)(lv_vec) == 0); in main() 81 BOOST_TEST(fusion::make_fused_function_object(const_(f))(lv_vec) == 1); in main() 86 BOOST_TEST(const_(fused_func)(fusion::make_vector(2,'\003')) == 0); in main() 87 BOOST_TEST(fusion::make_fused_function_object(const_(f))(fusion::make_vector(2,'\003')) == 1); in main()
|
D | make_unfused.cpp | 81 inline T const & const_(T const & t) in const_() function 103 BOOST_TEST(const_(unfused_func)() == 0); in main() 115 BOOST_TEST(const_(unfused_func)(lv1,lv2,lv3) == 0 + expected); in main()
|
/third_party/boost/boost/callable_traits/detail/ |
D | qualifier_flags.hpp | 46 constexpr qualifier_flags const_ = 1; variable 74 qualifier_flags, Flags & ~const_>; 78 (Flags & const_) != 0>; 86 (std::is_const<T>::value ? const_ : default_) 111 template<typename T> struct flag_map<T const> { static constexpr qualifier_flags value = const_; }; 112 template<typename T> struct flag_map<T const &> { static constexpr qualifier_flags value = const_ |… 113 template<typename T> struct flag_map<T const &&> { static constexpr qualifier_flags value = const_ … 117 …struct flag_map<T const volatile> { static constexpr qualifier_flags value = const_ | volatile_; }; 118 … flag_map<T const volatile &> { static constexpr qualifier_flags value = const_ | volatile_ | lref… 119 …flag_map<T const volatile &&> { static constexpr qualifier_flags value = const_ | volatile_ | rref…
|
D | default_callable_traits.hpp | 188 using is_const_member = std::integral_constant<bool, 0 < (cv_flags & const_)>; 190 using is_cv_member = std::integral_constant<bool, cv_flags == (const_ | volatile_)>;
|
/third_party/boost/libs/spirit/classic/test/ |
D | parametric_tests.cpp | 56 rule<> r = anychar_p[var(ch) = arg1] >> *f_ch_p(const_(ch)); in narrow_f_ch_p() 73 wrule_t r = anychar_p[var(ch) = arg1] >> *f_ch_p(const_(ch)); in wide_f_ch_p() 94 rule<> r2 = *f_range_p(const_(from), const_(to)); in narrow_f_range_p() 113 wrule_t r2 = *f_range_p(const_(from), const_(to)); in wide_f_range_p() 131 rule<> r3 = +f_str_p(const_(start), const_(end)); in narrow_f_str_p() 153 wrule_t r3 = +f_str_p(const_(start), const_(end)); in wide_f_str_p()
|
/third_party/boost/libs/callable_traits/test/ |
D | collapse_flags.cpp | 33 using const_plus_rref = collapse_flags<const_, rref_>; in main() 34 CT_ASSERT(const_plus_rref::value == (const_ | rref_)); in main() 36 using const_plus_lref = collapse_flags<const_, lref_>; in main() 37 CT_ASSERT(const_plus_lref::value == (const_ | lref_)); in main()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_aos.c | 75 LLVMValueRef const_; member 100 LLVMValueRef const_alpha = bld->const_alpha ? bld->const_alpha : bld->const_; in lp_build_blend_factor_unswizzled() 147 return bld->const_; in lp_build_blend_factor_unswizzled() 169 bld->inv_const = lp_build_comp(&bld->base, bld->const_); in lp_build_blend_factor_unswizzled() 319 LLVMValueRef const_, in lp_build_blend_aos() argument 340 bld.const_ = const_; in lp_build_blend_aos()
|
D | lp_bld_blend.h | 69 LLVMValueRef const_,
|
/third_party/boost/boost/ |
D | foreach.hpp | 281 typedef boost::mpl::true_ const_; typedef 411 inline type2type<T, const_> *encode_type(T const &, boost::true_type*) { return 0; } in encode_type() 417 inline type2type<T, const_> *encode_type(T const &, boost::mpl::true_*) { return 0; } in encode_type() 685 inline auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, const_>::type> 686 begin(auto_any_t col, type2type<T, const_> *, bool *) in begin() argument 688 return auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, const_>::type>( in begin() 725 inline auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, const_>::type> 726 end(auto_any_t col, type2type<T, const_> *, bool *) in end() argument 728 return auto_any<BOOST_DEDUCED_TYPENAME foreach_iterator<T, const_>::type>( in end() 804 inline auto_any<BOOST_DEDUCED_TYPENAME foreach_reverse_iterator<T, const_>::type> [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | arithmetic_simplify.cc | 28 PConstant const_(node); in operator ()() local 49 auto const_dup_lambda = [&node, &x, &const_, &const_2]() -> AnfNodePtr { in operator ()() 50 auto new_mul_tensor = const_.MulByPatternConst(const_2, x.GetNode(node)); in operator ()() 53 …auto ttmul = NewCNode({mul_node, const_.GetNode(node), const_2.GetNode(node)}, node->func_graph()); in operator ()() 60 MATCH_REPLACE_LAMBDA(node, const_ * (const_2 * x), const_dup_lambda); in operator ()()
|
/third_party/boost/boost/python/detail/ |
D | decorated_type_id.hpp | 16 enum decoration { const_ = 0x1, volatile_ = 0x2, reference = 0x4 }; enumerator 41 ? decorated_type_info::const_ : 0) in decorated_type_id()
|
D | cv_category.hpp | 19 typedef cv_tag<true,false> const_; typedef
|
/third_party/boost/boost/spirit/home/classic/phoenix/ |
D | primitives.hpp | 238 const_(T const& v) in const_() function 251 const_(actor<BaseT> const& v); // This is undefined and not allowed.
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeARM_32.c | 673 struct sljit_const *const_; in sljit_generate_code() local 708 const_ = compiler->consts; in sljit_generate_code() 743 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 754 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 776 if (const_ && const_->addr == word_count) { in sljit_generate_code() 778 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 780 const_->addr = (sljit_uw)(code_ptr - 1); in sljit_generate_code() 782 const_ = const_->next; in sljit_generate_code() 789 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 816 SLJIT_ASSERT(!const_); in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 307 struct sljit_const *const_; in sljit_generate_code() local 325 const_ = compiler->consts; in sljit_generate_code() 336 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 355 if (const_ && const_->addr == word_count) { in sljit_generate_code() 357 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 358 const_ = const_->next; in sljit_generate_code() 365 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 382 SLJIT_ASSERT(!const_); in sljit_generate_code() 1520 struct sljit_const *const_; in sljit_emit_const() local 1527 const_ = (struct sljit_const*)ensure_abuf(compiler, sizeof(struct sljit_const)); in sljit_emit_const() [all …]
|
D | sljitNativeARM_64.c | 239 struct sljit_const *const_; in sljit_generate_code() local 257 const_ = compiler->consts; in sljit_generate_code() 268 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 282 if (const_ && const_->addr == word_count) { in sljit_generate_code() 283 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 284 const_ = const_->next; in sljit_generate_code() 292 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 309 SLJIT_ASSERT(!const_); in sljit_generate_code() 1993 struct sljit_const *const_; in sljit_emit_const() local 2000 const_ = (struct sljit_const*)ensure_abuf(compiler, sizeof(struct sljit_const)); in sljit_emit_const() [all …]
|
D | sljitNativeMIPS_common.c | 516 struct sljit_const *const_; in sljit_generate_code() local 534 const_ = compiler->consts; in sljit_generate_code() 545 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 563 if (const_ && const_->addr == word_count) { in sljit_generate_code() 564 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 565 const_ = const_->next; in sljit_generate_code() 576 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 593 SLJIT_ASSERT(!const_); in sljit_generate_code() 2264 struct sljit_const *const_; in sljit_emit_const() local 2271 const_ = (struct sljit_const*)ensure_abuf(compiler, sizeof(struct sljit_const)); in sljit_emit_const() [all …]
|
D | sljitNativeARM_T2_32.c | 373 struct sljit_const *const_; in sljit_generate_code() local 391 const_ = compiler->consts; in sljit_generate_code() 402 SLJIT_ASSERT(!const_ || const_->addr >= half_count); in sljit_generate_code() 416 if (const_ && const_->addr == half_count) { in sljit_generate_code() 417 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 418 const_ = const_->next; in sljit_generate_code() 425 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 442 SLJIT_ASSERT(!const_); in sljit_generate_code() 2337 struct sljit_const *const_; in sljit_emit_const() local 2344 const_ = (struct sljit_const*)ensure_abuf(compiler, sizeof(struct sljit_const)); in sljit_emit_const() [all …]
|
D | sljitNativePPC_common.c | 393 struct sljit_const *const_; in sljit_generate_code() local 418 const_ = compiler->consts; in sljit_generate_code() 429 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 480 if (const_ && const_->addr == word_count) { in sljit_generate_code() 481 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 482 const_ = const_->next; in sljit_generate_code() 493 next_addr = compute_next_addr(label, jump, const_, put_label); in sljit_generate_code() 510 SLJIT_ASSERT(!const_); in sljit_generate_code() 2402 struct sljit_const *const_; in sljit_emit_const() local 2409 const_ = (struct sljit_const*)ensure_abuf(compiler, sizeof(struct sljit_const)); in sljit_emit_const() [all …]
|
/third_party/boost/boost/callable_traits/detail/unguarded/ |
D | function_3.hpp | 114 using add_member_const = set_qualifiers<qualifiers::q_flags | const_>; 225 using add_member_const = set_qualifiers<qualifiers::q_flags | const_>;
|