Home
last modified time | relevance | path

Searched refs:searcher (Results 1 – 22 of 22) sorted by relevance

/third_party/rust/crates/regex/tests/
Dsearcher.rs1 macro_rules! searcher { macro
3 searcher!($name, $re, $haystack, vec vec![]);
6 searcher!($name, $re, $haystack, vec vec![$($steps),*]);
9 searcher!($name, $re, $haystack, vec vec![$($steps),*]);
33 searcher!(searcher_empty_regex_empty_haystack, r"", "", Match(0, 0));
34 searcher!(
44 searcher!(searcher_empty_haystack, r"\d", "");
45 searcher!(searcher_one_match, r"\d", "5", Match(0, 1));
46 searcher!(searcher_no_match, r"\d", "a", Reject(0, 1));
47 searcher!(
[all …]
Dtest_backtrack_utf8bytes.rs50 mod searcher; module
Dtest_nfa_utf8bytes.rs46 mod searcher; module
Dtest_backtrack.rs48 mod searcher; module
Dtest_nfa.rs42 mod searcher; module
Dtest_default.rs53 mod searcher; module
/third_party/rust/crates/memchr/bench/src/memmem/
Dsliceslice.rs53 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack()
56 searcher.find(haystack.as_bytes()).is_some(), in search_short_haystack()
79 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack()
82 searcher.find(haystack.as_bytes()).is_some(), in search_short_haystack()
124 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack()
127 searcher.search_in(haystack.as_bytes()) in search_short_haystack()
151 for searcher in searchers.iter() { in search_long_haystack()
152 black_box(searcher.find(haystack.as_bytes()).is_some()); in search_long_haystack()
173 for searcher in searchers.iter() { in search_long_haystack()
174 black_box(searcher.find(haystack.as_bytes()).is_some()); in search_long_haystack()
[all …]
/third_party/rust/crates/memchr/src/memmem/
Dmod.rs324 let prestate = finder.searcher.prefilter_state(); in new()
356 .searcher in next()
450 searcher: Searcher<'n>, field
485 self.searcher.find(&mut self.searcher.prefilter_state(), haystack) in find()
532 Finder { searcher: self.searcher.into_owned() } in into_owned()
547 Finder { searcher: self.searcher.as_ref() } in as_ref()
558 self.searcher.needle() in needle()
577 searcher: SearcherRev<'n>, field
615 self.searcher.rfind(haystack.as_ref()) in rfind()
663 FinderRev { searcher: self.searcher.into_owned() } in into_owned()
[all …]
/third_party/rust/crates/memchr/bench/data/sliceslice/
DREADME.md5 these benchmarks include the time it takes to build a searcher. They only
10 substring searcher is created for each of these words in the same order. The
11 actual benchmark consists of executing each searcher once on every needle that
/third_party/rust/crates/aho-corasick/bench/src/
Dbench.rs60 if let Some(searcher) = builder.build() { in define_aho_corasick()
63 assert_eq!(count, searcher.find_iter(&haystack).count()) in define_aho_corasick()
72 if let Some(searcher) = builder.build() { in define_aho_corasick()
75 assert_eq!(count, searcher.find_iter(&haystack).count()) in define_aho_corasick()
/third_party/rust/crates/regex/src/
Dre_bytes.rs189 Matches(self.0.searcher().find_iter(text)) in find_iter()
294 CaptureMatches(self.0.searcher().captures_iter(text)) in captures_iter()
571 self.0.searcher().shortest_match_at(text, start) in shortest_match_at()
581 self.0.searcher().is_match_at(text, start) in is_match_at()
596 .searcher() in find_at()
632 .searcher() in captures_read_at()
673 CaptureLocations(self.0.searcher().locations()) in capture_locations()
682 CaptureLocations(self.0.searcher().locations()) in locations()
Dre_set.rs180 self.0.searcher().is_match_at($as_bytes(text), start)
247 self.0.searcher().many_matches_at(matches, $as_bytes(text), start)
Dexec.rs1263 pub fn searcher(&self) -> ExecNoSync<'_> { in searcher() method
1273 ExecNoSyncStr(self.searcher()) in searcher_str()
/third_party/rust/crates/aho-corasick/src/packed/
Dapi.rs529 FindIter { searcher: self, haystack: haystack.as_ref(), at: 0 } in find_iter()
605 searcher: &'s Searcher, field
617 match self.searcher.find_at(&self.haystack, self.at) { in next()
/third_party/typescript/lib/
Dlib.es2015.symbol.wellknown.d.ts259 search(searcher: { [Symbol.search](string: string): number; }): number;
/third_party/typescript/src/lib/
Des2015.symbol.wellknown.d.ts239 search(searcher: { [Symbol.search](string: string): number; }): number;
/third_party/pulseaudio/src/utils/
Dqpaeq339 def searcher(initial,evaluator): function
357 searcher(i,partial(evaluate,self.filter_state,t_w))
/third_party/rust/crates/regex/
DCHANGELOG.md767 Fixes a bug in the new Boyer-Moore searcher that results in a match failure.
776 Fixes a bug in the new Boyer-Moore searcher that results in a panic.
996 Improves match verification performance in the Teddy SIMD searcher.
998 Replaces slow substring loop in the Teddy SIMD searcher with Aho-Corasick.
/third_party/rust/crates/aho-corasick/
DDESIGN.md87 because they instruct the searcher (the thing traversing the automaton while
160 haystack was `abzabcd`, then the searcher would transition back to `S0` after
/third_party/rust/crates/memchr/bench/runs/2021-05-06_sliceslice-0.3.0/
DREADME.md10 in this release was to make constructing the searcher generic over the needle,
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs5248 let mut searcher = pat.into_searcher(haystack); localVariable
5251 match if !rev { searcher.next() } else { searcher.next_back() } {
17404 let mut searcher = pat.into_searcher(self); localVariable
17407 while let Some(m) = searcher.next_match() {
/third_party/icu/icu4j/perf-tests/data/collation/
D2drvb10.txt756 shalt direct the just: the searcher of hearts and reins is God. Just
12455 searcher of majesty shall be overwhelmed by glory.
14585 a true searcher of his heart, and a hearer of his tongue.