• Home
  • Raw
  • Download

Lines Matching refs:mapper

81 void Map(MutableFst<A> *fst, C* mapper) {  in Map()  argument
90 MapFinalAction final_action = mapper->FinalAction(); in Map()
101 aiter.SetValue((*mapper)(arc)); in Map()
107 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
114 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
132 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
143 fst->SetProperties(mapper->Properties(props), kFstProperties); in Map()
149 void Map(MutableFst<A> *fst, C mapper) { in Map() argument
150 Map(fst, &mapper); in Map()
158 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { in Map() argument
173 MapFinalAction final_action = mapper->FinalAction(); in Map()
185 ofst->AddArc(s, (*mapper)(aiter.Value())); in Map()
190 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
196 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
212 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
224 ofst->SetProperties(mapper->Properties(iprops) | oprops, kFstProperties); in Map()
231 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) { in Map() argument
232 Map(ifst, ofst, &mapper); in Map()
269 MapFstImpl(const Fst<A> &fst, const C &mapper, in MapFstImpl() argument
272 mapper_(new C(mapper)), in MapFstImpl()
279 MapFstImpl(const Fst<A> &fst, C *mapper, in MapFstImpl() argument
282 mapper_(mapper), in MapFstImpl()
464 MapFst(const Fst<A> &fst, const C &mapper, in MapFst() argument
466 : impl_(new MapFstImpl<A, B, C>(fst, mapper, opts)) {} in MapFst()
468 MapFst(const Fst<A> &fst, C* mapper, in MapFst() argument
470 : impl_(new MapFstImpl<A, B, C>(fst, mapper, opts)) {} in MapFst()
472 MapFst(const Fst<A> &fst, const C &mapper) in MapFst() argument
473 : impl_(new MapFstImpl<A, B, C>(fst, mapper, in MapFst()
476 MapFst(const Fst<A> &fst, C* mapper) in MapFst() argument
477 : impl_(new MapFstImpl<A, B, C>(fst, mapper, in MapFst()