Home
last modified time | relevance | path

Searched refs:FstReadOptions (Results 1 – 25 of 26) sorted by relevance

12

/external/openfst/src/lib/
Dfst.cc170 FstReadOptions::FstReadOptions(const string& src, const FstHeader *hdr, in FstReadOptions() function in fst::FstReadOptions
176 FstReadOptions::FstReadOptions(const string& src, const SymbolTable* isym, in FstReadOptions() function in fst::FstReadOptions
182 FstReadOptions::FileReadMode FstReadOptions::ReadMode(const string &mode) { in ReadMode()
Dmapped-file.cc61 MappedFile* MappedFile::Map(istream* s, const FstReadOptions &opts, in Map()
64 if (opts.mode == FstReadOptions::MAP && spos >= 0 && in Map()
93 if (opts.mode != FstReadOptions::READ) { in Map()
/external/openfst/src/include/fst/
Dexpanded-fst.h46 static ExpandedFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
47 FstReadOptions ropts(opts); in Read()
83 return Read(strm, FstReadOptions(filename)); in Read()
85 return Read(cin, FstReadOptions("standard input")); in Read()
155 return I::Read(strm, FstReadOptions(filename)); in Read()
157 return I::Read(cin, FstReadOptions("standard input")); in Read()
Dregister.h41 struct FstReadOptions;
46 typedef Fst<A> *(*Reader)(istream &strm, const FstReadOptions &opts);
101 const FstReadOptions &opts) = &F::Read; in BuildEntry()
Dfst.h55 struct FstReadOptions { struct
70 explicit FstReadOptions(const string& src = "<unspecified>", argument
75 explicit FstReadOptions(const string& src,
206 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
207 FstReadOptions ropts(opts); in Read()
237 return Read(strm, FstReadOptions(filename)); in Read()
239 return Read(cin, FstReadOptions("standard input")); in Read()
680 bool ReadHeader(istream &strm, const FstReadOptions& opts,
780 bool FstImpl<A>::ReadHeader(istream &strm, const FstReadOptions& opts, in ReadHeader()
944 return Fst<A>::Read(istrm, FstReadOptions("StringToFst")); in StringToFst()
Dedit-fst.h95 const FstReadOptions &opts);
337 const FstReadOptions &opts) { in Read()
341 FstReadOptions edits_opts(opts); in Read()
481 const FstReadOptions &opts);
657 const FstReadOptions &opts) { in Read()
666 FstReadOptions wrapped_opts(opts); in Read()
734 const FstReadOptions &opts) { in Read()
Dmutable-fst.h88 static MutableFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
89 FstReadOptions ropts(opts); in Read()
129 return Read(strm, FstReadOptions(filename));
131 return Read(cin, FstReadOptions("standard input"));
Dadd-on.h200 static AddOnImpl<F, T> *Read(istream &strm, const FstReadOptions &opts) { in Read()
201 FstReadOptions nopts(opts); in Read()
219 FstReadOptions fopts(opts); in Read()
Dmapped-file.h61 static MappedFile* Map(istream* s, const FstReadOptions& opts, size_t size);
Dconst-fst.h90 static ConstFstImpl<A, U> *Read(istream &strm, const FstReadOptions &opts);
205 const FstReadOptions &opts) { in Read()
282 static ConstFst<A, U> *Read(istream &strm, const FstReadOptions &opts) { in Read()
Dvector-fst.h207 static VectorFstImpl<A> *Read(istream &strm, const FstReadOptions &opts);
325 const FstReadOptions &opts) { in Read()
446 static VectorFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
Dcompact-fst.h168 const FstReadOptions &opts,
363 const FstReadOptions &opts, in Read()
622 const FstReadOptions &opts) { in Read()
857 static CompactFst<A, C, U> *Read(istream &strm, const FstReadOptions &opts) { in Read()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dexpanded-fst.h38 static ExpandedFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
39 FstReadOptions ropts(opts); in Read()
72 return Read(strm, FstReadOptions(filename)); in Read()
Dmutable-fst.h71 static MutableFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
72 FstReadOptions ropts(opts); in Read()
105 return Read(strm, FstReadOptions(filename)); in Read()
Dregister.h37 struct FstReadOptions;
44 typedef Fst<A> *(*Reader)(istream &strm, const FstReadOptions &opts);
138 const FstReadOptions &opts) = &F::Read; in FstRegisterer()
Dfst.h36 struct FstReadOptions { struct
42 explicit FstReadOptions(const string& src = "<unspecified>", argument
149 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
150 FstReadOptions ropts(opts); in Read()
178 return Read(strm, FstReadOptions(filename)); in Read()
458 bool ReadHeaderAndSymbols(istream &strm, const FstReadOptions& opts, in ReadHeaderAndSymbols()
Dconst-fst.h68 static ConstFstImpl<A> *Read(istream &strm, const FstReadOptions &opts);
162 const FstReadOptions &opts) { in Read()
278 static ConstFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
290 return Read(strm, FstReadOptions(filename)); in Read()
Dvector-fst.h198 static VectorFstImpl<A> *Read(istream &strm, const FstReadOptions &opts);
351 const FstReadOptions &opts) { in Read()
526 static VectorFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
538 return Read(strm, FstReadOptions(filename)); in Read()
/external/openfst/src/include/fst/script/
Dfst-class.h153 const FstReadOptions &opts) { in Read()
253 const FstReadOptions &opts) { in ReadTypedFst()
294 const FstReadOptions &opts) { in Read()
354 const FstReadOptions &opts) { in Read()
Dregister.h85 const FstReadOptions &opts);
/external/openfst/src/test/
Dfst_test.h248 FstReadOptions opts; in TestIO()
249 opts.mode = FstReadOptions::ReadMode("map"); in TestIO()
267 FstReadOptions opts; in TestIO()
268 opts.mode = FstReadOptions::ReadMode("map"); in TestIO()
/external/openfst/src/script/
Dfst-class.cc55 FstReadOptions read_options(fname, &hdr); in ReadFst()
/external/srec/tools/grxmlcompile/
Dfst-io.h151 const FstReadOptions &opts) {
369 const FstReadOptions & /* opts */) {
/external/openfst/src/include/fst/extensions/far/
Dfar.h291 return Fst<A>::Read(strm, FstReadOptions()); in operator()
482 fst_ = Fst<A>::Read(*streams_[pos_], FstReadOptions()); in ReadFst()
/external/openfst/src/include/fst/extensions/ngram/
Dngram-fst.h97 const FstReadOptions &opts) { in Read()
685 static NGramFst<A>* Read(istream &strm, const FstReadOptions &opts) { in Read()
697 return Read(strm, FstReadOptions(filename)); in Read()
699 return Read(cin, FstReadOptions("standard input")); in Read()

12