/external/openfst/src/include/fst/ |
D | equal.h | 109 if (fst1.NumArcs(s1) != fst2.NumArcs(s2) ||
|
D | const-fst.h | 84 size_t NumArcs(StateId s) const { return states_[s].narcs; } in NumArcs() function 214 impl->narcs_ = hdr.NumArcs(); in Read() 359 num_arcs += fst.NumArcs(siter.Value()); in WriteFst() 387 state.narcs = fst.NumArcs(siter.Value()); in WriteFst() 419 if (hdr.NumArcs() != num_arcs) { in WriteFst() 464 narcs_(fst.GetImpl()->NumArcs(s)), i_(0) {} in ArcIterator()
|
D | arcsort.h | 59 arcs_.reserve(fst_.NumArcs(s)); in SetState() 142 virtual size_t NumArcs(StateId s) const { in NumArcs() function 143 return GetImpl()->GetFst().NumArcs(s); in NumArcs()
|
D | fst.h | 120 int64 NumArcs() const { return numarcs_; } in NumArcs() function 174 virtual size_t NumArcs(StateId) const = 0; // State's arc count 547 ssize_t NumArcs(const F &fst, typename F::Arc::StateId s) { in NumArcs() function 548 return fst.F::NumArcs(s); in NumArcs() 569 ssize_t NumArcs(const Fst<A> &fst, typename A::StateId s) { in NumArcs() function 570 return fst.NumArcs(s); in NumArcs() 847 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs() function
|
D | randgen.h | 56 size_t n = fst.NumArcs(s); in operator() 127 fst.NumArcs(s))).Value(); in operator() 191 if ((fst_.NumArcs(rstate.state_id) == 0 && in Sample() 270 if ((fst_.NumArcs(rstate.state_id) == 0 && in Sample() 405 size_t NumArcs(StateId s) { in NumArcs() function 409 return CacheImpl<B>::NumArcs(s); in NumArcs() 454 size_t narcs = fst_->NumArcs(rstate.state_id); in Expand()
|
D | edit-fst.h | 137 size_t NumArcs(StateId s, const WrappedFstT *wrapped) const { in NumArcs() function 140 wrapped->NumArcs(s) : edits_.NumArcs(it->second); in NumArcs() 197 size_t num_arcs = edits_.NumArcs(internal_id); in AddArc() 463 size_t NumArcs(StateId s) const { in NumArcs() function 464 return data_->NumArcs(s, wrapped_); in NumArcs()
|
D | minimize.h | 82 if (fst_.NumArcs(x) < fst_.NumArcs(y)) return true; in operator() 83 if (fst_.NumArcs(x) > fst_.NumArcs(y)) return false; in operator() 238 if (Tr_.NumArcs(s + 1)) in Split()
|
D | expanded-fst.h | 100 ssize_t NumArcs(const ExpandedFst<A> &fst, typename A::StateId s) { in NumArcs() function 101 return fst.NumArcs(s); in NumArcs()
|
D | compose-filter.h | 251 size_t na1 = internal::NumArcs(fst1_, s1); in SetState() 336 size_t na2 = internal::NumArcs(fst2_, s2); in SetState() 424 size_t na1 = internal::NumArcs(fst1_, s1); in SetState() 429 size_t na2 = internal::NumArcs(fst2_, s2); in SetState()
|
D | concat.h | 81 fst1->ReserveArcs(s1, fst2.NumArcs(s2)); in Concat() 146 fst2->ReserveArcs(s2, fst1.NumArcs(s1) + (final != Weight::Zero() ? 1 : 0)); in Concat()
|
D | state-map.h | 251 size_t NumArcs(StateId s) { in NumArcs() function 254 return CacheImpl<B>::NumArcs(s); in NumArcs() 462 arcs_.reserve(fst_.NumArcs(s)); in SetState() 546 arcs_.reserve(fst_.NumArcs(s)); in SetState()
|
D | add-on.h | 188 size_t NumArcs(StateId s) const { return fst_.NumArcs(s); } in NumArcs() function
|
D | complement.h | 100 size_t NumArcs(StateId s) const { in NumArcs() function 104 return fst_->NumArcs(s - 1) + 1; in NumArcs()
|
D | compact-fst.h | 178 size_t NumArcs() const { return narcs_; } in NumArcs() function 369 data->narcs_ = hdr.NumArcs(); in Read() 565 size_t NumArcs(StateId s) { in NumArcs() function 567 return CacheImpl<A>::NumArcs(s); in NumArcs() 653 hdr.SetNumArcs(data_->NumArcs()); in Write() 940 num_arcs = impl->Data()->NumArcs(); in WriteFst() 998 compacts += fst.NumArcs(s); in WriteFst()
|
D | rmfinalepsilon.h | 93 if (arcs.size() < fst->NumArcs(s)) { in RmFinalEpsilon()
|
D | compose.h | 170 size_t NumArcs(StateId s) { in NumArcs() function 173 return CacheImpl<A>::NumArcs(s); in NumArcs() 272 internal::NumArcs(fst1_, s1) > internal::NumArcs(fst2_, s2))) in Expand()
|
D | mutable-fst.h | 225 ssize_t NumArcs(const MutableFst<A> &fst, typename A::StateId s) { in NumArcs() function 226 return fst.NumArcs(s); in NumArcs()
|
D | rational.h | 100 size_t NumArcs(StateId s) { return Replace()->NumArcs(s); } in NumArcs() function
|
D | state-reachable.h | 75 if (fst_.NumArcs(s) > 0) { in InitState()
|
D | union.h | 81 fst1->ReserveArcs(s1, fst2.NumArcs(s2)); in Union()
|
D | accumulator.h | 260 if (fst.NumArcs(s) >= arc_limit_) { 485 if ((weights_ == 0) && (fst_->NumArcs(s) >= arc_limit_)) { 487 weights_->reserve(fst_->NumArcs(s) + 1);
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | info.h | 54 int64 NumArcs() const { return narcs_; } in NumArcs() function 153 cout << "# of arcs" << pdtinfo.NumArcs() << endl; in PrintPdtInfo()
|
/external/openfst/src/test/ |
D | fst_test.h | 92 CHECK_EQ(fst.NumArcs(s), s); in TestBase() 160 CHECK_EQ(cfst2->NumArcs(s), 0); in TestMutable()
|
/external/openfst/src/include/fst/script/ |
D | info-impl.h | 187 int64 NumArcs() const { CheckLong(); return narcs_; } in NumArcs() function 253 os << "# of arcs" << fstinfo.NumArcs() << endl;
|
/external/openfst/src/include/fst/extensions/ngram/ |
D | ngram-fst.h | 148 size_t NumArcs(StateId state, NGramFstInst<A> *inst = NULL) const { 368 num_futures += fst.NumArcs(state) - fst.NumInputEpsilons(state); in NGramFstImpl() 677 virtual size_t NumArcs(StateId s) const { in NumArcs() function 678 return GetImpl()->NumArcs(s, &inst_); in NumArcs()
|