Home
last modified time | relevance | path

Searched refs:ftor (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/spirit/home/support/iterators/detail/
Dfunctor_input_policy.hpp45 explicit unique(Functor const& x) : ftor(x) {} in unique()
49 boost::swap(ftor, x.ftor); in swap()
66 curtok = mp.ftor(); in get_input()
76 mp.shared()->curtok = mp.ftor(); in advance_input()
83 return mp.shared()->curtok == mp.ftor.eof; in input_at_eof()
95 return ftor; in get_functor()
99 mutable Functor ftor; member in boost::spirit::iterator_policies::functor_input::unique
Dsplit_functor_input_policy.hpp125 explicit unique(Functor const& x) : ftor(x.first) {} in unique()
129 boost::swap(ftor, x.ftor); in swap()
154 mp.ftor.get_next(mp, mp.shared()->curtok); in advance_input()
168 return mp.shared()->curtok == mp.ftor.eof; in input_at_eof()
173 return ftor; in get_functor()
176 mutable functor_type ftor; member in boost::spirit::iterator_policies::split_functor_input::unique
188 explicit shared(Functor const& x) : ftor(x.second), curtok(0) {} in shared()
190 mutable typename Functor::second_type ftor; member
/third_party/boost/boost/wave/util/
Dfunctor_input.hpp58 : ftor(ftor_), was_initialized(false) in Data()
61 FunctorT ftor; member
109 data->curtok = (data->ftor)(); // get the first token in ensure_initialized()
124 data->curtok = (data->ftor)(); in advance_input()
131 return !data || data->curtok == data->ftor.eof; in input_at_eof()
137 return data->ftor; in get_functor()
/third_party/boost/boost/spirit/home/lex/lexer/lexertl/
Dfunctor.hpp134 shared& data = mp.shared()->ftor; in get_next()
141 return result = mp.ftor.eof; in get_next()
169 return result = mp.ftor.eof; in get_next()
248 std::size_t oldstate = mp.shared()->ftor.get_state(); in set_state()
249 mp.shared()->ftor.set_state(state); in set_state()
262 return mp.shared()->ftor.get_state(); in get_state()
269 return mp.shared()->ftor.get_state_id(statename); in map_state()
/third_party/boost/boost/spirit/home/classic/iterator/
Dmulti_pass.hpp688 : ftor(0) in inner()
693 : ftor(new FunctorT(x)) in inner()
694 , curtok(new result_type((*ftor)())) in inner()
698 : ftor(x.ftor) in inner()
704 delete ftor; in destroy()
705 ftor = 0; in destroy()
712 return ftor == x.ftor; in same_input()
718 impl::mp_swap(ftor, x.ftor); in swap()
730 *curtok = (*ftor)(); in advance_input()
736 return !curtok || *curtok == ftor->eof; in input_at_eof()
[all …]
/third_party/boost/libs/spirit/classic/test/
Dwhile_p_as_parser_tests.cpp14 struct ftor struct
31 r = ::BOOST_SPIRIT_CLASSIC_NS::while_p(ftor())["foo"]; in main()
39 r = ::BOOST_SPIRIT_CLASSIC_NS::do_p["foo"].while_p(ftor()); in main()
Dif_p_as_parser_tests.cpp14 struct ftor struct
33 r = ::BOOST_SPIRIT_CLASSIC_NS::if_p(ftor())["foo"]; in main()
35 r = ::BOOST_SPIRIT_CLASSIC_NS::if_p(ftor())["foo"].else_p["bar"]; in main()
Dfor_p_as_parser_tests.cpp14 struct ftor struct
/third_party/boost/boost/wave/cpplexer/
Dcpp_lex_iterator.hpp80 return mp.shared()->ftor->get(result); in get_next()
88 delete mp.shared()->ftor; in destroy()
94 mp.shared()->ftor->set_position(pos); in set_position()
100 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards()
/third_party/boost/libs/wave/samples/token_statistics/
Dxlex_iterator.hpp71 return mp.shared()->ftor->get(result); in get_next()
79 delete mp.shared()->ftor; in destroy()
85 mp.shared()->ftor->set_position(pos); in set_position()
92 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards()
/third_party/boost/libs/wave/samples/cpp_tokens/
Dslex_iterator.hpp71 return mp.shared()->ftor->get(result); in get_next()
79 delete mp.shared()->ftor; in destroy()
85 mp.shared()->ftor->set_position(pos); in set_position()
92 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards()
/third_party/boost/libs/wave/samples/list_includes/
Dlexertl_iterator.hpp70 return mp.shared()->ftor->get(result); in get_next()
78 delete mp.shared()->ftor; in destroy()
84 mp.shared()->ftor->set_position(pos); in set_position()
91 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards()
/third_party/boost/libs/wave/samples/waveidl/idllexer/
Didl_lex_iterator.hpp71 return mp.shared()->ftor->get(result); in get_next()
79 delete mp.shared()->ftor; in destroy()
85 mp.shared()->ftor->set_position(pos); in set_position()
/third_party/boost/libs/phoenix/doc/modules/
Dfunction.qbk87 function<factorial_impl> factorial(ftor);
89 where ftor is an instance of factorial_impl (this is not necessary in this case