Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 15 of 15) sorted by relevance

/system/core/libsparse/
Doutput_file.h22 struct output_file;
24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len,
26 struct output_file *output_file_open_callback(int (*write)(void *, const void *, int),
29 int write_data_chunk(struct output_file *out, unsigned int len, void *data);
30 int write_fill_chunk(struct output_file *out, unsigned int len,
32 int write_file_chunk(struct output_file *out, unsigned int len,
34 int write_fd_chunk(struct output_file *out, unsigned int len,
36 int write_skip_chunk(struct output_file *out, int64_t len);
37 void output_file_close(struct output_file *out);
Doutput_file.c63 int (*open)(struct output_file *, int fd);
64 int (*skip)(struct output_file *, int64_t);
65 int (*pad)(struct output_file *, int64_t);
66 int (*write)(struct output_file *, void *, size_t);
67 void (*close)(struct output_file *);
71 int (*write_data_chunk)(struct output_file *out, unsigned int len,
73 int (*write_fill_chunk)(struct output_file *out, unsigned int len,
75 int (*write_skip_chunk)(struct output_file *out, int64_t len);
76 int (*write_end_chunk)(struct output_file *out);
79 struct output_file { struct
[all …]
Dsparse.c104 static int sparse_file_write_block(struct output_file *out, in sparse_file_write_block()
132 static int write_all_blocks(struct sparse_file *s, struct output_file *out) in write_all_blocks()
166 struct output_file *out; in sparse_file_write()
186 struct output_file *out; in sparse_file_callback()
225 struct output_file *out; in sparse_file_foreach_chunk()
265 struct output_file *out; in sparse_file_len()
293 struct output_file *out_counter; in move_chunks_up_to_len()
Dsparse_file.h28 struct output_file *out;
DAndroid.bp9 "output_file.c",
/system/tools/aidl/
Dcode_writer.cpp53 FileCodeWriter(FILE* output_file, bool close_on_destruction) in FileCodeWriter() argument
54 : output_(output_file), in FileCodeWriter()
88 CodeWriterPtr GetFileWriter(const std::string& output_file) { in GetFileWriter() argument
92 if (output_file == "-") { in GetFileWriter()
98 to = fopen(output_file.c_str(), "wb"); in GetFileWriter()
104 cerr << "unable to open " << output_file << " for write" << endl; in GetFileWriter()
Dcode_writer.h42 CodeWriterPtr GetFileWriter(const std::string& output_file);
Daidl.cpp248 void write_common_dep_file(const string& output_file, in write_common_dep_file() argument
253 writer->Write("%s : \\\n", output_file.c_str()); in write_common_dep_file()
/system/tools/aidl/tests/
Dend_to_end_tests.cpp99 const string output_file = kCppOutputPath; in TEST_F() local
103 output_file.c_str(), nullptr in TEST_F()
113 CheckFileContents(output_file, kExpectedCppOutput); in TEST_F()
124 const string output_file = kCppOutputPath; in TEST_F() local
128 output_file.c_str(), nullptr in TEST_F()
137 CheckFileContents(output_file, kExpectedCppOutput); in TEST_F()
145 const string output_file = kJavaOutputPath; in TEST_F() local
151 output_file.c_str(), in TEST_F()
/system/sepolicy/tools/
Dinsertkeys.py255 output_file = sys.stdout if options.output_file == "stdout" else open(options.output_file, "w") variable
256 logging.info("Setting output file to: " + options.output_file)
265 parser.setContentHandler(ReplaceTags(key_map, output_file))
/system/extras/simpleperf/
Dcmd_kmem_test.cpp75 const char* output_file = nullptr) { in RunKmemRecordCmd() argument
78 if (output_file != nullptr) { in RunKmemRecordCmd()
79 out_file = output_file; in RunKmemRecordCmd()
Dcmd_record_test.cpp42 const char* output_file = nullptr) { in RunRecordCmd() argument
45 if (output_file != nullptr) { in RunRecordCmd()
46 out_file = output_file; in RunRecordCmd()
/system/extras/simpleperf/runtest/
Druntest.py307 def _call(self, args, output_file=None): argument
319 def _call(self, args, output_file=None): argument
321 if output_file is not None:
322 output_fh = open(output_file, 'w')
341 def _call(self, args, output_file=None): argument
343 if output_file is not None:
344 output_fh = open(output_file, 'w')
/system/tpm/tpm_manager/client/
Dmain.cc439 void HandleReadSpaceReply(const std::string& output_file, in HandleReadSpaceReply() argument
441 if (!WriteStringToFile(reply.data(), output_file)) { in HandleReadSpaceReply()
449 const std::string& output_file, in HandleReadSpace() argument
458 weak_factory_.GetWeakPtr(), output_file)); in HandleReadSpace()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.config10 output_file = "pprof.profile"