Home
last modified time | relevance | path

Searched refs:aiter (Results 1 – 25 of 25) 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()
Drmfinalepsilon.h49 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next()) { in RmFinalEpsilon()
50 const A& arc = aiter.Value(); in RmFinalEpsilon()
69 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next()) { in RmFinalEpsilon()
70 const A& arc = aiter.Value(); in RmFinalEpsilon()
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()
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()
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()
Drelabel.h64 for (MutableArcIterator<MutableFst<A> > aiter(fst, s); in Relabel()
65 !aiter.Done(); aiter.Next()) { in Relabel()
66 A arc = aiter.Value(); in Relabel()
78 aiter.SetValue(arc); in Relabel()
274 for (ArcIterator<Fst<A> > aiter(*fst_, s); !aiter.Done(); aiter.Next()) { in Expand()
275 A arc = aiter.Value(); in Expand()
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.h131 for (ArcIterator< Fst<Arc> > aiter(fst, s); in ComputeProperties()
132 !aiter.Done(); in ComputeProperties()
133 aiter.Next()) { in ComputeProperties()
134 const Arc &arc =aiter.Value(); in ComputeProperties()
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()
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()
Dreplace.h184 for (ArcIterator<Fst<A> > aiter(*(fst_array_[i]), siter.Value()); in CyclicDependencies()
185 !aiter.Done(); aiter.Next()) { in CyclicDependencies()
186 const A& arc = aiter.Value(); in CyclicDependencies()
316 for (ArcIterator< Fst<A> > aiter(*fst, fst_state); in Expand()
317 !aiter.Done(); aiter.Next()) { in Expand()
318 const Arc& arc = aiter.Value(); in Expand()
Ddeterminize.h309 for (ArcIterator< Fst<A> > aiter(*fst_, src_element.state_id); in LabelSubsets()
310 !aiter.Done(); in LabelSubsets()
311 aiter.Next()) { in LabelSubsets()
312 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.h589 bool FindLabel(ArcIterator< Fst<A> > *aiter, size_t numarcs, in FindLabel() argument
596 aiter->Seek(mid); in FindLabel()
598 aiter->Value().ilabel : aiter->Value().olabel; in FindLabel()
606 aiter->Seek(i - 1); in FindLabel()
607 label = find_input ? aiter->Value().ilabel : aiter->Value().olabel; in FindLabel()
609 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()
/external/chromium_org/third_party/icu/source/i18n/
Ddtptngen.cpp80 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
84 aiter->bund = bund; in ures_a_open()
85 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
86 aiter->cursor = 0; in ures_a_open()
88 aiter->entries = NULL; in ures_a_open()
90 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
91 for(int i=0;i<aiter->num;i++) { in ures_a_open()
92 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, NULL, status); in ures_a_open()
93 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
95 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]
/external/icu/icu4c/source/i18n/
Ddtptngen.cpp80 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
84 aiter->bund = bund; in ures_a_open()
85 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
86 aiter->cursor = 0; in ures_a_open()
88 aiter->entries = NULL; in ures_a_open()
90 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
91 for(int i=0;i<aiter->num;i++) { in ures_a_open()
92 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, NULL, status); in ures_a_open()
93 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
95 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]