/system/tools/aidl/build/ |
D | aidl_rust_glue.py | 30 def emit(self, output_file, indent=""): argument 32 output_file.write(indent) 33 output_file.write("pub mod %s {\n" % input_name) 37 output_file.write(indent) 38 output_file.write(" ") 39 output_file.write(l) 41 output_file.write(indent) 42 output_file.write("}\n") 45 output_file.write(indent) 46 output_file.write("pub mod %s {\n" % name) [all …]
|
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/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, uint64_t len, void* data); 34 int write_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val); 35 int write_file_chunk(struct output_file* out, uint64_t len, const char* file, int64_t offset); 36 int write_fd_chunk(struct output_file* out, uint64_t len, int fd, int64_t offset); 37 int write_skip_chunk(struct output_file* out, uint64_t len); 38 void output_file_close(struct output_file* out);
|
D | output_file.cpp | 64 int (*open)(struct output_file*, int fd); 65 int (*skip)(struct output_file*, int64_t); 66 int (*pad)(struct output_file*, int64_t); 67 int (*write)(struct output_file*, void*, size_t); 68 void (*close)(struct output_file*); 72 int (*write_data_chunk)(struct output_file* out, uint64_t len, void* data); 73 int (*write_fill_chunk)(struct output_file* out, uint64_t len, uint32_t fill_val); 74 int (*write_skip_chunk)(struct output_file* out, uint64_t len); 75 int (*write_end_chunk)(struct output_file* out); 76 int (*write_fd_chunk)(struct output_file* out, uint64_t len, int fd, int64_t offset); [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;
|
/system/update_engine/aosp/ |
D | map_file_generator.cc | 37 const char* output_file) { in WriteBlockMap() argument 44 open(output_file, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0644)); in WriteBlockMap() 46 PLOG(ERROR) << "Failed to open " << output_file; in WriteBlockMap() 72 PLOG(ERROR) << "Failed to write to " << output_file; in WriteBlockMap() 91 const char* output_file = argv[2]; in Main() local 116 return WriteBlockMap(img, fs.get(), output_file); in Main() 120 return WriteBlockMap(img, fs.get(), output_file); in Main() 124 return WriteBlockMap(img, fs.get(), output_file); in Main()
|
/system/sepolicy/build/ |
D | build_sepolicy.py | 74 output_file = args.output_cil 75 if output_file is None: 76 output_file = input_file_name + '.cil' 77 file_utils.make_parent_dirs(output_file) 81 '-n', args.treble_sepolicy_vers, '-o', output_file]) 83 file_utils.filter_out(args.filter_out_files, output_file) 90 merge_cmd += [output_file, '-o', '/dev/null', '-f', '/dev/null']
|
/system/extras/simpleperf/scripts/ |
D | sample_filter.py | 79 output_file = output_file_prefix 80 with open(output_file, 'w') as fh: 84 print('Generate sample filter file: %s' % output_file) 89 output_file = output_file_prefix + '_part%s' % (i + 1) 90 with open(output_file, 'w') as fh: 102 print('Generate sample filter file: %s' % output_file)
|
D | report_sample.py | 95 if args.output_file != '' and args.output_file != '-': 96 sys.stdout = open(file=args.output_file, mode='w')
|
/system/extras/pinner/ |
D | pintool.cpp | 42 std::string output_file; in perform_file_action() local 98 output_file = options[i]; in perform_file_action() 121 cout << "Setting output pinlist file: " << output_file.c_str() << endl; in perform_file_action() 170 if (output_file.length() > 0) { in perform_file_action() 171 pintool.write_coverages_as_pinlist(output_file, write_quota); in perform_file_action() 195 if (output_file.length() > 0) { in perform_file_action() 196 res = write_pinlist_file(output_file, resident.ranges, write_quota); in perform_file_action() 198 cerr << "Failed to write pin file at: " << output_file << endl; in perform_file_action() 200 cout << "Finished writing pin file at: " << output_file << endl; in perform_file_action()
|
D | pin_utils.cpp | 13 int write_pinlist_file(const std::string& output_file, in write_pinlist_file() argument 19 return write_pinlist_file(output_file, ranges, write_quota); in write_pinlist_file() 22 int write_pinlist_file(const std::string& output_file, const std::vector<VmaRange>& vmas_to_write, in write_pinlist_file() argument 24 ofstream pinlist_file(output_file); in write_pinlist_file()
|
/system/apex/apexer/ |
D | runtests.sh | 79 output_file=${output_dir}/test.apex 90 ${input_dir} ${output_file} 95 offset=$(zipalign -v -c 4096 ${output_file} | grep apex_payload.img | tr -s ' ' | cut -d ' ' -f 2) 97 unzip ${output_file} apex_payload.img -d ${output_dir} 103 sudo losetup -o ${offset} --sizelimit ${size} /dev/loop10 ${output_file} 105 unzip ${output_file} apex_manifest.pb -d ${output_dir} 136 aapt dump xmltree ${output_file} AndroidManifest.xml
|
/system/sepolicy/tools/ |
D | version_policy.c | 92 FILE *output_file = NULL; in main() local 181 output_file = fopen(output, "we"); in main() 182 if (!output_file) { in main() 187 rc = cil_write_build_ast(output_file, out_db); in main() 194 fclose(output_file); in main()
|
D | insertkeys.py | 254 output_file = sys.stdout if options.output_file == "stdout" else open(options.output_file, "w") variable 255 logging.info("Setting output file to: " + options.output_file) 264 handler = ReplaceTags(key_map, output_file)
|
/system/extras/perf2cfg/ |
D | perf2cfg.py | 79 if not args.output_file: 81 args.output_file = f'{root}-annotated{ext}' 130 output_stream = open(args.output_file, 'w')
|
/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 | 199 ["-t", args.ext_variant, "-b", str(BLOCKSIZE), args.output_file, 204 args.output_file]) 230 with open(args.output_file, 'w') as output: 260 os.remove(args.output_file)
|
/system/tools/aidl/ |
D | generate_cpp_analyzer.cpp | 192 bool GenerateCppAnalyzer(const string& output_file, const Options& options, in GenerateCppAnalyzer() argument 195 if (!ValidateOutputFilePath(output_file, options, defined_type)) { in GenerateCppAnalyzer() 212 return gen(output_file, &GenerateAnalyzerSource); in GenerateCppAnalyzer() 214 return gen(output_file, &GenerateAnalyzerPlaceholder); in GenerateCppAnalyzer()
|
D | generate_ndk.h | 29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types,
|
D | generate_cpp.h | 31 bool GenerateCpp(const string& output_file, const Options& options, const AidlTypenames& typenames,
|
D | generate_cpp_analyzer.h | 31 bool GenerateCppAnalyzer(const string& output_file, const Options& options,
|
/system/extras/simpleperf/ |
D | cmd_kmem_test.cpp | 73 static bool RunKmemRecordCmd(std::vector<std::string> v, const char* output_file = nullptr) { in RunKmemRecordCmd() argument 76 if (output_file != nullptr) { in RunKmemRecordCmd() 77 out_file = output_file; in RunKmemRecordCmd()
|
/system/timezone/ |
D | download-iana-files.py | 169 for output_file in output_files: 170 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')
|