Lines Matching defs:opts
68 static ConstFstImpl<A> *Read(istream &strm, const FstReadOptions &opts);
70 bool Write(ostream &strm, const FstWriteOptions &opts) const;
162 const FstReadOptions &opts) {
165 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr))
180 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source;
189 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source;
197 const FstWriteOptions &opts) const {
202 WriteHeaderAndSymbols(strm, opts, kFileVersion, &hdr);
215 LOG(ERROR) << "ConstFst::Write: Write failed: " << opts.source;
276 static ConstFst<A> *Read(istream &strm, const FstReadOptions &opts) {
277 ConstFstImpl<A>* impl = ConstFstImpl<A>::Read(strm, opts);
292 virtual bool Write(ostream &strm, const FstWriteOptions &opts) const {
293 return impl_->Write(strm, opts);