/external/chromium_org/native_client_sdk/src/tools/lib/ |
H A D | elf.py | 7 import struct namespace 21 # typedef struct 29 elf_header_size = struct.calcsize(elf_header_format) 35 header = struct.unpack(elf_header_format, header) 36 except struct.error: 72 elf_header_size = struct.calcsize(elf_header_format) 76 header = struct.unpack(elf_header_format, header) 85 # typedef struct 96 phdr_type = struct.unpack(elf_phdr_format, p_header[:4])[0]
|
/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 21 code = struct.pack('!H', 3004)
|
/external/chromium_org/third_party/brotli/src/ |
H A D | woff2_header_dump.py | 9 import struct namespace 13 header_values = struct.unpack('>IIIHHIHHIIIII', header[:44]) 30 entry = struct.unpack('>IIIII', header[44+20*i:44+20*(i+1)])
|
/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/mac/ |
H A D | gyptest-loadable-module-bundle-product-extension.py | 15 import struct namespace
|
H A D | gyptest-loadable-module.py | 14 import struct namespace 30 if struct.unpack('4I', open(binary, 'rb').read(16))[3] != MH_BUNDLE:
|
/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/jarjar/src/main/com/tonicsystems/jarjar/ |
H A D | ResourceProcessor.java | 31 public boolean process(EntryStruct struct) throws IOException { argument 32 if (!struct.name.endsWith(".class")) 33 struct.name = pr.mapPath(struct.name);
|
H A D | ExcludeProcessor.java | 33 public boolean process(EntryStruct struct) throws IOException { argument 34 boolean toKeep = !excludes.contains(struct.name); 36 System.err.println("Excluding " + struct.name);
|
H A D | ManifestProcessor.java | 34 public boolean process(EntryStruct struct) throws IOException { argument 35 return !struct.name.equalsIgnoreCase(MANIFEST_PATH);
|
H A D | ZapProcessor.java | 31 public boolean process(EntryStruct struct) throws IOException { argument 32 String name = struct.name;
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
H A D | JarProcessor.java | 30 * @param struct 34 boolean process(EntryStruct struct) throws IOException; argument
|
H A D | JarProcessorChain.java | 31 * @param struct 35 public boolean process(EntryStruct struct) throws IOException argument 40 if (!aChain.process(struct))
|
/external/lldb/include/lldb/Host/ |
H A D | SocketAddress.h | 36 SocketAddress (const struct sockaddr &s); 37 SocketAddress (const struct sockaddr_in &s); 38 SocketAddress (const struct sockaddr_in6 &s); 39 SocketAddress (const struct sockaddr_storage &s); 50 operator=(const struct addrinfo *addr_info); 53 operator=(const struct sockaddr &s); 56 operator=(const struct sockaddr_in &s); 59 operator=(const struct sockaddr_in6 &s); 62 operator=(const struct sockaddr_storage &s); 115 SetAddress (const struct addrinf [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/ |
H A D | flock_tool.py | 11 import struct namespace 43 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
/external/chromium_org/ui/resources/resource_check/ |
H A D | resource_scale_factors.py | 15 import struct namespace 53 return struct.unpack('>ii', data[16:24])
|
/external/lldb/examples/python/ |
H A D | operating_system.py | 4 import struct namespace 94 return struct.pack('21Q',1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21); 96 return struct.pack('21Q',11,12,13,14,15,16,17,18,19,110,111,112,113,114,115,116,117,118,119,120,121); 98 return struct.pack('21Q',21,22,23,24,25,26,27,28,29,210,211,212,213,214,215,216,217,218,219,220,221); 100 return struct.pack('21Q',31,32,33,34,35,36,37,38,39,310,311,312,313,314,315,316,317,318,319,320,321); 102 return struct.pack('21Q',41,42,43,44,45,46,47,48,49,410,411,412,413,414,415,416,417,418,419,420,421);
|
/external/qemu/distrib/libsparse/src/ |
H A D | simg_dump.py | 18 import getopt, posixpath, signal, struct, sys namespace 56 header = struct.unpack("<I4H4I", header_bin) 98 header = struct.unpack("<2H2I", header_bin) 123 fill = struct.unpack("<I", fill_bin) 138 crc = struct.unpack("<I", crc) 145 header = struct.unpack("<12B", header_bin)
|
/external/chromium_org/build/android/ |
H A D | surface_stats.py | 49 import fcntl, termios, struct namespace 52 height, _, _, _ = struct.unpack('HHHH', 54 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, len(data)) + data; 29 return struct.pack(">BBH", tag, 0x82, len(data)) + data;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
H A D | native-messaging-example-host | 9 import struct namespace 23 sys.stdout.write(struct.pack('I', len(message))) 41 text_length = struct.unpack('i', text_length_bytes)[0]
|
/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]
|