Searched refs:narcs_ (Results 1 – 6 of 6) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | const-fst.h | 44 : states_(0), arcs_(0), nstates_(0), narcs_(0), start_(kNoStateId) { in ConstFstImpl() 111 size_t narcs_; // Number of arcs (per FST) variable 118 ConstFstImpl<A>::ConstFstImpl(const Fst<A> &fst) : nstates_(0), narcs_(0) { in ConstFstImpl() 135 ++narcs_; in ConstFstImpl() 138 arcs_ = new A[narcs_]; in ConstFstImpl() 169 impl->narcs_ = hdr.NumArcs(); in Read() 171 impl->arcs_ = new A[impl->narcs_]; in Read() 184 b = impl->narcs_ * sizeof(A); in Read() 201 hdr.SetNumArcs(narcs_); in Write() 212 strm.write(reinterpret_cast<char *>(arcs_), narcs_ * sizeof(A)); in Write() [all …]
|
/external/openfst/src/include/fst/ |
D | const-fst.h | 60 narcs_(0), start_(kNoStateId) { in ConstFstImpl() 136 size_t narcs_; // Number of arcs (per FST) variable 153 ConstFstImpl<A, U>::ConstFstImpl(const Fst<A> &fst) : nstates_(0), narcs_(0) { in ConstFstImpl() 174 ++narcs_; in ConstFstImpl() 177 arcs_region_ = MappedFile::Allocate(narcs_ * sizeof(*arcs_)); in ConstFstImpl() 214 impl->narcs_ = hdr.NumArcs(); in Read() 241 b = impl->narcs_ * sizeof(A); in Read() 351 num_arcs = impl->narcs_; in WriteFst() 464 narcs_(fst.GetImpl()->NumArcs(s)), i_(0) {} in ArcIterator() 466 bool Done() const { return i_ >= narcs_; } in Done() [all …]
|
D | compact-fst.h | 144 narcs_(0), in CompactFstData() 178 size_t NumArcs() const { return narcs_; } in NumArcs() 194 size_t narcs_; variable 209 narcs_(0), in CompactFstData() 225 ++narcs_; in CompactFstData() 230 ncompacts_ = narcs_ + nfinals; in CompactFstData() 236 if ((narcs_ + nfinals) != ncompacts_) { in CompactFstData() 280 narcs_(0), in CompactFstData() 315 ++narcs_; in CompactFstData() 328 ++narcs_; in CompactFstData() [all …]
|
D | matcher.h | 156 narcs_(0), 180 narcs_(0), 224 narcs_ = internal::NumArcs(*fst_, s); in SetState() 314 size_t narcs_; // Current state arc count variable 333 size_t high = narcs_; in Search()
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | info.h | 54 int64 NumArcs() const { return narcs_; } in NumArcs() 65 int64 narcs_; variable 82 narcs_(0), in PdtInfo() 109 ++narcs_; in PdtInfo()
|
/external/openfst/src/include/fst/script/ |
D | info-impl.h | 61 nstates_(0), narcs_(0), start_(kNoStateId), nfinal_(0), 101 ++narcs_; 187 int64 NumArcs() const { CheckLong(); return narcs_; } in NumArcs() 210 int64 narcs_; variable
|