/third_party/rust/crates/aho-corasick/bench/src/ |
H A D | random.rs | 92 |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 D | bench.rs | 42 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 D | onig.rs | 25 pub fn find_iter<'r, 't>( in find_iter() functions 29 self.0.find_iter(text) in find_iter()
|
H A D | pcre1.rs | 77 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
|
H A D | re2.rs | 36 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
|
H A D | pcre2.rs | 73 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() functions
|
H A D | tcl.rs | 97 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 D | shootout-regex-dna-single-cheat.rs | 36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main() 68 for m in re.find_iter(text) { in replace_all()
|
H A D | shootout-regex-dna-cheat.rs | 47 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 D | shootout-regex-dna-single.rs | 36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main()
|
H A D | shootout-regex-dna.rs | 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
|
H A D | shootout-regex-dna-bytes.rs | 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
|
/third_party/rust/crates/regex/tests/ |
H A D | macros.rs | 5 $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 D | consistent.rs | 193 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 D | regression.rs | 200 assert_eq!(0, re.find_iter(b"s\xE4").count()); in regression_nfa_stops1()
|
/third_party/rust/crates/regex/src/ |
H A D | re_unicode.rs | 118 /// 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 D | re_trait.rs | 152 fn find_iter(self, text: &Self::Text) -> Matches<'_, Self> { in find_iter() functions 159 CaptureMatches(self.find_iter(text)) in captures_iter()
|
H A D | pattern.rs | 19 it: self.find_iter(haystack), in into_searcher()
|
/third_party/python/Tools/c-analyzer/c_parser/parser/ |
H A D | _delim.py | 10 for m in DELIMITER_RE.find_iter(text):
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
H A D | mod.rs | 261 ($dir:expr, $find_iter:expr) => { in oneshot_iter() 278 $find_iter($inp.corpus, $q.needle); in oneshot_iter()
|
H A D | imp.rs | 44 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 D | tests.rs | 670 .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 D | ahocorasick.rs | 62 /// 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 D | main.rs | 34 let count = ac.find_iter(&haystack).count(); in try_main()
|
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | api.rs | 82 /// .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
|