Home
last modified time | relevance | path

Searched refs:fail_id (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/aho-corasick/src/
Dnfa.rs12 use crate::state_id::{dead_id, fail_id, usize_to_state_id, StateID};
274 if next != fail_id() { in next_state()
338 Dense(vec![fail_id(); 256]) in new()
402 fail_id() in next_state()
434 if id != fail_id() { in iter()
526 if id != fail_id() { in next()
703 if next != fail_id() { in build_trie()
919 while it.nfa().state(fail).next_state(b) == fail_id() { in fill_failure_transitions()
968 if start.next_state(b) == fail_id() { in add_start_state_loop()
1159 f(byte as u8, fail_id()); in sparse_iter()
[all …]
Ddfa.rs9 use crate::state_id::{dead_id, fail_id, premultiply_overflow_error, StateID};
530 let mut swaps: Vec<S> = vec![fail_id(); self.state_count]; in shuffle_match_states()
554 if swaps[next.to_usize()] != fail_id() { in shuffle_match_states()
559 if swaps[self.start_id.to_usize()] != fail_id() { in shuffle_match_states()
630 let trans = vec![fail_id(); alphabet_len * nfa.state_len()]; in build()
640 max_match: fail_id(), in build()
652 if next == fail_id() { in build()
708 if next != fail_id() { in nfa_next_state_memoized()
Dautomaton.rs3 use crate::state_id::{dead_id, fail_id, StateID};
170 next != fail_id(), in next_state_no_fail()
Dstate_id.rs39 pub fn fail_id<S: StateID>() -> S { in fail_id() function