Home
last modified time | relevance | path

Searched refs:PrefilterState (Results 1 – 14 of 14) sorted by relevance

/third_party/rust/crates/memchr/src/memmem/prefilter/
Dmod.rs24 pub(crate) state: &'a mut PrefilterState,
89 prestate: &mut PrefilterState,
101 _prestate: &mut PrefilterState, in simple_memchr_fallback() argument
126 prestate: &mut PrefilterState, in call() argument
204 pub(crate) struct PrefilterState { struct
216 impl PrefilterState { argument
230 pub(crate) fn new() -> PrefilterState { in new()
231 PrefilterState { skips: 1, skipped: 0 } in new()
235 pub(crate) fn inert() -> PrefilterState { in inert()
236 PrefilterState { skips: 0, skipped: 0 } in inert()
[all …]
Dfallback.rs32 prefilter::{PrefilterFnTy, PrefilterState},
50 prestate: &mut PrefilterState, in find() argument
97 let mut prestate = PrefilterState::new(); in freqy_find()
Dwasm.rs4 prefilter::{PrefilterFnTy, PrefilterState},
14 prestate: &mut PrefilterState, in find() argument
Dgenericsimd.rs4 prefilter::{PrefilterFnTy, PrefilterState},
45 prestate: &mut PrefilterState, in find() argument
192 prestate: &mut PrefilterState, in matched() argument
/third_party/rust/crates/aho-corasick/src/
Dprefilter.rs60 state: &mut PrefilterState, in next_candidate() argument
100 state: &mut PrefilterState, in next_candidate() argument
151 pub struct PrefilterState { struct
181 impl PrefilterState { argument
195 pub fn new(max_match_len: usize) -> PrefilterState { in new() argument
196 PrefilterState { in new()
206 pub fn disabled() -> PrefilterState { in disabled()
207 PrefilterState { in disabled()
254 if self.skips < PrefilterState::MIN_SKIPS { in is_effective()
258 let min_avg = PrefilterState::MIN_AVG_FACTOR * self.max_match_len; in is_effective()
[all …]
Dautomaton.rs2 use crate::prefilter::{self, Candidate, Prefilter, PrefilterState};
187 prestate: &mut PrefilterState, in standard_find_at() argument
211 prestate: &mut PrefilterState, in standard_find_at_imp() argument
272 prestate: &mut PrefilterState, in leftmost_find_at() argument
296 prestate: &mut PrefilterState, in leftmost_find_at_imp() argument
373 prestate: &mut PrefilterState, in leftmost_find_at_no_state() argument
395 prestate: &mut PrefilterState, in leftmost_find_at_no_state_imp() argument
477 prestate: &mut PrefilterState, in overlapping_find_at() argument
514 prestate: &mut PrefilterState, in earliest_find_at() argument
536 prestate: &mut PrefilterState, in find_at() argument
[all …]
Dahocorasick.rs9 use crate::prefilter::{Prefilter, PrefilterState};
212 let mut prestate = PrefilterState::new(self.max_pattern_len()); in earliest_find()
284 let mut prestate = PrefilterState::new(self.max_pattern_len()); in find()
1087 prestate: &mut PrefilterState, in overlapping_find_at() argument
1114 prestate: &mut PrefilterState, in earliest_find_at() argument
1132 prestate: &mut PrefilterState, in find_at_no_state() argument
1162 prestate: PrefilterState,
1169 let prestate = PrefilterState::new(ac.max_pattern_len()); in new()
1219 prestate: PrefilterState,
1235 let prestate = PrefilterState::new(ac.max_pattern_len()); in new()
[all …]
Ddfa.rs8 use crate::prefilter::{Prefilter, PrefilterObj, PrefilterState};
57 prestate: &mut PrefilterState, in overlapping_find_at() argument
98 prestate: &mut PrefilterState, in earliest_find_at() argument
122 prestate: &mut PrefilterState, in find_at_no_state() argument
/third_party/rust/crates/memchr/src/memmem/prefilter/x86/
Dsse.rs4 prefilter::{PrefilterFnTy, PrefilterState},
19 prestate: &mut PrefilterState, in find() argument
Davx.rs4 prefilter::{PrefilterFnTy, PrefilterState},
19 prestate: &mut PrefilterState, in find() argument
/third_party/rust/crates/memchr/src/memmem/x86/
Dsse.rs58 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
61 _: &mut PrefilterState, in find() argument
Davx.rs105 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
108 _: &mut PrefilterState, in find() argument
/third_party/rust/crates/memchr/src/memmem/
Dwasm.rs46 use crate::memmem::{prefilter::PrefilterState, NeedleInfo};
49 _: &mut PrefilterState, in find() argument
Dmod.rs74 prefilter::{Pre, PrefilterFn, PrefilterState},
313 prestate: PrefilterState,
865 fn prefilter_state(&self) -> PrefilterState { in prefilter_state() argument
867 PrefilterState::inert() in prefilter_state()
869 PrefilterState::new() in prefilter_state()
932 state: &mut PrefilterState, in find() argument
993 state: &mut PrefilterState, in find_tw() argument