Home
last modified time | relevance | path

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

123

/aosp12/system/bt/gd/packet/parser/
H A Dgen_cpp.cc74 std::ofstream out_file; in generate_cpp_headers_one_file() local
81 out_file << in generate_cpp_headers_one_file()
114 out_file << "\n\n"; in generate_cpp_headers_one_file()
119 out_file << "\n\n"; in generate_cpp_headers_one_file()
127 out_file << in generate_cpp_headers_one_file()
183 out_file << "\n"; in generate_cpp_headers_one_file()
189 out_file << "\n"; in generate_cpp_headers_one_file()
196 out_file << "\n\n"; in generate_cpp_headers_one_file()
201 out_file << "\n\n"; in generate_cpp_headers_one_file()
206 out_file << "\n\n"; in generate_cpp_headers_one_file()
[all …]
H A 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()
88 generate_rust_packet_preamble(out_file); 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()
[all …]
/aosp12/build/make/tools/releasetools/
H A Dtarget_files_diff.py136 def diff(name, file1, file2, out_file): argument
152 print("%s: %s" % (name, line), file=out_file)
154 def recursiveDiff(prefix, dir1, dir2, out_file): argument
175 file=out_file)
195 recursiveDiff(name, name1, name2, out_file)
197 diff(name, name1, name2, out_file)
212 print("%s: Only in new package" % name, file=out_file)
223 out_file = open(args.output, 'w')
225 out_file = sys.stdout
227 recursiveDiff('', args.dir1, args.dir2, out_file)
[all …]
H A Dbuild_image.py264 build_command.extend([in_dir, out_file, fs_type,
305 build_command.extend([in_dir, out_file])
321 build_command.extend([in_dir, out_file])
457 size = GetDiskUsage(out_file)
458 os.remove(out_file)
484 os.remove(out_file)
528 os.remove(out_file)
553 verity_image_builder.PadSparseImage(out_file)
557 verity_image_builder.Build(out_file)
895 out_file = argv[2]
[all …]
H A Dverity_utils.py144 with open(target, 'ab') as out_file, \
147 out_file.write(line)
239 def PadSparseImage(self, out_file): argument
243 def Build(self, out_file): argument
314 def Build(self, out_file): argument
358 def PadSparseImage(self, out_file): argument
489 def PadSparseImage(self, out_file): argument
493 def Build(self, out_file): argument
504 "--image", out_file]
775 out_file = argv[1]
[all …]
/aosp12/art/dexlayout/
H A Ddexlayout_main.cc181 FILE* out_file = stdout; in DexlayoutDriver() local
183 out_file = fopen(options.output_file_name_, "w"); in DexlayoutDriver()
184 if (!out_file) { in DexlayoutDriver()
212 DexLayout dex_layout(options, profile_info.get(), out_file, /*header=*/ nullptr); in DexlayoutDriver()
221 CHECK(out_file != nullptr && out_file != stdout); in DexlayoutDriver()
222 fclose(out_file); in DexlayoutDriver()
H A Ddexlayout.cc290 fputs("\"", out_file); in DumpEscapedString()
294 fputs("\\\\", out_file); in DumpEscapedString()
297 fputs("\\\"", out_file); in DumpEscapedString()
300 fputs("\\t", out_file); in DumpEscapedString()
303 fputs("\\n", out_file); in DumpEscapedString()
306 fputs("\\r", out_file); in DumpEscapedString()
309 putc(*p, out_file); in DumpEscapedString()
312 fputs("\"", out_file); in DumpEscapedString()
325 fputs("&lt;", out_file); in DumpXmlAttribute()
328 fputs("&gt;", out_file); in DumpXmlAttribute()
[all …]
/aosp12/build/make/tools/fs_config/
H A DAndroid.mk165 --out_file $@ \
192 --out_file $@ \
219 --out_file $@ \
245 --out_file $@ \
274 --out_file $@ \
300 --out_file $@ \
329 --out_file $@ \
355 --out_file $@ \
384 --out_file $@ \
410 --out_file $@ \
[all …]
H A Dfs_config_generator.py985 def _to_fs_entry(self, fs_config, out_file): argument
1055 out_file.write(length_binary)
1056 out_file.write(mode_binary)
1057 out_file.write(user_binary)
1058 out_file.write(group_binary)
1059 out_file.write(caps_binary)
1060 out_file.write(path_binary)
/aosp12/build/make/tools/fs_config/end_to_end_test/
H A Drun_test.sh9 --out_file result_system_fs_config_files \
21 --out_file result_system_fs_config_dirs \
32 --out_file result_vendor_fs_config_files \
43 --out_file result_vendor_fs_config_dirs \
54 --out_file result_product_fs_config_files \
65 --out_file result_product_fs_config_dirs \
/aosp12/art/test/utils/python/testgen/
H A Dmixins.py135 out_file = directory / self.get_file_name()
136 if out_file.exists():
137 out_file.unlink()
138 with out_file.open('w') as out:
/aosp12/system/sepolicy/tools/
H A Dcheck_seapp.c168 static file_info out_file; variable
917 has_out_file = out_file.name != NULL; 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()
1005 out_file.name = optarg; in handle_options()
1265 if (!out_file.file) { in output()
1273 fprintf(out_file.file, "\n"); in output()
1284 if (out_file.name && strcmp(out_file.name, "stdout") && out_file.file) { in cleanup()
[all …]
/aosp12/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_load_dmp.c251 void read_dmp_img(char *dmp_path, char* out_file) in read_dmp_img() argument
265 fp = fopen(out_file, "wt"); in read_dmp_img()
267 MPL_LOGE("error open out file:%s", out_file); in read_dmp_img()
/aosp12/bionic/libc/tools/
H A Dgenfunctosyscallnrs.py23 def gen_syscall_nrs(out_file, base_syscall_file, syscall_NRs): argument
28 out_file.write("#define __" + arch + "_" + func + " " +
65 gen_syscall_nrs(out_file=output_file,
/aosp12/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dml_load_dmp.c286 void read_dmp_img(char *dmp_path, char* out_file) in read_dmp_img() argument
300 fp = fopen(out_file, "wt"); in read_dmp_img()
302 MPL_LOGE("error open out file:%s", out_file); in read_dmp_img()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/
H A DRSUnitTests.py322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file:
323 out_file.write(
331 out_file.write(line)
338 with open(out_path, 'w') as out_file:
339 out_file.write(
344 out_file.write(in_file.read())
/aosp12/system/extras/simpleperf/
H A 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()
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/
H A Dspec_visualizer.py231 def DumpHtml(spec_file, out_file): argument
237 with open(out_file, "w") as out_fd:
255 spec_file, out_file = ParseCmdLine() variable
259 DumpHtml(spec_file, out_file)
260 print("Output HTML file: %s" % out_file)
/aosp12/packages/modules/Gki/
H A Dbuild_gki_apex_manifest.cpp55 const std::string& out_file) { in WriteApexManifest() argument
62 if (!android::base::WriteStringToFile(json_string, out_file)) { in WriteApexManifest()
63 PLOG(ERROR) << "Cannot write to " << out_file; in WriteApexManifest()
/aosp12/system/update_engine/sample_images/
H A Dgenerate_payloads.sh36 delta_generator --out_file=full_payload.bin \
41 delta_generator --out_file=delta_payload.bin \
/aosp12/system/libufdt/tests/src/
H A 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()
H A 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()
/aosp12/system/timezone/debug_tools/host/
H A Dvisualize_zone_trees.py55 with open(png_file, 'w') as out_file:
56 subprocess.check_call(['dot', '-Tpng', gv_file], stdout=out_file)
/aosp12/build/pesto/experiments/prepare_bazel_test_env/data/templates/platform_testing/tests/example/native/
H A DBUILD.bazel.template52 out_file=$${{out_files[$$i]}}
54 cp $$src_file $$out_file
/aosp12/bootable/recovery/updater_sample/tools/
H A Dgen_update_config.py119 with open(out, 'w') as out_file:
120 json.dump(self.config, out_file, indent=4, separators=(',', ': '), sort_keys=True)

123