Home
last modified time | relevance | path

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

/external/openfst/src/include/fst/
Dconst-fst.h347 size_t num_arcs = -1, num_states = -1; in WriteFst() local
351 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()
Dcompact-fst.h568 Unsigned i, num_arcs; in NumArcs() local
571 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() local
940 num_arcs = impl->Data()->NumArcs(); in WriteFst()
949 num_arcs = 0; in WriteFst()
959 ++num_arcs; in WriteFst()
[all …]
Dedit-fst.h197 size_t num_arcs = edits_.NumArcs(internal_id); in AddArc() local
200 if (num_arcs > 0) { in AddArc()
202 arc_it.Seek(num_arcs - 1); in AddArc()
Dreplace.h524 size_t num_arcs = fst->NumArcs(tuple.fst_state); in NumArcs() local
526 num_arcs++; in NumArcs()
528 return num_arcs; in NumArcs()