/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/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 | 342 def write_ramdisks_padded(self, fout, alignment): argument 345 fout.write(f.read()) 346 pad_file(fout, alignment) 348 def write_entries_padded(self, fout, alignment): argument 350 fout.write(pack('I', entry.ramdisk_size)) 351 fout.write(pack('I', entry.ramdisk_offset)) 352 fout.write(pack('I', entry.ramdisk_type)) 353 fout.write(pack(f'{VENDOR_RAMDISK_NAME_SIZE}s', 355 fout.write(entry.board_id) 356 pad_file(fout, alignment)
|
/system/extras/simpleperf/scripts/purgatorio/ |
D | purgatorio.py | 298 with io.open(output_filename, mode='w', encoding='utf-8') as fout: 299 fout.write(html)
|