Lines Matching refs:output

70     args.output.write(pack('8s', BOOT_MAGIC))
71 args.output.write(pack(
78 args.output.write(pack('4I', 0, 0, 0, 0)) # reserved
80 args.output.write(pack('I', args.header_version)) # version of bootimage header
81 args.output.write(pack('1536s', args.cmdline.encode()))
82 pad_file(args.output, BOOT_IMAGE_HEADER_V3_PAGESIZE)
116 args.output.write(pack('8s', BOOT_MAGIC))
119 args.output.write(pack(
131 args.output.write(pack('16s', args.board.encode())) # asciiz product name
132 args.output.write(pack('512s', args.cmdline[:512].encode()))
146 args.output.write(img_id)
147 args.output.write(pack('1024s', args.cmdline[512:].encode()))
150 args.output.write(pack('I', filesize(args.recovery_dtbo))) # size in bytes
152 args.output.write(pack('Q', get_recovery_dtbo_offset(args))) # recovery dtbo offset
154 args.output.write(pack('Q', 0)) # Will be set to 0 for devices without a recovery dtbo
158 args.output.write(pack('I', BOOT_IMAGE_HEADER_V1_SIZE))
160 args.output.write(pack('I', BOOT_IMAGE_HEADER_V2_SIZE))
167 args.output.write(pack('I', filesize(args.dtb))) # size in bytes
168 args.output.write(pack('Q', args.base + args.dtb_offset)) # dtb physical load address
169 pad_file(args.output, args.pagesize)
274 write_padded_file(args.output, args.kernel, pagesize)
275 write_padded_file(args.output, args.ramdisk, pagesize)
276 write_padded_file(args.output, args.second, pagesize)
279 write_padded_file(args.output, args.recovery_dtbo, pagesize)
281 write_padded_file(args.output, args.dtb, pagesize)
298 if args.output is not None: