Home
last modified time | relevance | path

Searched refs:nstates_ (Results 1 – 14 of 14) sorted by relevance

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dconst-fst.h44 : states_(0), arcs_(0), nstates_(0), narcs_(0), start_(kNoStateId) { in ConstFstImpl()
60 StateId NumStates() const { return nstates_; } in NumStates()
77 data->nstates = nstates_; in InitStateIterator()
110 StateId nstates_; // Number of states variable
118 ConstFstImpl<A>::ConstFstImpl(const Fst<A> &fst) : nstates_(0), narcs_(0) { in ConstFstImpl()
130 ++nstates_; in ConstFstImpl()
137 states_ = new State[nstates_]; in ConstFstImpl()
140 for (StateId s = 0; s < nstates_; ++s) { in ConstFstImpl()
168 impl->nstates_ = hdr.NumStates(); in Read()
170 impl->states_ = new State[impl->nstates_]; in Read()
[all …]
Dconnect.h66 nstates_ = 0; in InitVisit()
86 (*dfnumber_)[s] = nstates_; in InitState()
87 (*lowlink_)[s] = nstates_; in InitState()
98 ++nstates_; in InitState()
184 StateId nstates_; // State count variable
Dmap.h275 nstates_(0) { in MapFstImpl()
285 nstates_(0) { in MapFstImpl()
381 superfinal_ = nstates_++; in Expand()
433 if (os >= nstates_) in FindOState()
434 nstates_ = os + 1; in FindOState()
446 StateId nstates_; variable
Dvector-fst.h672 : nstates_(fst.impl_->NumStates()), s_(0) {} in StateIterator()
674 bool Done() const { return s_ >= nstates_; } in Done()
683 StateId nstates_;
/external/openfst/src/include/fst/
Dconnect.h46 nstates_(0) { } in CcVisitor()
52 nstates_(0) { } in CcVisitor()
62 ++nstates_; in InitState()
95 cc->resize(nstates_, kNoStateId); in GetCcVector()
97 for (StateId i = 0; i < nstates_; ++i) { in GetCcVector()
112 StateId nstates_; // State count variable
193 StateId nstates_; // State count variable
219 nstates_ = 0; in InitVisit()
240 (*dfnumber_)[s] = nstates_; in InitState()
241 (*lowlink_)[s] = nstates_; in InitState()
[all …]
Dconst-fst.h59 : states_region_(0), arcs_region_(0), states_(0), arcs_(0), nstates_(0), in ConstFstImpl()
82 StateId NumStates() const { return nstates_; } in NumStates()
97 data->nstates = nstates_; in InitStateIterator()
135 StateId nstates_; // Number of states variable
153 ConstFstImpl<A, U>::ConstFstImpl(const Fst<A> &fst) : nstates_(0), narcs_(0) { in ConstFstImpl()
169 ++nstates_; in ConstFstImpl()
176 states_region_ = MappedFile::Allocate(nstates_ * sizeof(*states_)); in ConstFstImpl()
181 for (StateId s = 0; s < nstates_; ++s) { in ConstFstImpl()
213 impl->nstates_ = hdr.NumStates(); in Read()
226 size_t b = impl->nstates_ * sizeof(typename ConstFstImpl<A, U>::State); in Read()
[all …]
Dcompact-fst.h142 nstates_(0), in CompactFstData()
176 size_t NumStates() const { return nstates_; } in NumStates()
192 size_t nstates_; variable
207 nstates_(0), in CompactFstData()
220 ++nstates_; in CompactFstData()
229 states_ = new Unsigned[nstates_ + 1]; in CompactFstData()
232 states_[nstates_] = ncompacts_; in CompactFstData()
235 ncompacts_ = nstates_ * compactor.Size(); in CompactFstData()
244 for (StateId s = 0; s < nstates_; ++s) { in CompactFstData()
278 nstates_(0), in CompactFstData()
[all …]
Darc-map.h339 nstates_(0) { in ArcMapFstImpl()
350 nstates_(0) { in ArcMapFstImpl()
360 nstates_(0) { in ArcMapFstImpl()
468 superfinal_ = nstates_++; in Expand()
529 if (os >= nstates_) in FindOState()
530 nstates_ = os + 1; in FindOState()
542 StateId nstates_; variable
Dvector-fst.h513 : nstates_(fst.GetImpl()->NumStates()), s_(0) {} in StateIterator()
515 bool Done() const { return s_ >= nstates_; } in Done()
524 StateId nstates_;
/external/openfst/src/include/fst/extensions/pdt/
Dinfo.h53 int64 NumStates() const { return nstates_; } in NumStates()
64 int64 nstates_; variable
81 nstates_(0), in PdtInfo()
103 ++nstates_; in PdtInfo()
Dshortest-path.h128 nstates_(0), in PdtShortestPathData()
134 VLOG(1) << "# of search states: " << nstates_; in ~PdtShortestPathData()
144 nstates_ = 0; in Clear()
257 ++nstates_; in GetSearchData()
289 mutable size_t nstates_; // Total number of search states variable
/external/openfst/src/include/fst/script/
Dcompile-impl.h61 nstates_(0), keep_state_numbering_(nkeep),
172 states_[n] = nstates_; in StrToStateId()
173 return nstates_++; in StrToStateId()
207 StateId nstates_; // number of seen states variable
Dinfo-impl.h61 nstates_(0), narcs_(0), start_(kNoStateId), nfinal_(0),
93 ++nstates_;
186 int64 NumStates() const { CheckLong(); return nstates_; } in NumStates()
209 int64 nstates_; variable
/external/srec/tools/grxmlcompile/
Dfst-io.h218 nstates_(0), keep_state_numbering_(nkeep) { in FstReader()
323 states_[n] = nstates_; in StrToStateId()
324 return nstates_++; in StrToStateId()
357 StateId nstates_; // number of seen states variable