Home
last modified time | relevance | path

Searched refs:prefilter (Results 1 – 25 of 29) sorted by relevance

12

/third_party/rust/crates/aho-corasick/src/
Dautomaton.rs2 use crate::prefilter::{self, Candidate, Prefilter, PrefilterState};
100 fn prefilter(&self) -> Option<&dyn Prefilter>; in prefilter() method
192 if let Some(pre) = self.prefilter() { in standard_find_at()
212 prefilter: Option<&dyn Prefilter>, in standard_find_at_imp()
218 if let Some(pre) = prefilter { in standard_find_at_imp()
221 let c = prefilter::next(prestate, pre, haystack, at) in standard_find_at_imp()
277 if let Some(pre) = self.prefilter() { in leftmost_find_at()
297 prefilter: Option<&dyn Prefilter>, in leftmost_find_at_imp()
308 if let Some(pre) = prefilter { in leftmost_find_at_imp()
311 let c = prefilter::next(prestate, pre, haystack, at) in leftmost_find_at_imp()
[all …]
Dnfa.rs11 use crate::prefilter::{self, opposite_ascii_case, Prefilter, PrefilterObj};
62 prefilter: Option<PrefilterObj>, field
102 self.prefilter.as_ref() in prefilter_obj()
109 + self.prefilter.as_ref().map_or(0, |p| p.as_ref().heap_bytes()) in heap_bytes()
228 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
229 self.prefilter.as_ref().map(|p| p.as_ref()) in prefilter()
541 prefilter: bool, field
551 prefilter: true, in default()
581 pub fn prefilter(&mut self, yes: bool) -> &mut Builder { in prefilter() method
582 self.prefilter = yes; in prefilter()
[all …]
Ddfa.rs8 use crate::prefilter::{Prefilter, PrefilterObj, PrefilterState};
46 pub fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
47 self.repr().prefilter.as_ref().map(|p| p.as_ref()) in prefilter()
163 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
164 self.repr().prefilter.as_ref().map(|p| p.as_ref()) in prefilter()
222 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
223 self.repr().prefilter.as_ref().map(|p| p.as_ref()) in prefilter()
283 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
284 self.repr().prefilter.as_ref().map(|p| p.as_ref()) in prefilter()
350 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
[all …]
Dahocorasick.rs9 use crate::prefilter::{Prefilter, PrefilterState};
1068 fn prefilter(&self) -> Option<&dyn Prefilter> { in prefilter() method
1070 Imp::NFA(ref nfa) => nfa.prefilter(), in prefilter()
1071 Imp::DFA(ref dfa) => dfa.prefilter(), in prefilter()
1077 let p = match self.prefilter() { in use_prefilter()
1886 pub fn prefilter(&mut self, yes: bool) -> &mut AhoCorasickBuilder { in prefilter() method
1887 self.nfa_builder.prefilter(yes); in prefilter()
Dlib.rs212 mod prefilter; module
Dtests.rs688 b.prefilter(false);
720 b.dfa(true).prefilter(false);
963 b.prefilter(false).ascii_case_insensitive(true);
1164 .prefilter(true) in regression_case_insensitive_prefilter()
Dprefilter.rs1000 prefilter: P, in next()
1004 let cand = prefilter.next_candidate(prestate, haystack, at); in next()
/third_party/rust/crates/aho-corasick/aho-corasick-debug/
Dmain.rs50 prefilter: bool, field
111 prefilter: parsed.is_present("prefilter"), in parse()
132 .prefilter(self.prefilter) in automaton()
/third_party/rust/crates/memchr/src/memmem/
Dmod.rs69 pub use self::prefilter::Prefilter;
74 prefilter::{Pre, PrefilterFn, PrefilterState},
151 mod prefilter; module
731 pub fn prefilter(&mut self, prefilter: Prefilter) -> &mut FinderBuilder { in prefilter() method
732 self.config.prefilter = prefilter; in prefilter()
796 prefilter: Prefilter, field
825 let prefn = prefilter::forward( in new()
826 &config.prefilter, in new()
Dwasm.rs46 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
59 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
Dtwoway.rs3 use crate::memmem::{prefilter::Pre, util};
/third_party/rust/crates/memchr/src/memmem/prefilter/x86/
Dsse.rs4 prefilter::{PrefilterFnTy, PrefilterState},
38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
Davx.rs4 prefilter::{PrefilterFnTy, PrefilterState},
38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
/third_party/rust/crates/memchr/src/memmem/prefilter/
Dwasm.rs4 prefilter::{PrefilterFnTy, PrefilterState},
35 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
Dfallback.rs32 prefilter::{PrefilterFnTy, PrefilterState},
116 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
Dgenericsimd.rs4 prefilter::{PrefilterFnTy, PrefilterState},
Dmod.rs375 prefilter::PrefilterFnTy, rabinkarp, rarebytes::RareNeedleBytes,
/third_party/rust/crates/memchr/src/memmem/x86/
Dsse.rs58 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
71 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
Davx.rs105 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
118 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
/third_party/rust/crates/memchr/bench/src/memmem/
Dsliceslice.rs74 .prefilter(memmem::Prefilter::None) in search_short_haystack()
168 .prefilter(memmem::Prefilter::None) in search_long_haystack()
254 .prefilter(memmem::Prefilter::None) in search_i386_haystack()
Dimp.rs117 .prefilter(memmem::Prefilter::None) in finder()
167 .prefilter(memmem::Prefilter::None) in finder()
/third_party/re2/
DBUILD.gn36 "${RE2_DIR}/re2/prefilter.cc",
37 "${RE2_DIR}/re2/prefilter.h",
/third_party/rust/crates/memchr/bench/data/pathological/
DREADME.md31 prefilter.
39 a bit better by noticing that the prefilter is ineffective and falling back
/third_party/rust/crates/memchr/bench/data/opensubtitles/
DREADME.md11 "rare bytes" to base a prefilter on, it's possible for this heuristic to do
/third_party/rust/crates/memchr/
DREADME.md105 is used. If possible, a prefilter based on the "Generic SIMD" algorithm
107 to detect if the prefilter is ineffective, and if so, disables it.

12