Searched refs:num_arcs (Results 1 – 4 of 4) sorted by relevance
347 size_t num_arcs = -1, num_states = -1; in WriteFst() local351 num_arcs = impl->narcs_; in WriteFst()356 num_arcs = 0; in WriteFst()359 num_arcs += fst.NumArcs(siter.Value()); in WriteFst()367 hdr.SetNumArcs(num_arcs); in WriteFst()419 if (hdr.NumArcs() != num_arcs) { in WriteFst()
568 Unsigned i, num_arcs; in NumArcs() local571 num_arcs = data_->States(s + 1) - i; in NumArcs()574 num_arcs = compactor_->Size(); in NumArcs()576 if (num_arcs > 0) { in NumArcs()579 --num_arcs; in NumArcs()582 return num_arcs; in NumArcs()937 size_t num_arcs = -1, num_states = -1, num_compacts = -1; in WriteFst() local940 num_arcs = impl->Data()->NumArcs(); in WriteFst()949 num_arcs = 0; in WriteFst()959 ++num_arcs; in WriteFst()[all …]
197 size_t num_arcs = edits_.NumArcs(internal_id); in AddArc() local200 if (num_arcs > 0) { in AddArc()202 arc_it.Seek(num_arcs - 1); in AddArc()
524 size_t num_arcs = fst->NumArcs(tuple.fst_state); in NumArcs() local526 num_arcs++; in NumArcs()528 return num_arcs; in NumArcs()