Home
last modified time | relevance | path

Searched refs:ostrm (Results 1 – 14 of 14) sorted by relevance

/external/openfst/src/bin/
Dfstprint.cc59 ostream *ostrm = &std::cout; in main() local
63 ostrm = new fst::ofstream(argv[2]); in main()
64 if (!*ostrm) { in main()
69 ostrm->precision(9); in main()
93 s::PrintFst(*fst, *ostrm, dest, isyms, osyms, ssyms, in main()
102 if (ostrm != &std::cout) in main()
103 delete ostrm; in main()
Dfstdraw.cc68 ostream *ostrm = &std::cout; in main() local
72 ostrm = new fst::ofstream(argv[2]); in main()
73 if (!*ostrm) { in main()
78 ostrm->precision(FLAGS_precision); in main()
107 FLAGS_show_weight_one, ostrm, dest); in main()
115 if (ostrm != &std::cout) in main()
116 delete ostrm; in main()
/external/openfst/src/include/fst/script/
Dprint.h38 ostream *ostrm; member
47 ostream *ostrm, in FstPrinterArgs()
50 show_weight_one(show_weight_one), ostrm(ostrm), dest(dest) { } in FstPrinterArgs()
60 fstprinter.Print(args->ostrm, args->dest); in PrintFst()
63 void PrintFst(const FstClass &fst, ostream &ostrm, const string &dest,
Ddraw.h49 ostream *ostrm; member
67 ostream *ostrm, in FstDrawerArgs()
73 show_weight_one(show_weight_one), ostrm(ostrm), dest(dest) { } in FstDrawerArgs()
87 fstdrawer.Draw(args->ostrm, args->dest); in DrawFst()
105 ostream *ostrm,
Dprint-impl.h56 void Print(ostream *ostrm, const string &dest) { in Print() argument
57 ostrm_ = ostrm; in Print()
/external/openfst/src/include/fst/extensions/far/
Dprint-strings.h108 ofstream ostrm(filename.c_str()); in FarPrintStrings()
109 if (!ostrm) { in FarPrintStrings()
115 ostrm << str; in FarPrintStrings()
117 ostrm << "\n"; in FarPrintStrings()
/external/srec/tools/grxmlcompile/
Dfst-io.h57 void Print(ostream *ostrm, const string &dest) { in Print() argument
58 ostrm_ = ostrm; in Print()
156 ostream *ostrm = &std::cout;
159 ostrm = new ofstream(argv[2]);
160 if (!*ostrm) {
165 ostrm->precision(9);
190 fstprinter.Print(ostrm, dest);
198 if (ostrm != &std::cout)
199 delete ostrm;
Dgrxmlcompile.cpp915 ostream* ostrm = new ofstream( pclgFilename.c_str(), ios_base::out); in make_openfst_graphs() local
919 printer.Print( ostrm, pclgFilename); in make_openfst_graphs()
920 delete ostrm; in make_openfst_graphs()
/external/openfst/src/include/fst/
Dadd-on.h51 bool Write(ostream &ostrm) const { return true; } in Write() argument
108 bool Write(ostream &ostrm) const { in Write() argument
110 WriteType(ostrm, have_addon1); in Write()
112 a1_->Write(ostrm); in Write()
114 WriteType(ostrm, have_addon2); in Write()
116 a2_->Write(ostrm); in Write()
Dstring.h222 bool PrintLabel(Label lab, ostream& ostrm) { in PrintLabel() argument
231 ostrm << symbol; in PrintLabel()
233 ostrm << lab; in PrintLabel()
Dlabel-reachable.h85 bool Write(ostream &ostrm) { in Write() argument
86 WriteType(ostrm, reach_input_); in Write()
87 WriteType(ostrm, keep_relabel_data_); in Write()
89 WriteType(ostrm, label2index_); in Write()
90 WriteType(ostrm, FinalLabel()); in Write()
91 WriteType(ostrm, isets_); in Write()
Dfst.h929 ostringstream ostrm; in FstToString() local
930 fst.Write(ostrm, FstWriteOptions("FstToString")); in FstToString()
931 *result = ostrm.str(); in FstToString()
/external/openfst/src/script/
Dprint.cc26 void PrintFst(const FstClass &fst, ostream &ostrm, const string &dest, in PrintFst() argument
32 &ostrm, dest); in PrintFst()
Ddraw.cc41 ostream *ostrm, in DrawFst() argument
45 fontsize, precision, show_weight_one, ostrm, dest); in DrawFst()