Home
last modified time | relevance | path

Searched refs:states_ (Results 1 – 6 of 6) 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()
52 delete[] states_; in ~ConstFstImpl()
58 Weight Final(StateId s) const { return states_[s].final; } in Final()
62 size_t NumArcs(StateId s) const { return states_[s].narcs; } in NumArcs()
64 size_t NumInputEpsilons(StateId s) const { return states_[s].niepsilons; } in NumInputEpsilons()
66 size_t NumOutputEpsilons(StateId s) const { return states_[s].noepsilons; } in NumOutputEpsilons()
72 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } in Arcs()
83 data->arcs = arcs_ + states_[s].pos; in InitArcIterator()
84 data->narcs = states_[s].narcs; in InitArcIterator()
108 State *states_; // States represenation variable
[all …]
Dvector-fst.h45 for (StateId s = 0; s < (StateId)states_.size(); ++s) in ~VectorFstBaseImpl()
46 delete states_[s]; in ~VectorFstBaseImpl() local
51 Weight Final(StateId s) const { return states_[s]->final; } in Final()
53 StateId NumStates() const { return states_.size(); } in NumStates()
55 size_t NumArcs(StateId s) const { return states_[s]->arcs.size(); } in NumArcs()
59 void SetFinal(StateId s, Weight w) { states_[s]->final = w; } in SetFinal()
62 states_.push_back(new State); in AddState()
63 return states_.size() - 1; in AddState()
67 states_.push_back(state); in AddState()
68 return states_.size() - 1; in AddState()
[all …]
/external/srec/tools/grxmlcompile/
Dfst-io.h321 typename hash_map<StateId, StateId>::const_iterator it = states_.find(n); in StrToStateId()
322 if (it == states_.end()) { in StrToStateId()
323 states_[n] = nstates_; in StrToStateId()
356 hash_map<StateId, StateId> states_; // state ID map variable
/external/chromium/chrome/browser/tabs/
Dtab_strip_model_unittest.cc269 STLDeleteContainerPointers(states_.begin(), states_.end()); in ~MockTabStripModelObserver()
306 return static_cast<int>(states_.size()); in GetStateCount()
311 return states_.at(index); in GetStateAt()
339 states_.push_back(s); in TabInsertedAt()
348 states_.push_back(s); in TabSelectedAt()
354 states_.push_back(s); in TabMoved()
360 states_.push_back(new State(contents, index, CLOSE)); in TabClosingAt()
363 states_.push_back(new State(contents, index, DETACH)); in TabDetachedAt()
367 states_.push_back(new State(contents, index, CHANGE)); in TabChangedAt()
375 states_.push_back(s); in TabReplacedAt()
[all …]
/external/chromium/testing/gmock/src/
Dgmock-spec-builders.cc533 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
567 StateMap& states() { return states_; } in states()
569 StateMap states_; member in testing::__anon0865642f0111::MockObjectRegistry
/external/chromium/chrome/browser/ui/cocoa/
Dstatus_bubble_mac_unittest.mm25 std::vector<StatusBubbleMac::StatusBubbleState> states_; field
54 states_.push_back(state);
57 return &states_;