Home
last modified time | relevance | path

Searched refs:ByteClasses (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/regex-automata/src/
Dclasses.rs9 pub struct ByteClasses([u8; 256]); struct
11 impl ByteClasses { implementation
14 pub fn empty() -> ByteClasses { in empty()
15 ByteClasses([0; 256]) in empty()
20 pub fn singletons() -> ByteClasses { in singletons()
21 let mut classes = ByteClasses::empty(); in singletons()
31 pub fn from_slice(slice: &[u8]) -> ByteClasses { in from_slice() argument
35 ByteClasses::singletons() in from_slice()
37 let mut classes = ByteClasses::empty(); in from_slice()
110 impl fmt::Debug for ByteClasses { implementation
[all …]
Ddense.rs14 use classes::ByteClasses;
966 byte_classes: ByteClasses,
982 Repr::empty_with_byte_classes(ByteClasses::singletons()) in empty()
988 byte_classes: ByteClasses, in empty_with_byte_classes() argument
1099 pub fn byte_classes(&self) -> &ByteClasses { in byte_classes() argument
1365 let byte_classes = ByteClasses::from_slice(&buf[..256]); in from_bytes()
Dsparse.rs14 use classes::ByteClasses;
622 byte_classes: ByteClasses,
916 let byte_classes = ByteClasses::from_slice(&buf[..256]); in from_bytes()
/external/rust/crates/aho-corasick/src/
Dclasses.rs9 pub struct ByteClasses([u8; 256]); struct
11 impl ByteClasses { impl
14 pub fn empty() -> ByteClasses { in empty()
15 ByteClasses([0; 256]) in empty()
20 pub fn singletons() -> ByteClasses { in singletons()
21 let mut classes = ByteClasses::empty(); in singletons()
87 impl fmt::Debug for ByteClasses { implementation
105 classes: &'a ByteClasses,
176 pub fn build(&self) -> ByteClasses { in build() argument
177 let mut classes = ByteClasses::empty(); in build()
Dnfa.rs9 use classes::{ByteClassBuilder, ByteClasses};
69 byte_classes: ByteClasses,
96 pub fn byte_classes(&self) -> &ByteClasses { in byte_classes() argument
138 byte_classes: &ByteClasses, in iter_all_transitions() argument
455 fn iter_all<F: FnMut(u8, S)>(&self, classes: &ByteClasses, mut f: F) { in iter_all() argument
633 byte_classes: ByteClasses::singletons(), in new()
Ddfa.rs5 use classes::ByteClasses;
417 byte_classes: ByteClasses,
627 ByteClasses::singletons() in build()
/external/rust/crates/regex-automata/src/nfa/
Dmod.rs3 use classes::ByteClasses;
41 byte_classes: ByteClasses,
51 byte_classes: ByteClasses::empty(), in always_match()
61 byte_classes: ByteClasses::empty(), in never_match()
88 pub fn byte_classes(&self) -> &ByteClasses { in byte_classes() argument