Searched defs:struct (Results 1 - 25 of 168) sorted by relevance

1234567

/external/chromium_org/native_client_sdk/src/tools/lib/
H A Delf.py7 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 Dclose-code-and-reason_wsh.py5 import struct namespace
24 data = struct.pack('!H', int(code)) + reason.encode('utf-8')
H A Dclose-with-split-packet_wsh.py5 import struct namespace
21 code = struct.pack('!H', 3004)
/external/chromium_org/third_party/brotli/src/
H A Dwoff2_header_dump.py9 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 Dttf-checksum.py1 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 Dlog2pcap.py10 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 Dclose_wsh.py30 import struct namespace
52 # > data = struct.pack('!H', int(code)) + reason.encode('UTF-8')
/external/chromium_org/tools/gyp/test/mac/
H A Dgyptest-loadable-module-bundle-product-extension.py15 import struct namespace
H A Dgyptest-loadable-module.py14 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 Dgyptest-link-large-pdb.py13 import struct namespace
34 page_size = struct.unpack('<I', pdb_file.read(4))[0]
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DResourceProcessor.java31 public boolean process(EntryStruct struct) throws IOException { argument
32 if (!struct.name.endsWith(".class"))
33 struct.name = pr.mapPath(struct.name);
H A DExcludeProcessor.java33 public boolean process(EntryStruct struct) throws IOException { argument
34 boolean toKeep = !excludes.contains(struct.name);
36 System.err.println("Excluding " + struct.name);
H A DManifestProcessor.java34 public boolean process(EntryStruct struct) throws IOException { argument
35 return !struct.name.equalsIgnoreCase(MANIFEST_PATH);
H A DZapProcessor.java31 public boolean process(EntryStruct struct) throws IOException { argument
32 String name = struct.name;
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
H A DJarProcessor.java30 * @param struct
34 boolean process(EntryStruct struct) throws IOException; argument
H A DJarProcessorChain.java31 * @param struct
35 public boolean process(EntryStruct struct) throws IOException argument
40 if (!aChain.process(struct))
/external/lldb/include/lldb/Host/
H A DSocketAddress.h36 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 Dflock_tool.py11 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 Dresource_scale_factors.py15 import struct namespace
53 return struct.unpack('>ii', data[16:24])
/external/lldb/examples/python/
H A Doperating_system.py4 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 Dsimg_dump.py18 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 Dsurface_stats.py49 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 Dasn1der.py8 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 Dnative-messaging-example-host9 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 Dhistory-viz.py15 import struct namespace
171 trans = struct.unpack('I', struct.pack('i', int(trans)))[0]

Completed in 789 milliseconds

1234567