Lines Matching refs:write
73 sys.stderr.write('Unsupported btsnooz version: %s\n' % version)
79 sys.stdout.write('btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea')
108 sys.stdout.write(struct.pack('>II', length, length))
109 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
110 sys.stdout.write(
113 sys.stdout.write(type_to_hci(type))
114 sys.stdout.write(decompressed[offset:offset + length - 1])
139 sys.stdout.write(struct.pack('>II', packet_length, length))
140 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0))
141 sys.stdout.write(
144 sys.stdout.write(type_to_hci(snooz_type))
145 sys.stdout.write(decompressed[offset:offset + length - 1])
151 sys.stderr.write('Usage: %s [bugreport]\n' % sys.argv[0])
168 sys.stderr.write('No btsnooz section found in bugreport.\n')