Home
last modified time | relevance | path

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

/external/openfst/src/bin/
Dfstprint.cc59 ostream *ostrm = &cout; in main() local
63 ostrm = new fst::ofstream(argv[2]); in main()
64 if (!*ostrm) { in main()
69 ostrm->precision(9); in main()
96 s::PrintFst(*fst, *ostrm, dest, isyms, osyms, ssyms, in main()
105 if (ostrm != &cout) in main()
106 delete ostrm; in main()
Dfstdraw.cc66 ostream *ostrm = &cout; in main() local
70 ostrm = new fst::ofstream(argv[2]); in main()
71 if (!*ostrm) { in main()
76 ostrm->precision(FLAGS_precision); in main()
108 FLAGS_show_weight_one, ostrm, dest); in main()
110 if (ostrm != &cout) in main()
111 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.h50 ostream *ostrm; member
68 ostream *ostrm, in FstDrawerArgs()
74 show_weight_one(show_weight_one), ostrm(ostrm), dest(dest) { } in FstDrawerArgs()
88 fstdrawer.Draw(args->ostrm, args->dest); in DrawFst()
106 ostream *ostrm,
Dprint-impl.h56 void Print(ostream *ostrm, const string &dest) { in Print() argument
57 ostrm_ = ostrm; in Print()
/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/extensions/far/
Dprint-strings.h119 ofstream ostrm(filename.c_str()); in FarPrintStrings()
120 if (!ostrm) { in FarPrintStrings()
126 ostrm << str; in FarPrintStrings()
128 ostrm << "\n"; in FarPrintStrings()
/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()
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()
Dstring.h246 bool PrintLabel(Label lab, ostream& ostrm) { in PrintLabel() argument
255 ostrm << symbol; in PrintLabel()
257 ostrm << lab; in PrintLabel()
Dsymbol-table.h523 ostringstream ostrm; in SymbolTableToString() local
524 table->Write(ostrm); in SymbolTableToString()
525 *result = ostrm.str(); in SymbolTableToString()
Dfst.h936 ostringstream ostrm; in FstToString() local
937 fst.Write(ostrm, FstWriteOptions("FstToString")); in FstToString()
938 *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()