Lines Matching refs:thread
4335 nfa_thread_T *thread; in has_state_with_pos() local
4340 thread = &l->t[i]; in has_state_with_pos()
4341 if (thread->state->id == state->id in has_state_with_pos()
4342 && sub_equal(&thread->subs.norm, &subs->norm) in has_state_with_pos()
4345 || sub_equal(&thread->subs.synt, &subs->synt)) in has_state_with_pos()
4347 && pim_equal(&thread->pim, pim)) in has_state_with_pos()
4511 nfa_thread_T *thread; in addstate() local
4692 thread = &l->t[l->n++]; in addstate()
4693 thread->state = state; in addstate()
4695 thread->pim.result = NFA_PIM_UNUSED; in addstate()
4698 copy_pim(&thread->pim, pim); in addstate()
4701 copy_sub(&thread->subs.norm, &subs->norm); in addstate()
4704 copy_sub(&thread->subs.synt, &subs->synt); in addstate()
4707 report_state("Adding", &thread->subs.norm, state, l->id, pim); in addstate()