Lines Matching refs:Suffix
86 let min_suffix = Suffix::forward(needle, SuffixKind::Minimal); in new()
87 let max_suffix = Suffix::forward(needle, SuffixKind::Maximal); in new()
253 let min_suffix = Suffix::reverse(needle, SuffixKind::Minimal); in new()
254 let max_suffix = Suffix::reverse(needle, SuffixKind::Maximal); in new()
479 struct Suffix { struct
495 impl Suffix { impl
496 fn forward(needle: &[u8], kind: SuffixKind) -> Suffix { in forward() argument
501 let mut suffix = Suffix { pos: 0, period: 1 }; in forward()
524 suffix = Suffix { pos: candidate_start, period: 1 }; in forward()
546 fn reverse(needle: &[u8], kind: SuffixKind) -> Suffix { in reverse() argument
550 let mut suffix = Suffix { pos: needle.len(), period: 1 }; in reverse()
562 suffix = Suffix { pos: candidate_start, period: 1 }; in reverse()
681 let s = Suffix::forward(needle, kind); in get_suffix_forward()
687 let s = Suffix::reverse(needle, kind); in get_suffix_reverse()