Home
last modified time | relevance | path

Searched refs:Searcher (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/aho-corasick/src/packed/
Dapi.rs247 pub fn build(&self) -> Option<Searcher> { in build() argument
270 Some(Searcher { patterns, rabinkarp, search_kind, minimum_len }) in build()
373 pub struct Searcher { struct
386 impl Searcher { argument
415 pub fn new<I, P>(patterns: I) -> Option<Searcher> in new()
605 searcher: &'s Searcher,
Dmod.rs108 pub use crate::packed::api::{Builder, Config, FindIter, MatchKind, Searcher};
/third_party/rust/crates/regex/src/
Dpattern.rs1 use std::str::pattern::{Pattern, SearchStep, Searcher};
14 type Searcher = RegexSearcher<'r, 't>; typedef
26 unsafe impl<'r, 't> Searcher<'t> for RegexSearcher<'r, 't> {
/third_party/rust/crates/memchr/src/memmem/
Dmod.rs450 searcher: Searcher<'n>,
715 Finder { searcher: Searcher::new(self.config, needle.as_ref()) } in build_forward()
744 struct Searcher<'n> { struct
819 impl<'n> Searcher<'n> { implementation
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 { in as_ref()
902 fn into_owned(self) -> Searcher<'static> { in into_owned()
918 Searcher { in into_owned()
/third_party/rust/crates/regex/tests/
Dsearcher.rs16 use std::str::pattern::{Pattern, Searcher};
/third_party/rust/crates/regex/src/literal/
Dimp.rs36 Packed { s: packed::Searcher, lits: Vec<Literal> },
/third_party/rust/crates/aho-corasick/src/
Dprefilter.rs362 struct Packed(packed::Searcher);
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs5222 use std::str::pattern::{Pattern, ReverseSearcher, Searcher};
5244 pat: impl Pattern<'a, Searcher: ReverseSearcher<'a>>,
15003 use core::str::pattern::{DoubleEndedSearcher, Pattern, ReverseSearcher, Searcher};
17401 use core::str::pattern::Searcher;
18099 type Searcher = <&'b str as Pattern<'a>>::Searcher;
18101 fn into_searcher(self, haystack: &'a str) -> <&'b str as Pattern<'a>>::Searcher {