Home
last modified time | relevance | path

Searched refs:RareNeedleBytes (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/memchr/src/memmem/
H A Drarebytes.rs15 pub(crate) struct RareNeedleBytes {
37 impl RareNeedleBytes { impls
41 pub(crate) fn new(rare1i: u8, rare2i: u8) -> RareNeedleBytes {
42 RareNeedleBytes { rare1i, rare2i }
47 pub(crate) fn forward(needle: &[u8]) -> RareNeedleBytes {
59 return RareNeedleBytes { rare1i: 0, rare2i: 0 };
85 RareNeedleBytes { rare1i, rare2i }
89 /// The needle given must be the same one given to the RareNeedleBytes
125 /// the same one given to the RareNeedleBytes constructor.
H A Dmod.rs76 rarebytes::RareNeedleBytes,
778 pub(crate) rarebytes: RareNeedleBytes,
1015 rarebytes: RareNeedleBytes::forward(needle),
/third_party/rust/crates/memchr/src/memmem/prefilter/
H A Dmod.rs1 use crate::memmem::{rarebytes::RareNeedleBytes, NeedleInfo};
292 rare: &RareNeedleBytes,
375 prefilter::PrefilterFnTy, rabinkarp, rarebytes::RareNeedleBytes,
466 rarebytes: RareNeedleBytes::new(rare1i, rare2i), in new()

Completed in 4 milliseconds