Home
last modified time | relevance | path

Searched refs:match_results (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/boost/libs/regex/doc/
Dmatch_result.qbk8 [section:match_results match_results]
19 defining a class `match_results` that acts as an indexed collection of
23 Template class `match_results` denotes a collection of character
25 type `match_results` are passed to the algorithms [regex_match] and [regex_search],
28 class `match_results`.
30 The template class `match_results` conforms to the requirements of a Sequence,
34 Class template `match_results` is most commonly used as one of the typedefs
39 class match_results;
41 typedef match_results<const char*> cmatch;
42 typedef match_results<const wchar_t*> wcmatch;
[all …]
Dregex_format.qbk26 const match_results<iterator, Allocator>& m,
39 (const match_results<iterator, Allocator>& m,
48 [[`const match_results<iterator, Allocator>& m`][An instance of [match_results] obtained from one o…
Dregex_search.qbk22 match_results<BidirectionalIterator, Allocator>& m,
29 match_results<
37 match_results<const charT*, Allocator>& m,
60 match_results<BidirectionalIterator, Allocator>& m,
105 bool regex_search(const charT* str, match_results<const charT*, Allocator>& m,
114match_results<typename basic_string<charT, ST, SA>::const_iterator, Allocator>& m,
126 `match_results<BidirectionalIterator> what`, and then returning the result of
173 boost::match_results<std::string::const_iterator> what;
Dregex_match.qbk26 match_results<BidirectionalIterator, Allocator>& m,
36 bool regex_match(const charT* str, match_results<const charT*, Allocator>& m,
42match_results<typename basic_string<charT, ST, SA>::const_iterator, Allocator>& m,
60 match_results<BidirectionalIterator, Allocator>& m,
114 `match_results<BidirectionalIterator> what`, and then returning the result of
118 bool regex_match(const charT* str, match_results<const charT*, Allocator>& m,
127match_results<typename basic_string<charT, ST, SA>::const_iterator, Allocator>& m,
Dregex.qbk27 [template match_results[] [link boost_regex.ref.match_results `match_results`]]
37 [template match_results_format[] [link boost_regex.match_results_format `match_results<>::format`]]
Dthread_safety.qbk19 are all re-entrant and thread safe. Class [match_results] is now thread safe,
21 another (for example one thread may find matches and push [match_results]
23 otherwise use a separate instance of [match_results] per thread.
/third_party/boost/boost/regex/v4/
Dinstances.hpp55 template class BOOST_REGEX_DECL match_results< const BOOST_REGEX_CHAR_T* >; variable
57 …oost::BOOST_REGEX_DETAIL_NS::perl_matcher<BOOST_REGEX_CHAR_T const *, match_results< const BOOST_R…
98 template class BOOST_REGEX_TEMPLATE_DECL match_results< const BOOST_REGEX_CHAR_T* >;
100 …oost::BOOST_REGEX_DETAIL_NS::perl_matcher<BOOST_REGEX_CHAR_T const *, match_results< const BOOST_R…
106 template class BOOST_REGEX_TEMPLATE_DECL match_results< std::basic_string<BOOST_REGEX_CHAR_T>::cons…
108 …:perl_matcher< std::basic_string<BOOST_REGEX_CHAR_T>::const_iterator, match_results< std::basic_st…
193 match_results<const BOOST_REGEX_CHAR_T*>::maybe_assign(
194 const match_results<const BOOST_REGEX_CHAR_T*>& m);
197 template BOOST_REGEX_DECL void perl_matcher<BOOST_REGEX_CHAR_T const *, match_results< const BOOST_…
199 template BOOST_REGEX_DECL bool perl_matcher<BOOST_REGEX_CHAR_T const *, match_results< const BOOST_…
[all …]
Dregex_match.hpp45 match_results<BidiIterator, Allocator>& m, in regex_match()
57 match_results<iterator> m; in regex_match()
69 match_results<const charT*, Allocator>& m, in regex_match()
78match_results<typename std::basic_string<charT, ST, SA>::const_iterator, Allocator>& m, in regex_match()
89 match_results<const charT*> m; in regex_match()
99 match_results<iterator> m; in regex_match()
114 match_results<const char*> m; in regex_match()
129 match_results<const char*> m; in regex_match()
144 match_results<const char*> m; in regex_match()
159 match_results<const char*> m; in regex_match()
[all …]
Dmatch_results.hpp52 class match_results class
86 explicit match_results(const Allocator& a = Allocator()) in match_results() function in boost::match_results
97 match_results(const match_results& m) in match_results() function in boost::match_results
106 match_results& operator=(const match_results& m) in operator =()
119 ~match_results(){} in ~match_results()
357 …typedef typename BOOST_REGEX_DETAIL_NS::compute_functor_type<Functor, match_results<BidiIterator, … in format()
369 …typedef typename BOOST_REGEX_DETAIL_NS::compute_functor_type<Functor, match_results<BidiIterator, … in format()
385 …typedef typename BOOST_REGEX_DETAIL_NS::compute_functor_type<Functor, match_results<BidiIterator, … in format()
400 …typedef typename BOOST_REGEX_DETAIL_NS::compute_functor_type<Functor, match_results<BidiIterator, … in format()
422 void swap(match_results& that) in swap()
[all …]
Dregex.hpp136 typedef match_results<const char*> cmatch;
137 typedef match_results<std::string::const_iterator> smatch;
139 typedef match_results<const wchar_t*> wcmatch;
140 typedef match_results<std::wstring::const_iterator> wsmatch;
Dregex_grep.hpp50 typedef typename match_results<BidiIterator>::allocator_type match_allocator_type; in regex_grep()
52 match_results<BidiIterator> m; in regex_grep()
68 match_results<BidiIterator, match_allocator_type> m2(m); in regex_grep()
124 inline unsigned int regex_grep(bool (*foo)(const match_results<std::string::const_iterator>&), cons… in regex_grep()
131 inline unsigned int regex_grep(bool (*foo)(const match_results<std::basic_string<wchar_t>::const_it… in regex_grep()
Dregex_search.hpp38 match_results<BidiIterator, Allocator>& m, in regex_search()
47 match_results<BidiIterator, Allocator>& m, in regex_search()
68 match_results<const charT*, Allocator>& m, in regex_search()
77match_results<typename std::basic_string<charT, ST, SA>::const_iterator, Allocator>& m, in regex_search()
142 match_results<BidiIterator> m; in regex_search()
143 typedef typename match_results<BidiIterator>::allocator_type match_alloc_type; in regex_search()
/third_party/boost/boost/xpressive/detail/core/
Daccess.hpp73 match_results<BidiIter> &what in init_match_results()
84 static sub_match_vector<BidiIter> &get_sub_match_vector(match_results<BidiIter> &what) in get_sub_match_vector()
94 static results_extras<BidiIter> &get_extras(match_results<BidiIter> &what) in get_extras()
99 static nested_results<BidiIter> &get_nested_results(match_results<BidiIter> &what) in get_nested_results()
104 static action_args_type &get_action_args(match_results<BidiIter> &what) in get_action_args()
109 static void set_prefix_suffix(match_results<BidiIter> &what, BidiIter begin, BidiIter end) in set_prefix_suffix()
114 static void reset(match_results<BidiIter> &what) in reset()
119 static void set_base(match_results<BidiIter> &what, BidiIter base) in set_base()
124 static BidiIter get_base(match_results<BidiIter> &what) in get_base()
Dresults_cache.hpp32 : detail::list<match_results<BidiIter> >
35 friend struct match_results<BidiIter>;
40 : private detail::list<match_results<BidiIter> >
43 friend struct xpressive::match_results<BidiIter>;
44 typedef list<xpressive::match_results<BidiIter> > base_type;
71 match_results<BidiIter> &append_new(nested_results<BidiIter> &out) in append_new()
75 out.push_back(match_results<BidiIter>()); in append_new()
Dstate.hpp45 match_results<BidiIter> *results_ptr_;
111 typedef xpressive::match_results<BidiIter> match_results; typedef
138 , match_results &what in match_state()
169 void reset(match_results &what, regex_impl const &impl) in reset()
193 match_results &what = this->extras_->results_cache_.append_new(nested); in push_context()
216 match_results &what = *context.results_ptr_; in pop_context()
226 match_results &results = *this->context_.results_ptr_; in pop_context()
237 match_results &results = *this->context_.results_ptr_; in swap_context()
283 void init_(regex_impl const &impl, match_results &what) in init_()
299 void uninit_(regex_impl const &impl, match_results &) in uninit_()
/third_party/boost/boost/date_time/
Dformat_date_parser.hpp165 typedef typename parse_tree_type::parse_match_result_type match_results; typedef in boost::date_time::format_date_parser
284 match_results mr = m_weekday_short_names.match(sitr, stream_end); in parse_date()
285 if(mr.current_match == match_results::PARSE_ERROR) { in parse_date()
303 match_results mr = m_weekday_long_names.match(sitr, stream_end); in parse_date()
304 if(mr.current_match == match_results::PARSE_ERROR) { in parse_date()
318 match_results mr = m_month_short_names.match(sitr, stream_end); in parse_date()
319 if(mr.current_match == match_results::PARSE_ERROR) { in parse_date()
333 match_results mr = m_month_long_names.match(sitr, stream_end); in parse_date()
334 if(mr.current_match == match_results::PARSE_ERROR) { in parse_date()
348 match_results mr; in parse_date()
[all …]
Dspecial_values_parser.hpp41 typedef typename parse_tree_type::parse_match_result_type match_results; typedef in boost::date_time::special_values_parser
127 match_results& mr) const in match()
131 return (mr.current_match != match_results::PARSE_ERROR); in match()
/third_party/boost/boost/regex/
Dicu.hpp240 typedef match_results<const ::UChar32*> u32match;
241 typedef match_results<const ::UChar*> u16match;
457 match_results<BidiIterator, Allocator>& m, in do_regex_match()
466 match_results<BidiIterator, Allocator>& m, in do_regex_match()
472 typedef match_results<conv_type> match_type; in do_regex_match()
482 match_results<BidiIterator, Allocator>& m, in do_regex_match()
488 typedef match_results<conv_type> match_type; in do_regex_match()
500 match_results<BidiIterator, Allocator>& m, in u32regex_match()
507 match_results<const UChar*>& m, in u32regex_match()
515 match_results<const wchar_t*>& m, in u32regex_match()
[all …]
/third_party/boost/boost/xpressive/
Dregex_algorithms.hpp52 , match_results<BidiIter> &what in regex_match_impl()
104 , match_results<BidiIter> &what in regex_match()
137 match_results<BidiIter> what; in regex_match()
147 , match_results<Char *> &what in regex_match()
172 , match_results<BidiIter> &what in regex_match()
198 , match_results<BidiIter> &what in regex_match()
234 match_results<Char *> what; in regex_match()
257 match_results<BidiIter> what; in regex_match()
281 match_results<BidiIter> what; in regex_match()
306 match_results<BidiIter> &what = *state.context_.results_ptr_; in regex_search_impl()
[all …]
Dxpressive_fwd.hpp105 struct match_results;
222 typedef match_results<std::string::const_iterator> smatch;
223 typedef match_results<char const *> cmatch;
226 typedef match_results<std::wstring::const_iterator> wsmatch;
227 typedef match_results<wchar_t const *> wcmatch;
Dmatch_results.hpp362 struct match_results struct
387 match_results() in match_results() function
411 match_results(match_results<BidiIter> const &that) in match_results() function
439 ~match_results() in ~match_results() argument
453 match_results<BidiIter> &operator =(match_results<BidiIter> const &that) in operator =() argument
455 match_results<BidiIter>(that).swap(*this); in operator =()
598 , match_results<BidiIter> in format()
667 void swap(match_results<BidiIter> &that) // throw() in swap() argument
684 match_results<BidiIter> &let(Arg const &arg) in let() argument
698 match_results<BidiIter> const &operator ()(regex_id_type regex_id, size_type index = 0) const in operator ()() argument
[all …]
/third_party/boost/boost/algorithm/string/detail/
Dfinder_regex.hpp38 typedef boost::match_results<iterator> match_results_type;
64 const match_results_type& match_results() const in match_results() function
99 match_results<input_iterator_type> result; in operator ()()
/third_party/boost/libs/regex/test/concepts/
Dicu_concept_check.cpp89 boost::match_results<utf8_arch1> m1; in main()
90 boost::match_results<utf8_arch2> m2; in main()
91 boost::match_results<utf16_arch> m3; in main()
92 boost::match_results<wchar_arch> m4; in main()
93 boost::match_results<const char*> cm1; in main()
94 boost::match_results<const unsigned char*> cm2; in main()
95 boost::match_results<const UChar*> cm3; in main()
96 boost::match_results<const wchar_t*> cm4; in main()
97 boost::match_results<std::string::const_iterator> sm1; in main()
98 boost::match_results<std::wstring::const_iterator> sm2; in main()
/third_party/boost/libs/regex/example/snippets/
Dregex_grep_example_4.cpp62 typedef boost::match_results<std::string::const_iterator> arg_type;
64 bool grep_callback(const boost::match_results<std::string::const_iterator>& what);
75 bool class_index::grep_callback(const boost::match_results<std::string::const_iterator>& what) in grep_callback()
/third_party/boost/libs/regex/test/regress/
Dtest_regex_search.hpp79 void test_result(const boost::match_results<BidirectionalIterator, Allocator>& what, BidirectionalI… in test_result()
83 boost::match_results<BidirectionalIterator, Allocator> copy(what); in test_result()
85 boost::match_results<BidirectionalIterator, Allocator> s; in test_result()
88 boost::match_results<BidirectionalIterator, Allocator> s2; in test_result()
105 boost::match_results<const_iterator> what; in test_simple_search()
156 boost::match_results<std::rope<charT>::const_iterator> rwhat; in test_simple_search()
409 bool operator()(const boost::match_results<test_iter>& what) in operator ()()
440 boost::match_results<const_iterator> what; in test_regex_match()

1234