/third_party/rust/crates/regex/bench/src/ |
D | main.rs | 92 Regex::new(pat).unwrap().find_iter(haystack).count() in count_onig() 99 Regex::new(pat).unwrap().find_iter(haystack).count() in count_pcre1() 106 Regex::new(pat).unwrap().find_iter(haystack).count() in count_pcre2() 113 Regex::new(pat).unwrap().find_iter(haystack).count() in count_re2() 120 Regex::new(pat).unwrap().find_iter(haystack).count() in count_rust() 127 Regex::new(pat).unwrap().find_iter(haystack.as_bytes()).count() in count_rust_bytes() 134 Regex::new(pat).unwrap().find_iter(&Text::new(haystack.to_owned())).count() in count_tcl()
|
/third_party/rust/crates/aho-corasick/bench/src/ |
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()
|
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/ |
D | onig.rs | 25 pub fn find_iter<'r, 't>( in find_iter() method 29 self.0.find_iter(text) in find_iter()
|
D | pcre1.rs | 77 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() method
|
D | re2.rs | 36 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> FindMatches<'r, 't> { in find_iter() method
|
/third_party/rust/crates/regex/examples/ |
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()
|
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()
|
D | shootout-regex-dna-single.rs | 36 println!("{} {}", re.to_string(), re.find_iter(&seq).count()); in main()
|
D | shootout-regex-dna.rs | 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
|
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/ |
D | macros.rs | 5 $re.find_iter(text!($text)) 63 r.find_iter(text).map(|m| (m.start(), m.end())).collect(); 89 r.find_iter(text).map(|m| (m.start(), m.end())).collect();
|
D | consistent.rs | 193 let fi1 = self.re1.find_iter(input); 194 let fi2 = self.re2.find_iter(input);
|
D | regression.rs | 200 assert_eq!(0, re.find_iter(b"s\xE4").count()); in regression_nfa_stops1()
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | imp.rs | 44 memmem::find_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() 59 self.0.find_iter(haystack.as_bytes()) in iter() 155 self.0.find_iter(haystack.as_bytes()) in iter() 238 bstr::ByteSlice::find_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() 352 self.0.find_iter(haystack).map(|m| m.start()) in iter()
|
D | mod.rs | 261 ($dir:expr, $find_iter:expr) => { in oneshot_iter() 278 $find_iter($inp.corpus, $q.needle); in oneshot_iter()
|
/third_party/rust/crates/regex/src/ |
D | re_trait.rs | 152 fn find_iter(self, text: &Self::Text) -> Matches<'_, Self> { in find_iter() method 159 CaptureMatches(self.find_iter(text)) in captures_iter()
|
D | re_unicode.rs | 244 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> Matches<'r, 't> { in find_iter() method 245 Matches(self.0.searcher_str().find_iter(text)) in find_iter() 371 Split { finder: self.find_iter(text), last: 0 } in split() 550 let mut it = self.find_iter(text).enumerate().peekable(); in replacen()
|
D | re_bytes.rs | 188 pub fn find_iter<'r, 't>(&'r self, text: &'t [u8]) -> Matches<'r, 't> { in find_iter() method 189 Matches(self.0.searcher().find_iter(text)) in find_iter() 318 Split { finder: self.find_iter(text), last: 0 } in split() 492 let mut it = self.find_iter(text).enumerate().peekable(); in replacen()
|
D | pattern.rs | 19 it: self.find_iter(haystack), in into_searcher()
|
/third_party/rust/crates/memchr/fuzz/fuzz_targets/ |
D | memmem.rs | 12 memmem::find_iter(haystack, needle).count();
|
/third_party/python/Tools/c-analyzer/c_parser/parser/ |
D | _delim.py | 10 for m in DELIMITER_RE.find_iter(text):
|
/third_party/rust/crates/aho-corasick/src/ |
D | ahocorasick.rs | 350 pub fn find_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_iter() method 554 for mat in self.find_iter(haystack) { in replace_all_with() 620 for mat in self.find_iter(haystack) { in replace_all_with_bytes()
|
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()
|
/third_party/rust/crates/aho-corasick/ |
D | README.md | 46 for mat in ac.find_iter(haystack) { 72 for mat in ac.find_iter(haystack) {
|