/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
H A D | native-messaging-example-host | 10 import struct namespace 23 text_length = struct.unpack('i', text_length_bytes)[0] 34 sys.stdout.write(struct.pack("I", len(response)))
|
/external/chromium_org/net/data/websocket/ |
H A D | close-code-and-reason_wsh.py | 5 import struct namespace 24 data = struct.pack('!H', int(code)) + reason.encode('utf-8')
|
H A D | close-with-split-packet_wsh.py | 5 import struct namespace 26 code = struct.pack('!H', 1000)
|
/external/chromium_org/third_party/ots/tools/ |
H A D | ttf-checksum.py | 1 import struct namespace 6 return struct.unpack('>I', wordBytes)[0] 10 return struct.unpack('>H', wordBytes)[0]
|
/external/wpa_supplicant_8/wpa_supplicant/utils/ |
H A D | log2pcap.py | 10 import sys, struct, re namespace 14 struct.pack('<IHHIIII', 21 pcap_file.write(struct.pack('<IIII',
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
H A D | close_wsh.py | 30 import struct namespace 52 # > data = struct.pack('!H', int(code)) + reason.encode('UTF-8')
|
/external/chromium_org/tools/gyp/test/win/ |
H A D | gyptest-link-large-pdb.py | 13 import struct namespace 34 page_size = struct.unpack('<I', pdb_file.read(4))[0]
|
/external/chromium_org/ui/resources/resource_check/ |
H A D | resource_scale_factors.py | 15 import struct namespace 48 return struct.unpack('>ii', data[16:24])
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
H A D | sun_tool.py | 11 import struct namespace 45 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
/external/chromium/net/tools/testserver/ |
H A D | asn1der.py | 9 import struct namespace 28 return struct.pack(">BB", tag, 0); 30 return struct.pack(">BBH", tag, 0x82, len(data)) + data;
|
/external/chromium_org/build/android/ |
H A D | surface_stats.py | 48 import fcntl, termios, struct namespace 51 height, _, _, _ = struct.unpack('HHHH', 53 struct.pack('HHHH', 0, 0, 0, 0)))
|
/external/chromium_org/chrome/browser/policy/test/ |
H A D | asn1der.py | 8 import struct namespace 27 return struct.pack(">BB", tag, 0); 29 return struct.pack(">BBH", tag, 0x82, len(data)) + data;
|
/external/chromium_org/chrome/tools/ |
H A D | history-viz.py | 15 import struct namespace 171 trans = struct.unpack('I', struct.pack('i', int(trans)))[0]
|
/external/chromium_org/chrome/tools/process_dumps/ |
H A D | process_dumps_linux.py | 13 import struct namespace 209 bits = struct.calcsize('P') * 8
|
/external/chromium_org/v8/tools/testrunner/server/ |
H A D | compression.py | 35 import struct namespace 47 payload = struct.pack('>i', len(compressed)) + compressed 80 size = struct.unpack(">i", size)[0]
|
/external/clang/test/CXX/dcl.decl/dcl.name/ |
H A D | p1.cpp | 5 struct v {}; 7 struct s { 9 operator struct v() { return v(); }; 16 (void)new struct s; 18 (void)&s::operator struct v;
|
/external/chromium_org/remoting/tools/ |
H A D | native_messaging_host_test.py | 10 import struct namespace 137 child.stdin.write(struct.pack('I', len(message))) 145 reply_length = struct.unpack('i', reply_length_bytes)[0]
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
H A D | hybi00.py | 48 import struct namespace 207 challenge += struct.pack('!I', key1) # network byteorder int 208 challenge += struct.pack('!I', key2) # network byteorder int
|
/external/chromium_org/build/mac/ |
H A D | change_mach_o_flags.py | 78 import struct namespace 127 treating it as having endianness specified by |endian| (per the |struct| 133 (uint32,) = struct.unpack(endian + 'I', bytes) 140 |endian| (per the |struct| module), and returns a 7-tuple of its members 147 struct.unpack(endian + '7I', bytes) 154 (per the |struct| module), and returns a 5-tuple of its members as numbers. 160 cputype, cpusubtype, offset, size, align = struct.unpack('>5I', bytes) 167 |struct| module).""" 169 bytes = struct.pack(endian + 'I', uint32)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | platforminfo.py | 99 import struct namespace 100 _, _, _, _, _, left, _, right, _, _, _ = struct.unpack("hhhhHhhhhhh", console_screen_buffer_info.raw) 107 import struct namespace 110 _, columns, _, _ = struct.unpack('HHHH', packed)
|
/external/chromium_org/third_party/simplejson/ |
H A D | decoder.py | 5 import struct namespace 22 # The struct module in Python 2.4 would get frexp() out of range here 26 nan, inf = struct.unpack('dd', _BYTES)
|
/external/chromium_org/tools/deep_memory_profiler/lib/ |
H A D | pageframe.py | 8 import struct namespace 47 pagecount = struct.unpack( 55 pfn = struct.unpack(
|
/external/chromium_org/tools/grit/grit/format/ |
H A D | data_pack.py | 13 import struct namespace 58 version, num_entries, encoding = struct.unpack("<IIB", data[:HEADER_LENGTH]) 71 id, offset = struct.unpack("<HI", data[:kIndexEntrySize]) 73 next_id, next_offset = struct.unpack("<HI", data[:kIndexEntrySize]) 86 ret.append(struct.pack("<IIB", PACK_FILE_VERSION, len(ids), encoding)) 96 ret.append(struct.pack("<HI", id, data_offset)) 99 ret.append(struct.pack("<HI", 0, data_offset))
|
/external/chromium_org/tools/grit/grit/gather/ |
H A D | chrome_scaled_image.py | 10 import struct namespace 70 length = 12 + struct.unpack_from('>I', data, pos)[0]
|
H A D | chrome_scaled_image_unittest.py | 10 import struct namespace 40 pack_int32 = struct.Struct('>i').pack
|