Home
last modified time | relevance | path

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

/system/core/libsparse/
Doutput_file.h26 struct output_file;
28 struct output_file* output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz,
30 struct output_file* output_file_open_callback(int (*write)(void*, const void*, size_t), void* priv,
33 int write_data_chunk(struct output_file* out, unsigned int len, void* data);
34 int write_fill_chunk(struct output_file* out, unsigned int len, uint32_t fill_val);
35 int write_file_chunk(struct output_file* out, unsigned int len, const char* file, int64_t offset);
36 int write_fd_chunk(struct output_file* out, unsigned int len, int fd, int64_t offset);
37 int write_skip_chunk(struct output_file* out, int64_t len);
38 void output_file_close(struct output_file* out);
Doutput_file.cpp60 int (*open)(struct output_file*, int fd);
61 int (*skip)(struct output_file*, int64_t);
62 int (*pad)(struct output_file*, int64_t);
63 int (*write)(struct output_file*, void*, size_t);
64 void (*close)(struct output_file*);
68 int (*write_data_chunk)(struct output_file* out, unsigned int len, void* data);
69 int (*write_fill_chunk)(struct output_file* out, unsigned int len, uint32_t fill_val);
70 int (*write_skip_chunk)(struct output_file* out, int64_t len);
71 int (*write_end_chunk)(struct output_file* out);
74 struct output_file { struct
[all …]
Dsparse.cpp91 static int sparse_file_write_block(struct output_file* out, struct backed_block* bb) { in sparse_file_write_block()
114 static int write_all_blocks(struct sparse_file* s, struct output_file* out) { in write_all_blocks()
149 struct output_file* out; in sparse_file_write()
172 struct output_file* out; in sparse_file_callback()
206 struct output_file* out; in sparse_file_foreach_chunk()
240 struct output_file* out; in sparse_file_len()
266 struct output_file* out_counter; in move_chunks_up_to_len()
Dsparse_file.h32 struct output_file* out;
DAndroid.bp11 "output_file.cpp",
/system/sepolicy/build/
Dbuild_sepolicy.py72 output_file = args.output_cil
73 if output_file is None:
74 output_file = input_file_name + '.cil'
75 file_utils.make_parent_dirs(output_file)
79 '-n', args.treble_sepolicy_vers, '-o', output_file])
81 file_utils.filter_out(args.filter_out_files, output_file)
88 merge_cmd += [output_file, '-o', '/dev/null', '-f', '/dev/null']
/system/tools/aidl/build/
Daidl_to_jni.py74 with open(jni_signature_mappings, "w") as output_file:
79 output_file.write(line)
83 output_file.write(convert_method(line.strip()))
84 output_file.write("\n")
/system/apex/apexer/
Druntests.sh77 output_file=${output_dir}/test.apex
87 ${input_dir} ${output_file}
92 offset=$(zipalign -v -c 4096 ${output_file} | grep apex_payload.img | tr -s ' ' | cut -d ' ' -f 2)
94 unzip ${output_file} apex_payload.img -d ${output_dir}
100 sudo losetup -o ${offset} --sizelimit ${size} /dev/loop10 ${output_file}
102 unzip ${output_file} apex_manifest.pb -d ${output_dir}
133 aapt dump xmltree ${output_file} AndroidManifest.xml
/system/extras/ext4_utils/
Dtest_mkuserimg_mke2fs.py40 self.assertEqual("output_file", args.output_file)
74 self.assertEqual("output_file", args.output_file)
123 args.output_file, str(int(args.fs_size) / 4096)]
130 args.output_file]
Dmkuserimg_mke2fs.py182 ["-t", args.ext_variant, "-b", str(BLOCKSIZE), args.output_file,
187 args.output_file])
213 with open(args.output_file, 'w') as output:
243 os.remove(args.output_file)
/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.cpp76 const char* output_file = nullptr) { in RunKmemRecordCmd() argument
79 if (output_file != nullptr) { in RunKmemRecordCmd()
80 out_file = output_file; in RunKmemRecordCmd()
Dcmd_record_test.cpp62 const char* output_file = nullptr) { in RunRecordCmd() argument
76 if (output_file != nullptr) { in RunRecordCmd()
77 out_file = output_file; in RunRecordCmd()
/system/timezone/
Ddownload-iana-files.py151 for output_file in output_files:
152 print ' %s' % output_file
/system/extras/simpleperf/runtest/
Druntest.py321 def _call(self, args, output_file=None): argument
333 def _call(self, args, output_file=None): argument
335 if output_file is not None:
336 output_fh = open(output_file, 'w')
352 def _call(self, args, output_file=None): argument
354 if output_file is not None:
355 output_fh = open(output_file, 'w')
/system/tools/aidl/
Dgenerate_ndk.cpp40 void GenerateNdkInterface(const string& output_file, const Options& options, in GenerateNdkInterface() argument
60 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateNdkInterface()
65 void GenerateNdkParcel(const string& output_file, const Options& options, in GenerateNdkParcel() argument
86 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateNdkParcel()
98 void GenerateNdkEnumDeclaration(const string& output_file, const Options& options, in GenerateNdkEnumDeclaration() argument
119 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateNdkEnumDeclaration()
125 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types, in GenerateNdk() argument
129 GenerateNdkParcel(output_file, options, types, *parcelable, io_delegate); in GenerateNdk()
135 GenerateNdkParcelDeclaration(output_file, io_delegate); in GenerateNdk()
141 GenerateNdkEnumDeclaration(output_file, options, types, *enum_decl, io_delegate); in GenerateNdk()
[all …]
Dgenerate_cpp.h32 bool GenerateCpp(const string& output_file, const Options& options, const AidlTypenames& typenames,
Dgenerate_ndk.h29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types,
Dgenerate_cpp.cpp1301 bool GenerateCppInterface(const string& output_file, const Options& options, in GenerateCppInterface() argument
1318 unique_ptr<CodeWriter> writer = io_delegate.GetCodeWriter(output_file); in GenerateCppInterface()
1325 io_delegate.RemovePath(output_file); in GenerateCppInterface()
1331 bool GenerateCppParcel(const string& output_file, const Options& options, in GenerateCppParcel() argument
1356 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateCppParcel()
1416 bool GenerateCpp(const string& output_file, const Options& options, const AidlTypenames& typenames, in GenerateCpp() argument
1420 return GenerateCppParcel(output_file, options, typenames, *parcelable, io_delegate); in GenerateCpp()
1425 return GenerateCppParcelDeclaration(output_file, options, *parcelable_decl, io_delegate); in GenerateCpp()
1430 return GenerateCppEnumDeclaration(output_file, options, typenames, *enum_decl, io_delegate); in GenerateCpp()
1435 return GenerateCppInterface(output_file, options, typenames, *interface, io_delegate); in GenerateCpp()
Daidl.cpp157 const string& input_file, const string& output_file) { in write_dep_file() argument
160 dep_file_name = output_file + ".d"; in write_dep_file()
185 writer->Write("%s : \\\n", output_file.c_str()); in write_dep_file()
/system/sepolicy/tests/
Dcombine_maps.py72 with open(args.output_file, "w") as output:
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py626 config['output_file'] = args.output_file