/system/libufdt/tests/src/ |
D | util.c | 64 FILE *fout = NULL; in write_buf_to_file() local 66 fout = fopen(filename, "wb"); in write_buf_to_file() 67 if (!fout) { in write_buf_to_file() 71 if (fwrite(buf, 1, buf_size, fout) < 1) { in write_buf_to_file() 77 if (fout) fclose(fout); in write_buf_to_file()
|
/system/core/storaged/tools/ |
D | ranker.py | 157 fout = sys.stdout 159 fout = open(args.output, "w") 162 fout.write("RANKING BY " + IO_NAMES[i] + "\n") 166 fout.write(uid + " " + uid_stat + "\n") 170 fout.write("-> " + task + " " + task_stat + "\n") 171 fout.write("\n")
|
/system/iorap/src/inode2filename/ |
D | main.cc | 318 std::ofstream fout; in main() local 320 fout.open(*output_filename); in main() 321 if (!fout) { in main() 326 fout.open("/dev/null"); // have to open *something* otherwise rdbuf fails. in main() 327 fout.basic_ios<char>::rdbuf(std::cout.rdbuf()); in main() 380 /*on_next*/[&return_code, output_format, &fout](const InodeResult& result) { in main() 384 fout << "\033[1;32m[OK]\033[0m " in main() 396 fout.write(buf, sizeof(int32_t)); in main() 397 fout.write(line.c_str(), size); in main() 402 fout << inode.GetDevice() << " " in main() [all …]
|
/system/chre/external/kiss_fft/ |
D | kiss_fft.h | 93 void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); 98 void kiss_fft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int fin_stride);
|
D | kiss_fft.c | 379 void kiss_fft_stride(kiss_fft_cfg st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int in_stride) in kiss_fft_stride() argument 381 if (fin == fout) { in kiss_fft_stride() 386 memcpy(fout,tmpbuf,sizeof(kiss_fft_cpx)*(size_t)(st->nfft)); in kiss_fft_stride() 389 kf_work( fout, fin, 1,in_stride, st->factors,st ); in kiss_fft_stride() 393 void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) in kiss_fft() argument 395 kiss_fft_stride(cfg,fin,fout,1); in kiss_fft()
|
/system/media/audio_utils/tests/ |
D | biquad_filter.cpp | 96 std::unique_ptr<std::FILE, decltype(&std::fclose)> fout( in main() local 98 if (fout == nullptr) { in main() 137 fwrite(out.data(), ioFrameSize, frameLength, fout.get()); in main()
|
/system/libufdt/utils/src/ |
D | mkdtboimg.py | 527 def extract_dt_file(self, idx, fout, decompress): argument 547 fout.seek(0) 552 fout.write(zlib.decompress(self.__file.read(size), self._ZLIB_DECOMPRESSION_WBITS)) 556 fout.write(self.__file.read(size)) 840 def create_dtbo_image(fout, argv): argument 852 dtbo = Dtbo(fout, global_args.dt_type, global_args.page_size, global_args.version) 855 fout.close() 873 with open(args.dtfilename + '.{:d}'.format(idx), 'wb') as fout: 874 dtbo.extract_dt_file(idx, fout, args.decompress) 878 def create_dtbo_image_from_config(fout, argv): argument [all …]
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 335 def write_ramdisks_padded(self, fout, alignment): argument 338 fout.write(f.read()) 339 pad_file(fout, alignment) 341 def write_entries_padded(self, fout, alignment): argument 343 fout.write(pack('I', entry.ramdisk_size)) 344 fout.write(pack('I', entry.ramdisk_offset)) 345 fout.write(pack('I', entry.ramdisk_type)) 346 fout.write(pack(f'{VENDOR_RAMDISK_NAME_SIZE}s', 348 fout.write(entry.board_id) 349 pad_file(fout, alignment)
|
/system/extras/simpleperf/scripts/purgatorio/ |
D | purgatorio.py | 303 with io.open(output_filename, mode='w', encoding='utf-8') as fout: 304 fout.write(html)
|