Home
last modified time | relevance | path

Searched refs:aiter (Results 1 – 23 of 23) sorted by relevance

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dstatesort.h59 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s1); in StateSort()
60 !aiter.Done(); in StateSort()
61 aiter.Next()) in StateSort()
62 arcs1->push_back(aiter.Value()); in StateSort()
68 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s2); in StateSort()
69 !aiter.Done(); in StateSort()
70 aiter.Next()) in StateSort()
71 arcs2->push_back(aiter.Value()); in StateSort()
Drandgen.h72 for (ArcIterator< Fst<A> > aiter(fst, s); !aiter.Done(); in operator()
73 aiter.Next()) { in operator()
74 const A &arc = aiter.Value(); in operator()
82 for (ArcIterator< Fst<A> > aiter(fst, s); !aiter.Done(); in operator()
83 aiter.Next(), ++n) { in operator()
84 const A &arc = aiter.Value(); in operator()
143 ArcIterator< Fst<Arc> > aiter(ifst, opts.source); in RandGen()
144 aiter.Seek(n); in RandGen()
145 const Arc &iarc = aiter.Value(); in RandGen()
Drmfinalepsilon.h50 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next()) { in RmFinalEpsilon()
51 const A& arc = aiter.Value(); in RmFinalEpsilon()
70 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next()) { in RmFinalEpsilon()
71 const A& arc = aiter.Value(); in RmFinalEpsilon()
Ddfs-visit.h107 ArcIterator< Fst<Arc> > &aiter = dfs_state->arc_iter; in DfsVisit() local
108 if (!dfs || aiter.Done()) { in DfsVisit()
123 const Arc &arc = aiter.Value(); in DfsVisit()
125 aiter.Next(); in DfsVisit()
140 aiter.Next(); in DfsVisit()
144 aiter.Next(); in DfsVisit()
Dminimize.h233 ArcIterator<Fst<RevA> >* aiter = aiter_queue_->top(); in Split() local
235 if (aiter->Done()) { in Split()
236 delete aiter; in Split() local
240 const RevA& arc = aiter->Value(); in Split()
241 StateId from_state = aiter->Value().nextstate - 1; in Split()
251 aiter->Next(); in Split()
252 if (aiter->Done()) in Split()
253 delete aiter; in Split() local
255 aiter_queue_->push(aiter); in Split()
456 for (MutableArcIterator<MutableFst<A> > aiter(fst, s); in MergeStates()
[all …]
Dreverse.h64 for (ArcIterator< Fst<Arc> > aiter(ifst, is); in Reverse()
65 !aiter.Done(); in Reverse()
66 aiter.Next()) { in Reverse()
67 const Arc &iarc = aiter.Value(); in Reverse()
Darcsum.h68 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); in ArcSum()
69 aiter.Next()) in ArcSum()
70 arcs.push_back(aiter.Value()); in ArcSum()
Dverify.h58 for (ArcIterator< Fst<Arc> > aiter(fst, s); in Verify()
59 !aiter.Done(); in Verify()
60 aiter.Next()) { in Verify()
61 const Arc &arc =aiter.Value(); in Verify()
Darcsort.h54 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s); in ArcSort()
55 !aiter.Done(); in ArcSort()
56 aiter.Next()) in ArcSort()
57 arcs.push_back(aiter.Value()); in ArcSort()
151 for (ArcIterator< Fst<A> > aiter(*fst_, s); !aiter.Done(); aiter.Next()) in Expand()
152 AddArc(s, aiter.Value()); in Expand()
Dconcat.h59 for (ArcIterator< Fst<Arc> > aiter(fst2, s2); in Concat()
60 !aiter.Done(); in Concat()
61 aiter.Next()) { in Concat()
62 Arc arc = aiter.Value(); in Concat()
Drelabel.h65 for (MutableArcIterator<MutableFst<A> > aiter(fst, s); in Relabel()
66 !aiter.Done(); aiter.Next()) { in Relabel()
67 A arc = aiter.Value(); in Relabel()
79 aiter.SetValue(arc); in Relabel()
275 for (ArcIterator<Fst<A> > aiter(*fst_, s); !aiter.Done(); aiter.Next()) { in Expand()
276 A arc = aiter.Value(); in Expand()
Dunion.h57 for (ArcIterator< Fst<Arc> > aiter(fst2, s2); in Union()
58 !aiter.Done(); in Union()
59 aiter.Next()) { in Union()
60 Arc arc = aiter.Value(); in Union()
Dshortest-path.h112 for (ArcIterator< Fst<Arc> > aiter(ifst, s); in SingleShortestPath()
113 !aiter.Done(); in SingleShortestPath()
114 aiter.Next()) { in SingleShortestPath()
115 const Arc &arc = aiter.Value(); in SingleShortestPath()
307 for (ArcIterator< Fst<ReverseArc> > aiter(rfst, p.first); in ShortestPath()
308 !aiter.Done(); in ShortestPath()
309 aiter.Next()) { in ShortestPath()
310 const ReverseArc &rarc = aiter.Value(); in ShortestPath()
Dconst-fst.h132 for (ArcIterator< Fst<A> > aiter(fst, s); in ConstFstImpl()
133 !aiter.Done(); in ConstFstImpl()
134 aiter.Next()) in ConstFstImpl()
146 for (ArcIterator< Fst<A> > aiter(fst, s); in ConstFstImpl()
147 !aiter.Done(); in ConstFstImpl()
148 aiter.Next()) { in ConstFstImpl()
149 const A &arc = aiter.Value(); in ConstFstImpl()
Dtest-properties.h133 for (ArcIterator< Fst<Arc> > aiter(fst, s); in ComputeProperties()
134 !aiter.Done(); in ComputeProperties()
135 aiter.Next()) { in ComputeProperties()
136 const Arc &arc =aiter.Value(); in ComputeProperties()
Dmap.h98 for (MutableArcIterator< MutableFst<A> > aiter(fst, s); in Map()
99 !aiter.Done(); aiter.Next()) { in Map()
100 const A &arc = aiter.Value(); in Map()
101 aiter.SetValue((*mapper)(arc)); in Map()
184 for (ArcIterator< Fst<A> > aiter(ifst, s); !aiter.Done(); aiter.Next()) in Map()
185 ofst->AddArc(s, (*mapper)(aiter.Value())); in Map()
362 for (ArcIterator< Fst<A> > aiter(*fst_, FindIState(s)); in Expand()
363 !aiter.Done(); aiter.Next()) { in Expand()
364 A aarc(aiter.Value()); in Expand()
Dshortest-distance.h141 for (ArcIterator< Fst<Arc> > aiter(*fst_, s); in ShortestDistance()
142 !aiter.Done(); in ShortestDistance()
143 aiter.Next()) { in ShortestDistance()
144 const Arc &arc = aiter.Value(); in ShortestDistance()
Dreplace.h185 for (ArcIterator<Fst<A> > aiter(*(fst_array_[i]), siter.Value()); in CyclicDependencies()
186 !aiter.Done(); aiter.Next()) { in CyclicDependencies()
187 const A& arc = aiter.Value(); in CyclicDependencies()
317 for (ArcIterator< Fst<A> > aiter(*fst, fst_state); in Expand()
318 !aiter.Done(); aiter.Next()) { in Expand()
319 const Arc& arc = aiter.Value(); in Expand()
Ddeterminize.h311 for (ArcIterator< Fst<A> > aiter(*fst_, src_element.state_id); in LabelSubsets()
312 !aiter.Done(); in LabelSubsets()
313 aiter.Next()) { in LabelSubsets()
314 const A &arc = aiter.Value(); in LabelSubsets()
499 for (ArcIterator<FromFst> aiter(*from_fst_, s); in Expand()
500 !aiter.Done(); in Expand()
501 aiter.Next()) in Expand()
502 CacheImpl<A>::AddArc(s, aiter.Value()); in Expand()
Dcompose.h592 bool FindLabel(ArcIterator< Fst<A> > *aiter, size_t numarcs, in FindLabel() argument
599 aiter->Seek(mid); in FindLabel()
601 aiter->Value().ilabel : aiter->Value().olabel; in FindLabel()
609 aiter->Seek(i - 1); in FindLabel()
610 label = find_input ? aiter->Value().ilabel : aiter->Value().olabel; in FindLabel()
612 aiter->Seek(i); in FindLabel()
Dvector-fst.h336 for (ArcIterator< Fst<A> > aiter(fst, s); in VectorFstImpl()
337 !aiter.Done(); in VectorFstImpl()
338 aiter.Next()) { in VectorFstImpl()
339 const A &arc = aiter.Value(); in VectorFstImpl()
/external/srec/tools/grxmlcompile/
Dgrxmlcompile.cpp364 for(fst::MutableArcIterator<fst::StdVectorFst> aiter(&fst_, s); in FstMergeOLabelsToILabels() local
365 !aiter.Done(); aiter.Next()) { in FstMergeOLabelsToILabels()
366 fst::StdArc arc = aiter.Value(); in FstMergeOLabelsToILabels()
374 aiter.SetValue( arc); in FstMergeOLabelsToILabels()
385 for(fst::MutableArcIterator<fst::StdVectorFst> aiter(&fst_, siter.Value()); in FstMergeOLabelsToILabels_GetMax() local
386 !aiter.Done(); aiter.Next()) { in FstMergeOLabelsToILabels_GetMax()
387 if( aiter.Value().ilabel > max_ilabel) in FstMergeOLabelsToILabels_GetMax()
388 max_ilabel = aiter.Value().ilabel; in FstMergeOLabelsToILabels_GetMax()
404 for(fst::MutableArcIterator<fst::StdVectorFst> aiter(&fst_, s); in FstSplitOLabelsFromILabels() local
405 !aiter.Done(); aiter.Next()) { in FstSplitOLabelsFromILabels()
[all …]
Dfst-io.h109 for (ArcIterator< Fst<A> > aiter(fst_, s); in PrintState()
110 !aiter.Done(); in PrintState()
111 aiter.Next()) { in PrintState()
112 Arc arc = aiter.Value(); in PrintState()