Lines Matching refs:pre
44 /// critical position and a pre-computed shift.
109 pre: Option<&mut Pre<'_>>,
118 self.find_small_imp(pre, haystack, needle, period)
121 self.find_large_imp(pre, haystack, needle, shift)
132 pre: Option<&mut Pre<'_>>,
141 self.find(pre, haystack, needle)
154 mut pre: Option<&mut Pre<'_>>,
164 if let Some(pre) = pre.as_mut() {
165 if pre.should_call() {
166 pos += pre.call(&haystack[pos..], needle)?;
203 mut pre: Option<&mut Pre<'_>>,
211 if let Some(pre) = pre.as_mut() {
212 if pre.should_call() {
213 pos += pre.call(&haystack[pos..], needle)?;