Home
last modified time | relevance | path

Searched refs:fst_array_ (Results 1 – 3 of 3) sorted by relevance

/external/openfst/src/include/fst/
Dreplace-util.h79 for (Label i = 0; i < fst_array_.size(); ++i) in ~ReplaceUtil()
80 delete fst_array_[i]; in ~ReplaceUtil() local
94 for (Label i = 0; i < fst_array_.size(); ++i) { in Connected()
95 if (!fst_array_[i]) in Connected()
97 if (fst_array_[i]->Properties(props, true) != props || !depaccess_[i]) in Connected()
179 vector<const Fst<Arc> *> fst_array_; // Fst per ID variable
199 fst_array_.push_back(0); in ReplaceUtil()
205 nonterminal_hash_[label] = fst_array_.size(); in ReplaceUtil()
207 fst_array_.push_back(fst); in ReplaceUtil()
223 fst_array_.push_back(0); in ReplaceUtil()
[all …]
Dreplace.h370 fst_array_.push_back(0); in ReplaceFstImpl()
374 nonterminal_hash_[label] = fst_array_.size(); in ReplaceFstImpl()
376 fst_array_.push_back(opts.take_ownership ? fst : fst->Copy()); in ReplaceFstImpl()
399 if ((nonterminal == 0) && (fst_array_.size() > 1)) { in ReplaceFstImpl()
446 fst_array_.reserve(impl.fst_array_.size()); in ReplaceFstImpl()
447 fst_array_.push_back(0); in ReplaceFstImpl()
448 for (size_t i = 1; i < impl.fst_array_.size(); ++i) { in ReplaceFstImpl()
449 fst_array_.push_back(impl.fst_array_[i]->Copy(true)); in ReplaceFstImpl()
460 for (size_t i = 1; i < fst_array_.size(); ++i) { in ~ReplaceFstImpl()
461 delete fst_array_[i]; in ~ReplaceFstImpl() local
[all …]
Daccumulator.h611 for (size_t i = 0; i < fst_array_.size(); ++i) in ~ReplaceAccumulatorData()
612 delete fst_array_[i]; in ~ReplaceAccumulatorData() local
625 fst_array_.push_back(fst_tuples[i].second->Copy()); in Init()
635 const Fst<Arc> *GetFst(size_t i) const { return fst_array_[i]; } in GetFst()
644 vector<const Fst<Arc>*> fst_array_; variable