Lines Matching refs:fout
492 def extract_dt_file(self, idx, fout, decompress): argument
512 fout.seek(0)
517 fout.write(zlib.decompress(self.__file.read(size), self._ZLIB_DECOMPRESSION_WBITS))
521 fout.write(self.__file.read(size))
799 def create_dtbo_image(fout, argv): argument
811 dtbo = Dtbo(fout, global_args.dt_type, global_args.page_size, global_args.version)
814 fout.close()
832 with open(args.dtfilename + '.{:d}'.format(idx), 'wb') as fout:
833 dtbo.extract_dt_file(idx, fout, args.decompress)
837 def create_dtbo_image_from_config(fout, argv): argument
868 dtbo = Dtbo(fout, global_args['dt_type'], global_args['page_size'], global_args['version'])
871 fout.close()