Searched refs:out_file (Results 1 - 7 of 7) sorted by relevance

/system/tpm/trunks/generator/
H A Dgenerator.py308 def OutputForward(self, out_file, defined_types, typemap):
309 """Writes a typedef definition to |out_file|.
315 out_file: The output file.
320 self.Output(out_file, defined_types, typemap)
322 def Output(self, out_file, defined_types, typemap):
323 """Writes a typedef definition to |out_file|.
328 out_file: The output file.
337 typemap[self.old_type].OutputForward(out_file, defined_types, typemap)
338 out_file.write(self._TYPEDEF % {'old_type': self.old_type,
342 def OutputSerialize(self, out_file, serialized_type
[all...]
H A Dgenerator_test.py37 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_type
[all...]
/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c327 FILE *in_file, *out_file; local
530 if (!(out_file = fopen(output_name, "w"))) {
535 out_file = stdout;
542 fprintf(out_file, "%s\t\t", current->path);
546 fprintf(out_file, "%s\t", current->file_type);
550 fprintf(out_file, "%s\n", current->context);
563 fclose(out_file);
/system/extras/simpleperf/
H A Dcmd_record_test.cpp40 std::string out_file; local
42 out_file = output_file;
45 out_file = tmpfile->path;
47 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC});
/system/sepolicy/tools/
H A Dcheck_seapp.c166 static file_info out_file; variable
838 has_out_file = out_file.name != NULL;
841 if (has_out_file && !strcmp(out_file.name, "-")) {
842 out_file.file = stdout;
843 out_file.name = "stdout";
846 out_file.file = fopen(out_file.name, "w+");
849 if (has_out_file && !out_file.file) {
850 log_error("Could not open file: \"%s\" error: \"%s\"\n", out_file.name,
900 log_info("Output file set to: \"%s\"\n", out_file
[all...]
/system/update_engine/scripts/
H A Dbrillo_update_payload479 GENERATOR_ARGS=( -out_file="${FLAGS_payload}" )
591 -out_file="${FLAGS_payload}"
/system/update_engine/payload_generator/
H A Dgenerate_delta_main.cc141 const string& out_file,
148 LOG_IF(FATAL, out_file.empty())
149 << "Must pass --out_file to sign payload.";
157 metadata_signatures, out_file, &final_metadata_size));
281 DEFINE_string(out_file, "", "Path to output delta payload file");
140 SignPayload(const string& in_file, const string& out_file, const string& payload_signature_file, const string& metadata_signature_file, const string& out_metadata_size_file) argument

Completed in 105 milliseconds