/system/core/libsparse/ |
D | output_file.h | 26 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);
|
D | output_file.cpp | 60 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 …]
|
D | sparse.cpp | 91 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()
|
D | sparse_file.h | 32 struct output_file* out;
|
D | Android.bp | 11 "output_file.cpp",
|
/system/sepolicy/build/ |
D | build_sepolicy.py | 72 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/ |
D | aidl_to_jni.py | 74 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/ |
D | runtests.sh | 77 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/ |
D | test_mkuserimg_mke2fs.py | 40 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]
|
D | mkuserimg_mke2fs.py | 182 ["-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/ |
D | insertkeys.py | 255 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/ |
D | cmd_kmem_test.cpp | 76 const char* output_file = nullptr) { in RunKmemRecordCmd() argument 79 if (output_file != nullptr) { in RunKmemRecordCmd() 80 out_file = output_file; in RunKmemRecordCmd()
|
D | cmd_record_test.cpp | 62 const char* output_file = nullptr) { in RunRecordCmd() argument 76 if (output_file != nullptr) { in RunRecordCmd() 77 out_file = output_file; in RunRecordCmd()
|
/system/timezone/ |
D | download-iana-files.py | 151 for output_file in output_files: 152 print ' %s' % output_file
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 321 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/ |
D | generate_ndk.cpp | 40 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 …]
|
D | generate_cpp.h | 32 bool GenerateCpp(const string& output_file, const Options& options, const AidlTypenames& typenames,
|
D | generate_ndk.h | 29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types,
|
D | generate_cpp.cpp | 1301 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()
|
D | aidl.cpp | 157 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/ |
D | combine_maps.py | 72 with open(args.output_file, "w") as output:
|
/system/extras/simpleperf/scripts/ |
D | pprof_proto_generator.py | 626 config['output_file'] = args.output_file
|