Lines Matching refs:output
32 def write32(output, value): argument
33 output.write(chr(value & 255)) ; value=value // 256
34 output.write(chr(value & 255)) ; value=value // 256
35 output.write(chr(value & 255)) ; value=value // 256
36 output.write(chr(value & 255))
38 def compress(filename, input, output): argument
39 output.write('\037\213\010')
40 output.write(chr(0))
43 write32(output, 0)
44 output.write('\002')
45 output.write('\003')
55 output.write(compobj.compress(data))
56 output.write(compobj.flush())
57 write32(output, crcval)
58 write32(output, statval.st_size)
64 output = open(outputname, 'wb')
65 compress(dtb_file, input, output)
67 output.close()
86 args.output.write(pack(dt_head_info_fmt,
92 args.output.write(pack(dt_entry_fmt,
103 args.output.write('\x00')
120 args.output.write(pack('I', 0)) # SUCCESS code number
123 args.output.write(dtb_fd.read(dtb_size))