/third_party/rust/crates/aho-corasick/src/ |
D | automaton.rs | 3 use crate::state_id::{dead_id, fail_id, StateID}; 190 state_id: &mut Self::ID, in standard_find_at() 198 state_id, in standard_find_at() 201 self.standard_find_at_imp(prestate, None, haystack, at, state_id) in standard_find_at() 215 state_id: &mut Self::ID, in standard_find_at_imp() 219 if prestate.is_effective(at) && *state_id == self.start_state() in standard_find_at_imp() 236 *state_id = self.next_state_no_fail(*state_id, haystack[at]); in standard_find_at_imp() 244 *state_id != dead_id() || self.anchored(), in standard_find_at_imp() 248 if self.is_match_or_dead_state(*state_id) { in standard_find_at_imp() 249 return if *state_id == dead_id() { in standard_find_at_imp() [all …]
|
D | ahocorasick.rs | 10 use crate::state_id::StateID; 1090 state_id: &mut S, in overlapping_find_at() 1098 state_id, in overlapping_find_at() 1105 state_id, in overlapping_find_at() 1117 state_id: &mut S, in earliest_find_at() 1121 nfa.earliest_find_at(prestate, haystack, at, state_id) in earliest_find_at() 1124 dfa.earliest_find_at(prestate, haystack, at, state_id) in earliest_find_at() 1222 state_id: S, field 1241 state_id: ac.imp.start_state(), in new() 1255 &mut self.state_id, in next() [all …]
|
D | dfa.rs | 9 use crate::state_id::{dead_id, fail_id, premultiply_overflow_error, StateID}; 60 state_id: &mut S, in overlapping_find_at() 68 state_id, in overlapping_find_at() 75 state_id, in overlapping_find_at() 82 state_id, in overlapping_find_at() 89 state_id, in overlapping_find_at() 101 state_id: &mut S, in earliest_find_at() 105 dfa.earliest_find_at(prestate, haystack, at, state_id) in earliest_find_at() 108 dfa.earliest_find_at(prestate, haystack, at, state_id) in earliest_find_at() 111 dfa.earliest_find_at(prestate, haystack, at, state_id) in earliest_find_at() [all …]
|
D | nfa.rs | 12 use crate::state_id::{dead_id, fail_id, usize_to_state_id, StateID}; 491 state_id: S, field 496 fn new(nfa: &'a mut NFA<S>, state_id: S) -> IterTransitionsMut<'a, S> { in new() 497 IterTransitionsMut { nfa, state_id, cur: 0 } in new() 509 match self.nfa.states[self.state_id.to_usize()].trans { in next() 1066 fn insert(&mut self, state_id: S) { in insert() 1068 set.insert(state_id); in insert() 1074 fn contains(&self, state_id: S) -> bool { in contains() 1077 Some(ref set) => set.contains(&state_id), in contains()
|
D | lib.rs | 201 pub use crate::state_id::StateID; 213 mod state_id; module
|
/third_party/musl/porting/liteos_m/kernel/src/regex/ |
D | regexec.c | 279 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 306 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 307 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 404 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 411 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 412 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 429 assert(reach_pos[trans_i->state_id].pos == pos); in tre_tnfa_run_parallel() 435 *reach_pos[trans_i->state_id].tags)) in tre_tnfa_run_parallel() 438 tmp_iptr = *reach_pos[trans_i->state_id].tags; in tre_tnfa_run_parallel() 439 *reach_pos[trans_i->state_id].tags = tmp_tags; in tre_tnfa_run_parallel() [all …]
|
D | tre.h | 101 int state_id; member
|
D | regcomp.c | 2509 if (trans->state_id == p2->position) in tre_make_trans() 2524 trans->state_id = p2->position; in tre_make_trans() 2858 initial[i].state_id = p->position; in regcomp()
|
/third_party/musl/porting/uniproton/kernel/src/regex/ |
D | regexec.c | 279 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 306 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 307 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 404 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 411 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 412 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 429 assert(reach_pos[trans_i->state_id].pos == pos); in tre_tnfa_run_parallel() 435 *reach_pos[trans_i->state_id].tags)) in tre_tnfa_run_parallel() 438 tmp_iptr = *reach_pos[trans_i->state_id].tags; in tre_tnfa_run_parallel() 439 *reach_pos[trans_i->state_id].tags = tmp_tags; in tre_tnfa_run_parallel() [all …]
|
D | tre.h | 101 int state_id; member
|
D | regcomp.c | 2509 if (trans->state_id == p2->position) in tre_make_trans() 2524 trans->state_id = p2->position; in tre_make_trans() 2858 initial[i].state_id = p->position; in regcomp()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/ |
D | regexec.c | 279 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 306 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 307 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 404 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 411 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 412 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 429 assert(reach_pos[trans_i->state_id].pos == pos); in tre_tnfa_run_parallel() 435 *reach_pos[trans_i->state_id].tags)) in tre_tnfa_run_parallel() 438 tmp_iptr = *reach_pos[trans_i->state_id].tags; in tre_tnfa_run_parallel() 439 *reach_pos[trans_i->state_id].tags = tmp_tags; in tre_tnfa_run_parallel() [all …]
|
D | tre.h | 102 int state_id; member
|
D | regcomp.c | 2510 if (trans->state_id == p2->position) in tre_make_trans() 2525 trans->state_id = p2->position; in tre_make_trans() 2859 initial[i].state_id = p->position; in regcomp()
|
/third_party/musl/src/regex/ |
D | regexec.c | 279 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 306 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 307 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 404 if (reach_pos[trans_i->state_id].pos < pos) in tre_tnfa_run_parallel() 411 reach_pos[trans_i->state_id].pos = pos; in tre_tnfa_run_parallel() 412 reach_pos[trans_i->state_id].tags = &reach_next_i->tags; in tre_tnfa_run_parallel() 429 assert(reach_pos[trans_i->state_id].pos == pos); in tre_tnfa_run_parallel() 435 *reach_pos[trans_i->state_id].tags)) in tre_tnfa_run_parallel() 438 tmp_iptr = *reach_pos[trans_i->state_id].tags; in tre_tnfa_run_parallel() 439 *reach_pos[trans_i->state_id].tags = tmp_tags; in tre_tnfa_run_parallel() [all …]
|
D | tre.h | 100 int state_id; member
|
D | regcomp.c | 2509 if (trans->state_id == p2->position) in tre_make_trans() 2524 trans->state_id = p2->position; in tre_make_trans() 2858 initial[i].state_id = p->position; in regcomp()
|
/third_party/rust/crates/aho-corasick/ |
D | DESIGN.md | 111 let mut state_id = trie.start(); 112 // If the empty pattern is in trie, then state_id is a match state. 113 if trie.is_match(state_id) { 117 state_id = match trie.next_state(state_id, b) { 123 if trie.is_match(state_id) { 169 let mut state_id = fsm.start(); 170 // If the empty pattern is in fsm, then state_id is a match state. 171 if fsm.is_match(state_id) { 184 match fsm.next_state(state_id, b) { 186 state_id = id; [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 489 enum fd6_state_id state_id; in fd6_emit_combined_textures() member 499 assert(s[type].state_id); in fd6_emit_combined_textures() 523 fd6_emit_add_group(emit, tex->stateobj, s[type].state_id, in fd6_emit_combined_textures() 544 fd6_emit_take_group(emit, stateobj, s[type].state_id, in fd6_emit_combined_textures()
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | instruction.cc | 985 int state_id) { in GetDeoptimizationEntry() argument 986 return deoptimization_entries_[state_id]; in GetDeoptimizationEntry()
|
D | code-generator.cc | 996 int const state_id = i.InputInt32(frame_state_offset); in GetDeoptimizationEntry() local 997 return instructions()->GetDeoptimizationEntry(state_id); in GetDeoptimizationEntry()
|
D | instruction-selector.cc | 897 int const state_id = sequence()->AddDeoptimizationEntry( in AppendDeoptimizeArguments() local 899 args->push_back(g.TempImmediate(state_id)); in AppendDeoptimizeArguments() 1089 int const state_id = sequence()->AddDeoptimizationEntry( in InitializeCallBuffer() local 1092 buffer->instruction_args.push_back(g.TempImmediate(state_id)); in InitializeCallBuffer()
|