Home
last modified time | relevance | path

Searched refs:GetImpl (Results 1 – 25 of 67) sorted by relevance

123

/external/openfst/src/include/fst/
Dmutable-fst.h256 using ImplToFst<I, F>::GetImpl;
261 GetImpl()->SetStart(s); in SetStart()
266 GetImpl()->SetFinal(s, w); in SetFinal()
273 if (GetImpl()->Properties(exprops) != (props & exprops)) in SetProperties()
275 GetImpl()->SetProperties(props, mask); in SetProperties()
280 return GetImpl()->AddState(); in AddState()
285 GetImpl()->AddArc(s, arc); in AddArc()
290 GetImpl()->DeleteStates(dstates); in DeleteStates()
295 GetImpl()->DeleteStates(); in DeleteStates()
300 GetImpl()->DeleteArcs(s, n); in DeleteArcs()
[all …]
Dmatcher-fst.h126 return GetImpl()->Write(strm, opts); in Write()
134 return GetImpl()->InitStateIterator(data); in InitStateIterator()
138 return GetImpl()->InitArcIterator(s, data); in InitArcIterator()
146 Impl *GetImpl() const { in GetImpl() function
147 return ImplToFst<Impl, ExpandedFst<Arc> >::GetImpl(); in GetImpl()
150 F& GetFst() const { return GetImpl()->GetFst(); } in GetFst()
153 D *data = GetImpl()->GetAddOn(); in GetData()
190 StateIterator<F>(fst.GetImpl()->GetFst()) {} in StateIterator()
199 : ArcIterator<F>(fst.GetImpl()->GetFst(), s) {} in ArcIterator()
Dclosure.h77 fst->GetImpl()->AddClosure(closure_type); in Closure()
106 using ImplToFst< RationalFstImpl<A> >::GetImpl;
111 GetImpl()->InitClosure(fst, closure_type); in ClosureFst()
116 GetImpl()->InitClosure(fst, opts.type); in ClosureFst()
Dreplace.h990 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
994 if ((GetImpl()->ArcIteratorFlags() & kArcNoCache) && in InitMatcher()
1006 return GetImpl()->CyclicDependencies(); in CyclicDependencies()
1011 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
1023 : CacheStateIterator< ReplaceFst<A, T> >(fst, fst.GetImpl()) {} in StateIterator()
1063 if(!(fst_.GetImpl()->ArcIteratorFlags() & kArcNoCache) && in ArcIterator()
1064 !(fst_.GetImpl()->HasArcs(state_))) in ArcIterator()
1065 fst_.GetImpl()->Expand(state_); in ArcIterator()
1068 if (fst_.GetImpl()->HasArcs(state_)) { in ArcIterator()
1069 (fst_.GetImpl())->template CacheImpl<A>::InitArcIterator(state_, in ArcIterator()
[all …]
Dcomplement.h145 using ImplToFst< ComplementFstImpl<A> >::GetImpl;
158 GetImpl()->SetProperties(kError, kError); in ComplementFst()
182 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
198 : siter_(*fst.GetImpl()->fst_), s_(0) { in StateIterator()
243 aiter_ = new ArcIterator< Fst<A> >(*fst.GetImpl()->fst_, s - 1); in ArcIterator()
Dconcat.h168 fst1->GetImpl()->AddConcat(fst2, true); in Concat()
175 fst2->GetImpl()->AddConcat(fst1, false); in Concat()
195 using ImplToFst< RationalFstImpl<A> >::GetImpl;
202 GetImpl()->InitConcat(fst1, fst2); in ConcatFst()
207 GetImpl()->InitConcat(fst1, fst2); in ConcatFst()
Dunion.h113 fst1->GetImpl()->AddUnion(fst2); in Union()
134 using ImplToFst< RationalFstImpl<A> >::GetImpl;
141 GetImpl()->InitUnion(fst1, fst2); in UnionFst()
146 GetImpl()->InitUnion(fst1, fst2); in UnionFst()
Dinvert.h82 using ImplToFst<Impl>::GetImpl;
85 GetImpl()->SetOutputSymbols(fst.InputSymbols()); in InvertFst()
86 GetImpl()->SetInputSymbols(fst.OutputSymbols()); in InvertFst()
Dconst-fst.h306 GetImpl()->InitStateIterator(data); in InitStateIterator()
310 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
317 Impl *GetImpl() const { return ImplToFst<Impl, ExpandedFst<A> >::GetImpl(); } in GetImpl() function
342 num_arcs = const_fst->GetImpl()->narcs_; in WriteFst()
343 num_states = const_fst->GetImpl()->nstates_; in WriteFst()
422 : nstates_(fst.GetImpl()->NumStates()), s_(0) {} in StateIterator()
449 : arcs_(fst.GetImpl()->Arcs(s)), in ArcIterator()
450 narcs_(fst.GetImpl()->NumArcs(s)), i_(0) {} in ArcIterator()
Dproject.h102 using ImplToFst<Impl>::GetImpl;
107 GetImpl()->SetOutputSymbols(fst.InputSymbols()); in ProjectFst()
109 GetImpl()->SetInputSymbols(fst.OutputSymbols()); in ProjectFst()
Drational.h281 GetImpl()->Replace()->InitStateIterator(data); in InitStateIterator()
285 GetImpl()->Replace()->InitArcIterator(s, data); in InitArcIterator()
301 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
313 : StateIterator< ReplaceFst<A> >(*(fst.GetImpl()->Replace())) {} in StateIterator()
325 : ArcIterator< ReplaceFst<A> >(*(fst.GetImpl()->Replace()), s) {} in ArcIterator()
Dvector-fst.h435 SetImpl(fst.GetImpl(), false);
471 GetImpl()->ReserveStates(n); in ReserveStates()
476 GetImpl()->ReserveArcs(s, n); in ReserveArcs()
480 GetImpl()->InitStateIterator(data); in InitStateIterator()
484 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
494 Impl *GetImpl() const { return ImplToFst< Impl, MutableFst<A> >::GetImpl(); } in GetImpl() function
512 : nstates_(fst.GetImpl()->NumStates()), s_(0) {} in StateIterator()
588 : arcs_(fst.GetImpl()->GetState(s)->arcs), i_(0) {} in ArcIterator()
627 state_ = fst->GetImpl()->GetState(s); in MutableArcIterator()
628 properties_ = &fst->GetImpl()->properties_; in MutableArcIterator()
Dsynchronize.h383 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
388 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
400 : CacheStateIterator< SynchronizeFst<A> >(fst, fst.GetImpl()) {} in StateIterator()
412 : CacheArcIterator< SynchronizeFst<A> >(fst.GetImpl(), s) { in ArcIterator()
413 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
414 fst.GetImpl()->Expand(s); in ArcIterator()
Dintersect.h63 using ImplToFst< ComposeFstImplBase<A> >::GetImpl;
77 GetImpl()->SetProperties(kError);
89 GetImpl()->SetProperties(kError); in IntersectFst()
Dfactor-weight.h429 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
434 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
446 : CacheStateIterator< FactorWeightFst<A, F> >(fst, fst.GetImpl()) {} in StateIterator()
458 : CacheArcIterator< FactorWeightFst<A, F> >(fst.GetImpl(), s) { in ArcIterator()
459 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
460 fst.GetImpl()->Expand(s); in ArcIterator()
Drelabel.h448 return GetImpl()->InitArcIterator(s, data); in InitArcIterator()
453 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
465 : impl_(fst.GetImpl()), siter_(*impl_->fst_), s_(0) {} in StateIterator()
505 : CacheArcIterator< RelabelFst<A> >(fst.GetImpl(), s) { in ArcIterator()
506 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
507 fst.GetImpl()->Expand(s); in ArcIterator()
Dcompose.h489 SetImpl(fst.GetImpl()->Copy());
491 SetImpl(fst.GetImpl(), false);
502 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
562 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
574 : CacheStateIterator< ComposeFst<A> >(fst, fst.GetImpl()) {} in StateIterator()
586 : CacheArcIterator< ComposeFst<A> >(fst.GetImpl(), s) { in ArcIterator()
587 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
588 fst.GetImpl()->Expand(s); in ArcIterator()
Dexpanded-fst.h131 using ImplToFst<I, F>::GetImpl;
133 virtual StateId NumStates() const { return GetImpl()->NumStates(); } in NumStates()
167 GetImpl()->SetProperties(kError, kError);
Ddifference.h63 using ImplToFst< ComposeFstImplBase<A> >::GetImpl;
85 GetImpl()->SetProperties(kError, kError);
105 GetImpl()->SetProperties(kError, kError); in DifferenceFst()
Ddeterminize.h710 GetImpl()->SetProperties(kError, kError);
719 SetImpl(fst.GetImpl()->Copy());
721 SetImpl(fst.GetImpl(), false);
732 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
745 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
781 : CacheStateIterator< DeterminizeFst<A> >(fst, fst.GetImpl()) {} in StateIterator()
793 : CacheArcIterator< DeterminizeFst<A> >(fst.GetImpl(), s) { in ArcIterator()
794 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
795 fst.GetImpl()->Expand(s); in ArcIterator()
Dstate-map.h360 GetImpl()->InitStateIterator(data); in InitStateIterator()
364 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
369 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
383 : CacheArcIterator< StateMapFst<A, B, C> >(fst.GetImpl(), s) { in ArcIterator()
384 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
385 fst.GetImpl()->Expand(s); in ArcIterator()
Drmepsilon.h552 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
557 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
568 : CacheStateIterator< RmEpsilonFst<A> >(fst, fst.GetImpl()) {} in StateIterator()
580 : CacheArcIterator< RmEpsilonFst<A> >(fst.GetImpl(), s) { in ArcIterator()
581 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
582 fst.GetImpl()->Expand(s); in ArcIterator()
Dedit-fst.h715 SetImpl(fst.GetImpl(), false);
742 return GetImpl()->Write(strm, opts); in Write()
750 GetImpl()->InitStateIterator(data); in InitStateIterator()
754 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
759 GetImpl()->InitMutableArcIterator(s, data); in InitMutableArcIterator()
765 Impl *GetImpl() const { return ImplToFst< Impl, MutableFst<A> >::GetImpl(); } in GetImpl() function
Drandgen.h536 GetImpl()->InitArcIterator(s, data); in InitArcIterator()
541 Impl *GetImpl() const { return ImplToFst<Impl>::GetImpl(); } in GetImpl() function
554 : CacheStateIterator< RandGenFst<A, B, S> >(fst, fst.GetImpl()) {} in StateIterator()
569 : CacheArcIterator< RandGenFst<A, B, S> >(fst.GetImpl(), s) { in ArcIterator()
570 if (!fst.GetImpl()->HasArcs(s)) in ArcIterator()
571 fst.GetImpl()->Expand(s); in ArcIterator()
/external/openfst/src/include/fst/script/
Dfst-class.h123 Fst<Arc> *GetImpl() { return impl_; } in GetImpl() function
198 return typed_impl->GetImpl(); in GetFst()
236 FstClassImplBase *GetImpl() { return impl_; } in GetImpl() function
275 GetImpl()->SetInputSymbols(is); in SetInputSymbols()
279 GetImpl()->SetOutputSymbols(os); in SetOutputSymbols()

123