Home
last modified time | relevance | path

Searched refs:find_iter (Results 1 - 25 of 27) sorted by relevance

12

/third_party/rust/crates/aho-corasick/bench/src/
H A Drandom.rs92 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
103 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
114 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
140 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
151 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
162 |ac, haystack| ac.find_iter(haystack).count(), in many_patterns()
H A Dbench.rs42 b.iter(|| assert_eq!(count, aut.find_iter(&haystack).count())); in define_aho_corasick()
53 b.iter(|| assert_eq!(count, aut.find_iter(&haystack).count())); in define_aho_corasick()
63 assert_eq!(count, searcher.find_iter(&haystack).count()) in define_aho_corasick()
75 assert_eq!(count, searcher.find_iter(&haystack).count()) in define_aho_corasick()
/third_party/rust/crates/regex/bench/src/ffi/
H A Donig.rs25 pub fn find_iter<'r, 't>( in find_iter() functions
29 self.0.find_iter(text) in find_iter()
H A Dpcre1.rs77 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
H A Dre2.rs36 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
H A Dpcre2.rs73 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
H A Dtcl.rs97 pub fn find_iter<'r, 't>(&'r self, text: &'t Text) -> FindMatches<'r, 't> { in find_iter() functions
/third_party/rust/crates/regex/examples/
H A Dshootout-regex-dna-single-cheat.rs36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main()
68 for m in re.find_iter(text) { in replace_all()
H A Dshootout-regex-dna-cheat.rs47 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
83 for m in re.find_iter(text) { in replace_all()
H A Dshootout-regex-dna-single.rs36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main()
H A Dshootout-regex-dna.rs42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
H A Dshootout-regex-dna-bytes.rs42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
/third_party/rust/crates/regex/tests/
H A Dmacros.rs5 $re.find_iter(text!($text))
63 r.find_iter(text).map(|m| (m.start(), m.end())).collect();
76 got '{:?}' using find_iter but got '{:?}' \
89 r.find_iter(text).map(|m| (m.start(), m.end())).collect();
102 got '{:?}' using find_iter but got '{:?}' \
H A Dconsistent.rs193 let fi1 = self.re1.find_iter(input); in result()
194 let fi2 = self.re2.find_iter(input); in result()
198 "find_iter mismatch input={:?}", in result()
H A Dregression.rs200 assert_eq!(0, re.find_iter(b"s\xE4").count()); in regression_nfa_stops1()
/third_party/rust/crates/regex/src/
H A Dre_unicode.rs118 /// defined on `&str`. For example, `is_match`, `find`, `find_iter` in from()
239 /// for mat in Regex::new(r"\b\w{13}\b").unwrap().find_iter(text) { in find()
244 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> Matches<'r, 't> { in find() functions
245 Matches(self.0.searcher_str().find_iter(text)) in find()
321 /// in `text`. This is operationally the same as `find_iter`, except it
371 Split { finder: self.find_iter(text), last: 0 } in split()
544 // 1) We use `find_iter` instead of `captures_iter`. Not asking for in replace()
550 let mut it = self.find_iter(text).enumerate().peekable(); in replace()
H A Dre_trait.rs152 fn find_iter(self, text: &Self::Text) -> Matches<'_, Self> { in find_iter() functions
159 CaptureMatches(self.find_iter(text)) in captures_iter()
H A Dpattern.rs19 it: self.find_iter(haystack), in into_searcher()
/third_party/python/Tools/c-analyzer/c_parser/parser/
H A D_delim.py10 for m in DELIMITER_RE.find_iter(text):
/third_party/rust/crates/memchr/bench/src/memmem/
H A Dmod.rs261 ($dir:expr, $find_iter:expr) => { in oneshot_iter()
278 $find_iter($inp.corpus, $q.needle); in oneshot_iter()
H A Dimp.rs44 memmem::find_iter(haystack.as_bytes(), needle.as_bytes())
59 self.0.find_iter(haystack.as_bytes())
155 self.0.find_iter(haystack.as_bytes())
238 bstr::ByteSlice::find_iter(haystack.as_bytes(), needle.as_bytes())
352 self.0.find_iter(haystack).map(|m| m.start())
/third_party/rust/crates/aho-corasick/src/
H A Dtests.rs670 .find_iter(test.haystack)
1168 ac.find_iter(&haystack).count(), in regression_case_insensitive_prefilter()
1240 let from_whole = aut.find_iter(&buf).next().unwrap().start(); in regression_stream_rare_byte_prefilter()
H A Dahocorasick.rs62 /// for mat in ac.find_iter(haystack) {
309 /// .find_iter(haystack)
327 /// .find_iter(haystack)
345 /// .find_iter(haystack)
350 pub fn find_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_iter() functions
402 /// [`find_iter`](struct.AhoCorasick.html#method.find_iter).
449 /// reported by [`find_iter`](struct.AhoCorasick.html#method.find_iter).
500 /// [`find_iter`](struc
[all...]
/third_party/rust/crates/aho-corasick/aho-corasick-debug/
H A Dmain.rs34 let count = ac.find_iter(&haystack).count(); in try_main()
/third_party/rust/crates/aho-corasick/src/packed/
H A Dapi.rs82 /// .find_iter("foobar")
214 /// .find_iter("foobar")
361 /// .find_iter("foobar")
404 /// .find_iter("foobar")
514 /// .find_iter("foobar fooba foofoo")
525 pub fn find_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_iter() functions

Completed in 11 milliseconds

12