Lines Matching refs:out_file
79 std::ofstream out_file; in generate_rust_source_one_file() local
80 out_file.open(gen_file); in generate_rust_source_one_file()
81 if (!out_file.is_open()) { in generate_rust_source_one_file()
86 out_file << "// @generated rust packets from " << input_file.filename().string() << "\n\n"; in generate_rust_source_one_file()
88 generate_rust_packet_preamble(out_file); in generate_rust_source_one_file()
90 out_file << "pub trait CommandExpectations { " in generate_rust_source_one_file()
140 out_file << "use std::convert::TryFrom;"; in generate_rust_source_one_file()
148 gen.GenRustDef(out_file); in generate_rust_source_one_file()
149 out_file << "\n\n"; in generate_rust_source_one_file()
156 struct_def->GenRustDef(out_file); in generate_rust_source_one_file()
157 out_file << "\n\n"; in generate_rust_source_one_file()
162 packet_def.second->GenRustDef(out_file); in generate_rust_source_one_file()
163 out_file << "\n\n"; in generate_rust_source_one_file()
166 out_file.close(); in generate_rust_source_one_file()