/system/tpm/trunks/generator/ |
D | generator.py | 310 def OutputForward(self, out_file, defined_types, typemap): argument 322 self.Output(out_file, defined_types, typemap) 324 def Output(self, out_file, defined_types, typemap): argument 339 typemap[self.old_type].OutputForward(out_file, defined_types, typemap) 340 out_file.write(self._TYPEDEF % {'old_type': self.old_type, 344 def OutputSerialize(self, out_file, serialized_types, typemap): argument 356 typemap[self.old_type].OutputSerialize(out_file, serialized_types, 358 out_file.write(self._SERIALIZE_FUNCTION % {'old': self.old_type, 360 out_file.write(self._PARSE_FUNCTION % {'old': self.old_type, 388 def Output(self, out_file, defined_types, typemap): argument [all …]
|
D | generator_test.py | 37 out_file = StringIO.StringIO() 39 typedef.OutputForward(out_file, defined_types, typemap) 41 typedef.Output(out_file, defined_types, typemap) 42 self.assertEqual(out_file.getvalue(), 'typedef int INT;\n') 53 out_file.close() 62 out_file = StringIO.StringIO() 63 typedef2.OutputSerialize(out_file, serialized_types, typemap) 66 out_file.close() 73 out_file = StringIO.StringIO() 74 constant.Output(out_file, defined_types, typemap) [all …]
|
/system/sepolicy/tools/fc_sort/ |
D | fc_sort.c | 341 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/ |
D | check_seapp.c | 166 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/ |
D | cmd_kmem_test.cpp | 77 std::string out_file; in RunKmemRecordCmd() local 79 out_file = output_file; in RunKmemRecordCmd() 82 out_file = tmpfile->path; in RunKmemRecordCmd() 85 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunKmemRecordCmd()
|
D | cmd_record_test.cpp | 49 std::string out_file; in RunRecordCmd() local 51 out_file = output_file; in RunRecordCmd() 54 out_file = tmpfile->path; in RunRecordCmd() 56 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunRecordCmd()
|
/system/libufdt/tests/src/ |
D | fdt_overlay_test_app.c | 80 const char *out_file = argv[3]; in main() local 81 int ret = apply_overlay_files(out_file, base_file, overlay_file); in main()
|
D | ufdt_overlay_test_app.c | 85 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/payload_generator/ |
D | generate_delta_main.cc | 143 const string& out_file, in SignPayload() argument 150 LOG_IF(FATAL, out_file.empty()) in SignPayload() 159 metadata_signatures, out_file, &final_metadata_size)); in SignPayload() 299 DEFINE_string(out_file, "", "Path to output delta payload file"); in Main()
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 447 with tempfile.NamedTemporaryFile(delete=False) as out_file: 448 out_file_name = out_file.name 468 with open(out_file_name, 'rb') as out_file: 469 out_data = out_file.read()
|
D | checker.py | 227 def Dump(self, out_file, base_indent=0, sub_indent=2): argument 240 out_file.write(line)
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 529 GENERATOR_ARGS=( -out_file="${FLAGS_payload}" ) 641 -out_file="${FLAGS_payload}"
|