Home
last modified time | relevance | path

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

/system/sepolicy/tools/fc_sort/
Dfc_sort.c341 FILE *in_file, *out_file; in main() local
582 if (!(out_file = fopen(output_name, "w"))) { in main()
589 out_file = stdout; in main()
597 fprintf(out_file, "%s\t\t", current->path); in main()
601 fprintf(out_file, "%s\t", current->file_type); in main()
605 fprintf(out_file, "%s", current->context); in main()
609 fprintf(out_file, "\t%s", current->extra); in main()
612 fprintf(out_file, "\n"); in main()
621 fclose(out_file); in main()
/system/sepolicy/tools/
Dcheck_seapp.c166 static file_info out_file; variable
867 has_out_file = out_file.name != NULL; in init()
870 if (has_out_file && !strcmp(out_file.name, "-")) { in init()
871 out_file.file = stdout; in init()
872 out_file.name = "stdout"; in init()
875 out_file.file = fopen(out_file.name, "w+"); in init()
878 if (has_out_file && !out_file.file) { in init()
879 log_error("Could not open file: \"%s\" error: \"%s\"\n", out_file.name, in init()
928 log_info("Output file set to: \"%s\"\n", out_file.name); in init()
955 out_file.name = optarg; in handle_options()
[all …]
/system/extras/simpleperf/
Dcmd_kmem_test.cpp76 std::string out_file; in RunKmemRecordCmd() local
78 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.cpp50 std::string out_file; in RunRecordCmd() local
52 out_file = output_file; in RunRecordCmd()
55 out_file = tmpfile->path; in RunRecordCmd()
57 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunRecordCmd()
/system/libufdt/tests/src/
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()
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()
/system/update_engine/scripts/update_payload/
Dapplier.py477 with tempfile.NamedTemporaryFile(delete=False) as out_file:
478 out_file_name = out_file.name
498 with open(out_file_name, 'rb') as out_file:
499 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.cc140 const string& out_file, in SignPayload() argument
146 LOG_IF(FATAL, out_file.empty()) << "Must pass --out_file to sign payload."; in SignPayload()
156 out_file, in SignPayload()
322 DEFINE_string(out_file, "", "Path to output delta payload file"); in Main()
/system/update_engine/scripts/
Dbrillo_update_payload600 GENERATOR_ARGS=( --out_file="${FLAGS_payload}" )
718 --out_file="${FLAGS_payload}"