Home
last modified time | relevance | path

Searched defs:StateID (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/regex-automata/src/nfa/
Drange_trie.rs156 type StateID = u32; typedef
430 pub fn add_empty(&mut self) -> StateID { in add_empty()
466 fn duplicate(&mut self, old_id: StateID) -> StateID { in duplicate()
506 from_id: StateID, in add_transition()
508 next_id: StateID, in add_transition()
520 from_id: StateID, in add_transition_at()
522 next_id: StateID, in add_transition_at()
533 from_id: StateID, in set_transition_at()
535 next_id: StateID, in set_transition_at()
644 fn new(state_id: StateID, ranges: &[Utf8Range]) -> NextInsert { in new()
[all …]
Dmap.rs144 pub fn get(&mut self, key: &[Transition], hash: usize) -> Option<StateID> { in get()
166 state_id: StateID, in set()
261 ) -> Option<StateID> { in get()
278 pub fn set(&mut self, key: Utf8SuffixKey, hash: usize, state_id: StateID) { in set()
Dcompiler.rs785 fn patch(&self, from: StateID, to: StateID) { in patch()
806 fn add_empty(&self) -> StateID { in add_empty()
812 fn add_range(&self, start: u8, end: u8) -> StateID { in add_range()
820 fn add_sparse(&self, ranges: Vec<Transition>) -> StateID { in add_sparse()
833 fn add_union(&self) -> StateID { in add_union()
840 fn add_reverse_union(&self) -> StateID { in add_reverse_union()
847 fn add_match(&self) -> StateID { in add_match()
930 fn compile(&mut self, node: Vec<Transition>) -> StateID { in compile()
977 fn top_last_freeze(&mut self, next: StateID) { in top_last_freeze()
989 fn set_last_transition(&mut self, next: StateID) { in set_last_transition()
Dmod.rs11 pub type StateID = usize; typedef
76 pub fn start(&self) -> StateID { in start()
158 fn remap(&mut self, remap: &[StateID]) { in remap() method
/external/rust/crates/aho-corasick/src/
Dstate_id.rs72 pub trait StateID: interface
Dahocorasick.rs1622 ) -> Result<AhoCorasick<S>> in build_with_size()
Dnfa.rs1318 fn sparse_iter<S: StateID, F: FnMut(u8, S)>(trans: &[(u8, S)], mut f: F) { in sparse_iter()
/external/rust/crates/regex-automata/src/
Dstate_id.rs115 pub unsafe trait StateID: interface
Ddeterminize.rs188 fn epsilon_closure(&mut self, start: nfa::StateID, set: &mut SparseSet) { in epsilon_closure()