Home
last modified time | relevance | path

Searched defs:SmallIndex (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/aho-corasick-1.1.3/src/util/
H A Dprimitives.rs96 pub(crate) struct SmallIndex(u32); struct
98 impl SmallIndex { impl
124 pub fn new(index: usize) -> Result<SmallIndex, SmallIndexError> { in new()
139 pub const fn new_unchecked(index: usize) -> SmallIndex { in new_unchecked()
155 pub const fn from_u32_unchecked(index: u32) -> SmallIndex { in from_u32_unchecked()
161 pub fn must(index: usize) -> SmallIndex { in must()
213 ) -> Result<SmallIndex, SmallIndexError> {
227 pub fn from_ne_bytes_unchecked(bytes: [u8; 4]) -> SmallIndex { in from_ne_bytes_unchecked()
271 impl From<StateID> for SmallIndex { implementation
272 fn from(sid: StateID) -> SmallIndex { in from()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.6/src/util/
H A Dprimitives.rs144 pub struct SmallIndex(u32); struct
146 impl SmallIndex { impl
172 pub fn new(index: usize) -> Result<SmallIndex, SmallIndexError> { in new()
187 pub const fn new_unchecked(index: usize) -> SmallIndex { in new_unchecked()
194 pub fn must(index: usize) -> SmallIndex { in must()
246 ) -> Result<SmallIndex, SmallIndexError> {
260 pub fn from_ne_bytes_unchecked(bytes: [u8; 4]) -> SmallIndex { in from_ne_bytes_unchecked()
306 impl From<u8> for SmallIndex { implementation
307 fn from(index: u8) -> SmallIndex { in from()
312 impl TryFrom<u16> for SmallIndex { implementation
[all …]
H A Dcaptures.rs2220 group: SmallIndex, in add_explicit_group()
2316 fn small_slot_len(&self) -> SmallIndex { in small_slot_len()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/aho-corasick-1.1.3/src/nfa/
H A Dnoncontiguous.rs237 pub(crate) fn pattern_lens_raw(&self) -> &[SmallIndex] { in pattern_lens_raw()
763 pub(crate) fn depth(&self) -> SmallIndex { in depth()