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')
106 sys.stdout.write(struct.pack('>II', length, length))
107 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
108 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
109 sys.stdout.write(type_to_hci(type))
110 sys.stdout.write(decompressed[offset:offset + length - 1])
133 sys.stdout.write(struct.pack('>II', packet_length, length))
134 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0))
135 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
136 sys.stdout.write(type_to_hci(snooz_type))
137 sys.stdout.write(decompressed[offset:offset + length - 1])
143 sys.stderr.write('Usage: %s [bugreport]\n' % sys.argv[0])
160 sys.stderr.write('No btsnooz section found in bugreport.\n')