/third_party/rust/crates/aho-corasick/src/ |
D | automaton.rs | 2 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 …]
|
D | nfa.rs | 11 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 …]
|
D | dfa.rs | 8 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 …]
|
D | ahocorasick.rs | 9 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()
|
D | lib.rs | 212 mod prefilter; module
|
D | tests.rs | 688 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()
|
D | prefilter.rs | 1000 prefilter: P, in next() 1004 let cand = prefilter.next_candidate(prestate, haystack, at); in next()
|
/third_party/rust/crates/aho-corasick/aho-corasick-debug/ |
D | main.rs | 50 prefilter: bool, field 111 prefilter: parsed.is_present("prefilter"), in parse() 132 .prefilter(self.prefilter) in automaton()
|
/third_party/rust/crates/memchr/src/memmem/ |
D | mod.rs | 69 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()
|
D | wasm.rs | 46 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 59 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | twoway.rs | 3 use crate::memmem::{prefilter::Pre, util};
|
/third_party/rust/crates/memchr/src/memmem/prefilter/x86/ |
D | sse.rs | 4 prefilter::{PrefilterFnTy, PrefilterState}, 38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | avx.rs | 4 prefilter::{PrefilterFnTy, PrefilterState}, 38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
/third_party/rust/crates/memchr/src/memmem/prefilter/ |
D | wasm.rs | 4 prefilter::{PrefilterFnTy, PrefilterState}, 35 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | fallback.rs | 32 prefilter::{PrefilterFnTy, PrefilterState}, 116 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | genericsimd.rs | 4 prefilter::{PrefilterFnTy, PrefilterState},
|
D | mod.rs | 375 prefilter::PrefilterFnTy, rabinkarp, rarebytes::RareNeedleBytes,
|
/third_party/rust/crates/memchr/src/memmem/x86/ |
D | sse.rs | 58 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 71 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | avx.rs | 105 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 118 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | sliceslice.rs | 74 .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()
|
D | imp.rs | 117 .prefilter(memmem::Prefilter::None) in finder() 167 .prefilter(memmem::Prefilter::None) in finder()
|
/third_party/re2/ |
D | BUILD.gn | 36 "${RE2_DIR}/re2/prefilter.cc", 37 "${RE2_DIR}/re2/prefilter.h",
|
/third_party/rust/crates/memchr/bench/data/pathological/ |
D | README.md | 31 prefilter. 39 a bit better by noticing that the prefilter is ineffective and falling back
|
/third_party/rust/crates/memchr/bench/data/opensubtitles/ |
D | README.md | 11 "rare bytes" to base a prefilter on, it's possible for this heuristic to do
|
/third_party/rust/crates/memchr/ |
D | README.md | 105 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.
|