Lines Matching refs:fout
654 io::FileOutputStream fout(id_map_path); in WriteStableIdMapToPath() local
655 if (fout.HadError()) { in WriteStableIdMapToPath()
656 diag->Error(DiagMessage(id_map_path) << "failed to open: " << fout.GetError()); in WriteStableIdMapToPath()
660 text::Printer printer(&fout); in WriteStableIdMapToPath()
668 fout.Flush(); in WriteStableIdMapToPath()
670 if (fout.HadError()) { in WriteStableIdMapToPath()
671 diag->Error(DiagMessage(id_map_path) << "failed writing to file: " << fout.GetError()); in WriteStableIdMapToPath()
1084 std::unique_ptr<io::FileOutputStream> fout; local
1096 fout = util::make_unique<io::FileOutputStream>(out_path);
1097 if (fout->HadError()) {
1099 << "': " << fout->GetError());
1116 if (!generator.Generate(package_name_to_generate, out_package, fout.get(), fout_text.get())) {
1248 io::FileOutputStream fout(out_path); in WriteManifestJavaFile() local
1249 if (fout.HadError()) { in WriteManifestJavaFile()
1251 << "': " << fout.GetError()); in WriteManifestJavaFile()
1256 false /* strip_api_annotations */, &fout); in WriteManifestJavaFile()
1257 fout.Flush(); in WriteManifestJavaFile()
1259 if (fout.HadError()) { in WriteManifestJavaFile()
1261 << "': " << fout.GetError()); in WriteManifestJavaFile()
1274 io::FileOutputStream fout(out_path); in WriteProguardFile() local
1275 if (fout.HadError()) { in WriteProguardFile()
1277 << "': " << fout.GetError()); in WriteProguardFile()
1281 proguard::WriteKeepSet(keep_set, &fout, options_.generate_minimal_proguard_rules); in WriteProguardFile()
1282 fout.Flush(); in WriteProguardFile()
1284 if (fout.HadError()) { in WriteProguardFile()
1286 << "': " << fout.GetError()); in WriteProguardFile()