Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 13 of 13) sorted by relevance

/system/bt/gd/packet/parser/
Dgen_cpp.cc74 std::ofstream out_file; in generate_cpp_headers_one_file() local
75 out_file.open(gen_file); in generate_cpp_headers_one_file()
76 if (!out_file.is_open()) { in generate_cpp_headers_one_file()
81 out_file << in generate_cpp_headers_one_file()
111 ((CustomFieldDef*)c.second)->GenInclude(out_file); in generate_cpp_headers_one_file()
114 out_file << "\n\n"; in generate_cpp_headers_one_file()
118 generate_namespace_open(namespace_list, out_file); in generate_cpp_headers_one_file()
119 out_file << "\n\n"; in generate_cpp_headers_one_file()
124 ((CustomFieldDef*)c.second)->GenUsing(out_file); in generate_cpp_headers_one_file()
127 out_file << in generate_cpp_headers_one_file()
[all …]
Dgen_rust.cc79 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()
[all …]
/system/update_engine/sample_images/
Dgenerate_payloads.sh36 delta_generator --out_file=full_payload.bin \
41 delta_generator --out_file=delta_payload.bin \
/system/sepolicy/tools/
Dcheck_seapp.c168 static file_info out_file; variable
917 has_out_file = out_file.name != NULL; in init()
920 if (has_out_file && !strcmp(out_file.name, "-")) { in init()
921 out_file.file = stdout; in init()
922 out_file.name = "stdout"; in init()
925 out_file.file = fopen(out_file.name, "w+"); in init()
928 if (has_out_file && !out_file.file) { in init()
929 log_error("Could not open file: \"%s\" error: \"%s\"\n", out_file.name, in init()
978 log_info("Output file set to: \"%s\"\n", out_file.name); in init()
1005 out_file.name = optarg; in handle_options()
[all …]
/system/extras/simpleperf/
Dcmd_kmem_test.cpp75 std::string out_file; in RunKmemRecordCmd() local
77 out_file = output_file; in RunKmemRecordCmd()
81 out_file = tmpfile->path; in RunKmemRecordCmd()
84 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunKmemRecordCmd()
Dcmd_record_test.cpp76 std::string out_file; in RunRecordCmd() local
78 out_file = output_file; in RunRecordCmd()
81 out_file = tmpfile->path; in RunRecordCmd()
83 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunRecordCmd()
/system/libufdt/tests/src/
Dufdt_overlay_test_app.c85 const char *out_file = argv[3]; in main() local
86 int ret = apply_overlay_files(out_file, base_file, overlay_file); in main()
Dfdt_overlay_test_app.c80 const char *out_file = argv[3]; in main() local
81 int ret = apply_overlay_files(out_file, base_file, overlay_file); in main()
/system/timezone/debug_tools/host/
Dvisualize_zone_trees.py55 with open(png_file, 'w') as out_file:
56 subprocess.check_call(['dot', '-Tpng', gv_file], stdout=out_file)
/system/update_engine/scripts/update_payload/
Dapplier.py443 with tempfile.NamedTemporaryFile(delete=False) as out_file:
444 out_file_name = out_file.name
463 with open(out_file_name, 'rb') as out_file:
464 out_data = out_file.read()
Dchecker.py241 def Dump(self, out_file, base_indent=0, sub_indent=2): argument
254 out_file.write(line)
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc113 const string& out_file, in SignPayload() argument
120 LOG_IF(FATAL, out_file.empty()) << "Must pass --out_file to sign payload."; in SignPayload()
131 out_file, in SignPayload()
344 DEFINE_string(out_file, "", "Path to output delta payload file"); in Main()
/system/update_engine/scripts/
Dbrillo_update_payload656 GENERATOR_ARGS=( --out_file="${FLAGS_payload}" )
813 --out_file="${FLAGS_payload}"