Searched refs:narcs (Results 1 – 13 of 13) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | vector-fst.h | 93 size_t narcs = 0; in DeleteStates() local 98 if (i != narcs) in DeleteStates() 99 arcs[narcs] = arcs[i]; in DeleteStates() 100 ++narcs; in DeleteStates() 108 arcs.resize(narcs); in DeleteStates() 146 data->narcs = states_[s]->arcs.size(); in InitArcIterator() 147 data->arcs = data->narcs > 0 ? &states_[s]->arcs[0] : 0; in InitArcIterator() 363 int64 narcs; in Read() local 364 ReadType(strm, &narcs); in Read() 369 impl->ReserveArcs(s, narcs); in Read() [all …]
|
D | const-fst.h | 62 size_t NumArcs(StateId s) const { return states_[s].narcs; } in NumArcs() 84 data->narcs = states_[s].narcs; in InitArcIterator() 93 uint32 narcs; // Number of arcs (per state) member 143 states_[s].narcs = 0; in ConstFstImpl() 150 ++states_[s].narcs; in ConstFstImpl()
|
D | cache.h | 252 data->narcs = state->arcs.size(); in InitArcIterator() 253 data->arcs = data->narcs > 0 ? &(state->arcs[0]) : 0; in InitArcIterator()
|
D | fst.h | 307 size_t narcs; // ... and arc count member 339 return data_.base ? data_.base->Done() : i_ >= data_.narcs; in Done()
|
/external/openfst/src/include/fst/ |
D | vector-fst.h | 99 size_t narcs = 0; in DeleteStates() local 104 if (i != narcs) in DeleteStates() 105 arcs[narcs] = arcs[i]; in DeleteStates() 106 ++narcs; in DeleteStates() 114 arcs.resize(narcs); in DeleteStates() 152 data->narcs = states_[s]->arcs.size(); in InitArcIterator() 153 data->arcs = data->narcs > 0 ? &states_[s]->arcs[0] : 0; in InitArcIterator() 344 int64 narcs; in Read() local 345 ReadType(strm, &narcs); in Read() 351 impl->ReserveArcs(s, narcs); in Read() [all …]
|
D | replace-util.h | 113 void ReplaceBySize(size_t nstates, size_t narcs, size_t nnonterms); 139 size_t narcs; // # of arcs member 151 narcs(0), in ReplaceStats() 294 ++stats_[i].narcs; in GetDependencies() 335 stats_[i].narcs += (stats_[j].narcs + 1) * ni; // narcs - 1 + 2 (eps) in UpdateStats() 478 void ReplaceUtil<Arc>::ReplaceBySize(size_t nstates, size_t narcs, in ReplaceBySize() argument 492 stats_[j].narcs <= narcs && in ReplaceBySize()
|
D | const-fst.h | 84 size_t NumArcs(StateId s) const { return states_[s].narcs; } in NumArcs() 104 data->narcs = states_[s].narcs; in InitArcIterator() 115 Unsigned narcs; // Number of arcs (per state) member 184 states_[s].narcs = 0; in ConstFstImpl() 191 ++states_[s].narcs; in ConstFstImpl() 387 state.narcs = fst.NumArcs(siter.Value()); in WriteFst() 391 pos += state.narcs; in WriteFst()
|
D | state-map.h | 470 size_t narcs = 0; in SetState() local 472 if (narcs > 0 && equal_(arcs_[i], arcs_[narcs - 1])) { in SetState() 473 arcs_[narcs - 1].weight = Plus(arcs_[narcs - 1].weight, in SetState() 476 arcs_[narcs++] = arcs_[i]; in SetState() 479 arcs_.resize(narcs); in SetState()
|
D | replace.h | 1071 num_arcs_ = cache_data_.narcs; in ArcIterator() 1096 num_arcs_ = local_data_.narcs; in ArcIterator() 1101 offset_ = num_arcs_ - local_data_.narcs; in ArcIterator() 1139 offset_ = num_arcs_ - local_data_.narcs; in Init()
|
D | randgen.h | 454 size_t narcs = fst_->NumArcs(rstate.state_id); in Expand() local 460 if (pos < narcs) { // regular transition in Expand()
|
D | accumulator.h | 265 ssize_t narcs = 0; variable 270 if (++narcs % arc_period_ == 0) {
|
D | cache.h | 418 data->narcs = state->arcs.size(); in InitArcIterator() 419 data->arcs = data->narcs > 0 ? &(state->arcs[0]) : 0; in InitArcIterator()
|
D | fst.h | 436 size_t narcs; // ... and arc count member 474 return data_.base ? data_.base->Done() : i_ >= data_.narcs; in Done()
|