Lines Matching refs:fst_state
82 : prefix_id(-1), fst_id(kNoStateId), fst_state(kNoStateId) {}
85 : prefix_id(p), fst_id(f), fst_state(s) {}
89 StateId fst_state; // current state in fst being walked, not to be
100 x.fst_state == y.fst_state;
126 tuple.fst_state;
135 // Useful when the fst_state uniquely define the tuple.
140 return tuple.fst_state;
151 return t.prefix_id + t.fst_id * kPrime0 + t.fst_state * kPrime1;
502 StateId fst_state = tuple.fst_state;
504 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
505 SetFinal(s, fst->Final(fst_state));
520 if (tuple.fst_state == kNoStateId)
524 size_t num_arcs = fst->NumArcs(tuple.fst_state);
558 if (tuple.fst_state == kNoStateId)
565 fst->NumInputEpsilons(tuple.fst_state);
569 ArcIterator<Fst<A> > aiter(*fst, tuple.fst_state);
595 if (tuple.fst_state == kNoStateId)
599 ArcIterator<Fst<A> > aiter(*fst, tuple.fst_state);
641 if (tuple.fst_state == kNoStateId) {
647 *(fst_array_[tuple.fst_id]), tuple.fst_state);
666 if (tuple.fst_state == kNoStateId) {
692 StateId fst_state = tuple.fst_state;
693 if (fst_state == kNoStateId)
698 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
709 arcp->weight = fst->Final(fst_state);
1076 if (tuple_.fst_state == kNoStateId) {
1084 fst->InitArcIterator(tuple_.fst_state, &local_data_);
1328 if (tuple_.fst_state == kNoStateId) {
1334 current_matcher_->SetState(tuple_.fst_state);