Searched refs:Searcher (Results 1 - 8 of 8) sorted by relevance
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | api.rs | 64 /// [`packed::Searcher`](struct.Searcher.html) for searching. 132 /// [`Searcher`](struct.Searcher.html) 247 pub fn build(&self) -> Option<Searcher> { in build() 270 Some(Searcher { patterns, rabinkarp, search_kind, minimum_len }) in build() 356 /// use aho_corasick::packed::{MatchKind, Searcher}; 359 /// let searcher = Searcher::new(["foobar", "foo"].iter().cloned())?; 373 pub struct Searcher { structure names 386 impl Searcher { impls [all...] |
H A D | mod.rs | 17 * [`Searcher`](struct.Searcher.html) executes the actual search algorithm to 20 construct a `Searcher`. 22 produce a `Builder` (which can then be used to build a `Searcher`). 34 use aho_corasick::packed::{MatchKind, Searcher}; 37 let searcher = Searcher::new(["foobar", "foo"].iter().cloned())?; 108 pub use crate::packed::api::{Builder, Config, FindIter, MatchKind, Searcher};
|
/third_party/rust/crates/regex/src/ |
H A D | pattern.rs | 1 use std::str::pattern::{Pattern, SearchStep, Searcher}; 14 type Searcher = RegexSearcher<'r, 't>; types 26 unsafe impl<'r, 't> Searcher<'t> for RegexSearcher<'r, 't> {
|
/third_party/rust/crates/memchr/src/memmem/ |
H A D | mod.rs | 450 searcher: Searcher<'n>, 715 Finder { searcher: Searcher::new(self.config, needle.as_ref()) } in build_forward() 744 struct Searcher<'n> { structure names 819 impl<'n> Searcher<'n> { impls 820 fn new(config: SearcherConfig, needle: &'n [u8]) -> Searcher<'n> { in new() 830 Searcher { needle: CowBytes::new(needle), ninfo, prefn, kind } in new() 877 fn as_ref(&self) -> Searcher<'_> { in as_ref() 893 Searcher { 902 fn into_owned(self) -> Searcher<'static> { in into_owned() 918 Searcher { [all...] |
/third_party/rust/crates/regex/tests/ |
H A D | searcher.rs | 16 use std::str::pattern::{Pattern, Searcher};
|
/third_party/rust/crates/regex/src/literal/ |
H A D | imp.rs | 36 Packed { s: packed::Searcher, lits: Vec<Literal> },
|
/third_party/rust/crates/aho-corasick/src/ |
H A D | prefilter.rs | 362 struct Packed(packed::Searcher);
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 5222 use std::str::pattern::{Pattern, ReverseSearcher, Searcher}; 5244 pat: impl Pattern<'a, Searcher: ReverseSearcher<'a>>, in cmp_search_to_vec() 15003 use core::str::pattern::{DoubleEndedSearcher, Pattern, ReverseSearcher, Searcher}; 17401 use core::str::pattern::Searcher; in remove_matches() 17418 // the Searcher docs in remove_matches() 18099 type Searcher = <&'b str as Pattern<'a>>::Searcher; types 18101 fn into_searcher(self, haystack: &'a str) -> <&'b str as Pattern<'a>>::Searcher { in into_searcher() [all...] |
Completed in 50 milliseconds