Searched refs:states_ (Results 1 – 5 of 5) sorted by relevance
/external/openfst/src/include/fst/ |
D | vector-fst.h | 51 for (StateId s = 0; s < states_.size(); ++s) in ~VectorFstBaseImpl() 52 delete states_[s]; in ~VectorFstBaseImpl() local 57 Weight Final(StateId s) const { return states_[s]->final; } in Final() 59 StateId NumStates() const { return states_.size(); } in NumStates() 61 size_t NumArcs(StateId s) const { return states_[s]->arcs.size(); } in NumArcs() 65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; } in SetFinal() 68 states_.push_back(new State); in AddState() 69 return states_.size() - 1; in AddState() 73 states_.push_back(state); in AddState() 74 return states_.size() - 1; in AddState() [all …]
|
D | const-fst.h | 59 : states_region_(0), arcs_region_(0), states_(0), arcs_(0), nstates_(0), in ConstFstImpl() 80 Weight Final(StateId s) const { return states_[s].final; } in Final() 84 size_t NumArcs(StateId s) const { return states_[s].narcs; } in NumArcs() 86 size_t NumInputEpsilons(StateId s) const { return states_[s].niepsilons; } in NumInputEpsilons() 88 size_t NumOutputEpsilons(StateId s) const { return states_[s].noepsilons; } in NumOutputEpsilons() 92 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } in Arcs() 103 data->arcs = arcs_ + states_[s].pos; in InitArcIterator() 104 data->narcs = states_[s].narcs; in InitArcIterator() 133 State *states_; // States represenation variable 176 states_region_ = MappedFile::Allocate(nstates_ * sizeof(*states_)); in ConstFstImpl() [all …]
|
D | compact-fst.h | 140 states_(0), in CompactFstData() 157 delete [] states_; in ~CompactFstData() 174 Unsigned States(ssize_t i) const { return states_[i]; } in States() 190 Unsigned *states_; variable 205 states_(0), in CompactFstData() 229 states_ = new Unsigned[nstates_ + 1]; in CompactFstData() 232 states_[nstates_] = ncompacts_; in CompactFstData() 234 states_ = 0; in CompactFstData() 247 states_[s] = pos; in CompactFstData() 276 states_(0), in CompactFstData() [all …]
|
/external/openfst/src/include/fst/script/ |
D | compile-impl.h | 170 typename unordered_map<StateId, StateId>::const_iterator it = states_.find(n); in StrToStateId() 171 if (it == states_.end()) { in StrToStateId() 172 states_[n] = nstates_; in StrToStateId() 206 unordered_map<StateId, StateId> states_; // state ID map variable
|
/external/google-breakpad/src/testing/src/ |
D | gmock-spec-builders.cc | 548 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry() 582 StateMap& states() { return states_; } in states() 585 StateMap states_; member in testing::__anonba74af030111::MockObjectRegistry
|