Home
last modified time | relevance | path

Searched refs:attr_ (Results 1 – 25 of 66) sorted by relevance

123

/third_party/boost/libs/spirit/test/x3/
Dfusion_map.cpp53 auto attr_ = fusion::make_map<key1_attr>(std::string()); in main() local
54 BOOST_TEST(test_attr("key1=ABC", kv1, attr_)); in main()
55 BOOST_TEST(fusion::at_key<key1_attr>(attr_) == "ABC"); in main()
58 AdaptedStruct attr_; in main() local
59 BOOST_TEST(test_attr("key1=ABC", kv1, attr_)); in main()
60 BOOST_TEST(attr_.key1 == "ABC"); in main()
61 BOOST_TEST(attr_.key2 == ""); in main()
69 AdaptedStruct attr_; in main() local
70 BOOST_TEST(test_attr("key1=ABC", eps >> (kv1 % ';') , attr_)); in main()
71 BOOST_TEST(attr_.key1 == "ABC"); in main()
[all …]
/third_party/boost/boost/spirit/home/x3/numeric/
Dreal_policies.hpp36 parse_n(Iterator& first, Iterator const& last, Attribute& attr_) in parse_n()
38 return extract_uint<T, 10, 1, -1>::call(first, last, attr_); in parse_n()
53 parse_frac_n(Iterator& first, Iterator const& last, Attribute& attr_) in parse_frac_n()
55 return extract_uint<T, 10, 1, -1, true>::call(first, last, attr_); in parse_frac_n()
70 parse_exp_n(Iterator& first, Iterator const& last, int& attr_) in parse_exp_n()
72 return extract_int<int, 10, 1, -1>::call(first, last, attr_); in parse_exp_n()
91 parse_nan(Iterator& first, Iterator const& last, Attribute& attr_) in parse_nan()
114 attr_ = std::numeric_limits<T>::quiet_NaN(); in parse_nan()
122 parse_inf(Iterator& first, Iterator const& last, Attribute& attr_) in parse_inf()
135 attr_ = std::numeric_limits<T>::infinity(); in parse_inf()
Dreal.hpp31 , Context const& context, unused_type, T& attr_) const in parse()
34 return extract_real<T, RealPolicies>::parse(first, last, attr_, policies); in parse()
42 T attr_; in parse() local
43 if (parse(first, last, context, unused, attr_)) in parse()
45 traits::move_to(attr_, attr_param); in parse()
Dbool_policies.hpp24 …parse_true(Iterator& first, Iterator const& last, Attribute& attr_, CaseCompare const& case_compar… in parse_true()
28 traits::move_to(T(true), attr_); // result is true in parse_true()
36 …parse_false(Iterator& first, Iterator const& last, Attribute& attr_, CaseCompare const& case_compa… in parse_false()
40 traits::move_to(T(false), attr_); // result is false in parse_false()
Dbool.hpp44 T attr_; in parse() local
45 if (parse(first, last, context, unused, attr_)) in parse()
47 traits::move_to(attr_, attr_param); in parse()
92 T attr_; in parse() local
93 if (parse_main(first, last, context, attr_)) in parse()
95 traits::move_to(attr_, attr_param); in parse()
/third_party/boost/boost/spirit/home/qi/numeric/
Dbool_policies.hpp27 parse_true(Iterator& first, Iterator const& last, Attribute& attr_) in parse_true()
31 spirit::traits::assign_to(T(true), attr_); // result is true in parse_true()
39 parse_false(Iterator& first, Iterator const& last, Attribute& attr_) in parse_false()
43 spirit::traits::assign_to(T(false), attr_); // result is false in parse_false()
56 parse_true(Iterator& first, Iterator const& last, Attribute& attr_) in parse_true()
60 spirit::traits::assign_to(T(true), attr_); // result is true in parse_true()
68 parse_false(Iterator& first, Iterator const& last, Attribute& attr_) in parse_false()
72 spirit::traits::assign_to(T(false), attr_); // result is false in parse_false()
Dnumeric_utils.hpp56 inline static bool call(Iterator& first, Iterator const& last, T& attr_) in call()
72 if (!extract_type::parse(first, last, attr_)) in call()
81 inline static bool call(Iterator& first, Iterator const& last, Attribute& attr_) in call()
87 traits::assign_to(attr_local, attr_); in call()
106 inline static bool call(Iterator& first, Iterator const& last, T& attr_) in call()
122 hit = extract_neg_type::parse(first, last, attr_); in call()
124 hit = extract_pos_type::parse(first, last, attr_); in call()
135 inline static bool call(Iterator& first, Iterator const& last, Attribute& attr_) in call()
141 traits::assign_to(attr_local, attr_); in call()
Dreal_policies.hpp66 parse_n(Iterator& first, Iterator const& last, Attribute& attr_) in parse_n()
72 return extract_uint::call(first, last, attr_); in parse_n()
98 parse_frac_n(Iterator& first, Iterator const& last, Attribute& attr_, int& frac_digits) in parse_frac_n()
101 bool r = extract_uint<Attribute, 10, 1, -1, true, true>::call(first, last, attr_); in parse_frac_n()
134 parse_exp_n(Iterator& first, Iterator const& last, int& attr_) in parse_exp_n()
136 return extract_int<int, 10, 1, -1>::call(first, last, attr_); in parse_exp_n()
155 parse_nan(Iterator& first, Iterator const& last, Attribute& attr_) in parse_nan()
178 attr_ = std::numeric_limits<T>::quiet_NaN(); in parse_nan()
186 parse_inf(Iterator& first, Iterator const& last, Attribute& attr_) in parse_inf()
199 attr_ = std::numeric_limits<T>::infinity(); in parse_inf()
Dreal.hpp164 , T& attr_) const in parse()
168 return extract::parse(first, last, attr_, RealPolicies()); in parse()
178 T attr_; in parse() local
179 if (parse(first, last, context, skipper, attr_)) in parse()
181 traits::assign_to(attr_, attr_param); in parse()
217 T attr_; in parse() local
219 if (extract::parse(first, last, attr_, RealPolicies()) && in parse()
220 (attr_ == n_)) in parse()
222 traits::assign_to(attr_, attr_param); in parse()
/third_party/boost/boost/spirit/home/qi/operator/
Dsequence_base.hpp71 , Attribute& attr_, mpl::false_) const in parse_impl()
84 >::type attr_local(attr_); in parse_impl()
99 , Attribute& attr_, mpl::true_) const in parse_impl()
102 traits::make_container(attr_); in parse_impl()
108 Derived::fail_function(iter, last, context, skipper), attr_)) in parse_impl()
121 , Attribute& attr_) const in parse()
123 return parse_impl(first, last, context, skipper, attr_ in parse()
Doptional.hpp67 , Attribute& attr_, mpl::false_) const in parse_impl()
76 spirit::traits::assign_to(val, attr_); in parse_impl()
85 , Attribute& attr_, mpl::true_) const in parse_impl()
87 subject.parse(first, last, context, skipper, attr_); in parse_impl()
95 , Attribute& attr_) const in parse()
100 return parse_impl(first, last, context, skipper, attr_ in parse()
Dkleene.hpp76 , Attribute& attr_) const in parse()
79 traits::make_container(attr_); in parse()
86 parse_container(detail::make_pass_container(f, attr_)); in parse()
Dplus.hpp77 , Attribute& attr_) const in parse()
83 traits::make_container(attr_); in parse()
87 if (!parse_container(detail::make_pass_container(f, attr_))) in parse()
/third_party/boost/boost/coroutine/detail/
Dsetup.hpp43 attributes const& attr_) : in setup()
47 attr( attr_) in setup()
53 attributes const& attr_, in setup()
65 attr( attr_) in setup()
/third_party/boost/boost/spirit/home/qi/directive/
Dskip.hpp82 , Attribute& attr_) const in parse()
85 , detail::get_skipper(u), attr_); in parse()
92 , Attribute& attr_) const in parse()
95 , skipper, attr_); in parse()
128 , Attribute& attr_) const in parse()
130 return subject.parse(first, last, context, skipper, attr_); in parse()
Dlexeme.hpp62 , Attribute& attr_) const in parse()
66 , detail::unused_skipper<Skipper>(skipper), attr_); in parse()
73 , Attribute& attr_) const in parse()
78 , skipper, attr_); in parse()
Dno_skip.hpp65 , Attribute& attr_) const in parse()
68 , detail::unused_skipper<Skipper>(skipper), attr_); in parse()
75 , Attribute& attr_) const in parse()
78 , skipper, attr_); in parse()
Das.hpp89 , Context& context, Skipper const& skipper, Attribute& attr_) const in parse()
95 spirit::traits::assign_to(as_attr, attr_); in parse()
104 , Context& context, Skipper const& skipper, T& attr_) const in parse()
107 if (subject.parse(i, last, context, skipper, attr_)) in parse()
Dhold.hpp59 , Context& context, Skipper const& skipper, Attribute& attr_) const in parse()
61 Attribute copy(attr_); in parse()
64 traits::swap_impl(copy, attr_); in parse()
/third_party/boost/boost/spirit/home/karma/detail/
Dalternative_function.hpp125 typename traits::optional_attribute<Attribute>::type attr_ = in call() local
127 if (!component_type::is_compatible(spirit::traits::which(attr_))) in call()
133 , boost::get<compatible_type>(attr_)); in call()
147 , Delimiter const& d, Attribute const& attr_) in alternative_generate_function()
148 : sink(sink_), ctx(ctx_), delim(d), attr(attr_) {} in alternative_generate_function()
205 , Delimiter const& d, Attribute const& attr_) in alternative_generate_function()
206 : sink(sink_), ctx(ctx_), delim(d), attr(attr_), failed(false) {} in alternative_generate_function()
/third_party/boost/boost/spirit/home/qi/binary/
Dbinary.hpp239 typename attribute<Context, Iterator>::type attr_; in parse() local
240 unsigned char* bytes = attr_.data(); in parse()
243 for (unsigned int i = 0; i < sizeof(attr_); ++i) in parse()
251 spirit::traits::assign_to(attr_, attr_param); in parse()
285 boost::endian::endian_arithmetic<endian, typename T::type, bits> attr_; in parse() local
292 attr_ = n; in parse()
297 unsigned char* bytes = attr_.data(); in parse()
300 for (unsigned int i = 0; i < sizeof(attr_); ++i) in parse()
307 spirit::traits::assign_to(attr_, attr_param); in parse()
/third_party/boost/boost/spirit/home/x3/support/numeric_utils/
Dextract_int.hpp74 inline static bool call(Iterator& first, Iterator const& last, Attribute& attr_) in call()
80 traits::move_to(attr, attr_); in call()
128 inline static bool call(Iterator& first, Iterator const& last, Attribute& attr_) in call()
134 traits::move_to(attr, attr_); in call()
/third_party/boost/boost/spirit/home/x3/auxiliary/
Dattr.hpp66 , Context const& /* context */, RuleContext&, Attribute& attr_) const in parse()
69 traits::move_to(value_, attr_); in parse()
94 , Context const& /* context */, RuleContext&, Attribute& attr_) const in parse()
97 traits::move_to(this->value_ + 0, this->value_ + N, attr_); in parse()
/third_party/boost/boost/spirit/home/karma/operator/
Dsequence.hpp137 , Delimiter const& d, Attribute& attr_, Pred1, Pred2) const in generate_impl()
151 >::type attr(attr_); in generate_impl()
169 size_type(traits::sequence_size<attr_type_>::value) == traits::size(attr_)); in generate_impl()
178 , Delimiter const& d, Attribute const& attr_ in generate_impl()
196 iterator_type begin = traits::begin(attr_); in generate_impl()
197 iterator_type end = traits::end(attr_); in generate_impl()
/third_party/boost/boost/spirit/home/x3/operator/detail/
Dalternative.hpp173 static void call(T1& attr_, T2& attr) in call()
175 traits::move_to(attr_, attr); in call()
187 typename pseudo::type attr_ = pseudo::call(first, last, pass::call(attr)); in parse_alternative() local
189 if (p.parse(first, last, context, rcontext, attr_)) in parse_alternative()
191 move_if<!std::is_reference<decltype(attr_)>::value>::call(attr_, attr); in parse_alternative()

123