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

12345678

/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
H A Dhttpzlib.py18 import struct namespace
66 chunk += (struct.pack("<L", long(crc)) +
67 struct.pack("<L", long(size)))
/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/catapult/third_party/gsutil/third_party/rsa/tests/
H A Dtest_compat.py4 import struct namespace
16 self.assertRaises(struct.error, byte, 256)
17 self.assertRaises(struct.error, byte, -1)
/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/autotest/client/site_tests/network_WlanHasIP/
H A Dnetwork_WlanHasIP.py9 import fcntl, socket, struct namespace
37 struct.pack('256s', device[:15])
/external/autotest/client/common_lib/cros/bluetooth/
H A Dbluetooth_gatt_server.py3 import struct namespace
55 client_rx_mtu = struct.unpack('<H', data)
62 response = struct.pack('<BH', BT_ATT_OP_MTU_RSP, self.mtu)
/external/autotest/client/cros/cellular/mbim_compliance/tests/
H A Dcm_08.py13 import struct namespace
43 information_buffer=array.array('B', struct.pack('I', 2)))
/external/autotest/client/cros/netprotos/
H A Dinterface_host.py7 import struct namespace
136 struct.pack('b', 1))
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/
H A Dcellular_MbimComplianceCM08.py6 import struct namespace
55 payload_buffer=array.array('B', struct.pack('I', 2)))
/external/autotest/client/site_tests/hardware_SAT/
H A Dhardware_SAT.py5 import logging, re, struct, sys, time namespace
19 mchbar = struct.unpack('=I', fd.read(4))[0]
26 mad_chnl = struct.unpack('=I', fd.read(4))[0]
28 channel_hash = struct.unpack('=I', fd.read(4))[0]
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/
H A Dplatform_DMVerityBitCorruption.py7 import struct namespace
24 (byte,) = struct.unpack('B', dev.read(1)) # Get raw byte value.
26 dev.write(struct.pack('B', byte ^ self._mask))
37 (byte,) = struct.unpack('B', dev.read(1))
41 dev.write(struct.pack('B', byte ^ self._mask))
/external/autotest/client/tests/kvm/scripts/
H A Dmulticast_guest.py2 import socket, struct, os, signal, sys namespace
27 mreq = struct.pack("4sl", socket.inet_aton(mcast),
/external/autotest/client/virt/
H A Dppm_utils.py7 import os, struct, time, re namespace
191 temp = struct.unpack("BBB", pixel1_str)
195 temp = struct.unpack("BBB", pixel2_str)
208 newdata += struct.pack("BBB", newpixel[0], newpixel[1], newpixel[2])
/external/autotest/server/site_tests/video_VDAStress/
H A Doutput_test_video_params.py26 import struct namespace
52 header_frame_num = struct.unpack('i', mm.read(4))[0]
60 (frame,) = struct.unpack('i', mm.read(4))
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
H A DHIP.py18 import struct namespace
78 file.write(struct.pack("!BBH", lh, self.algorithm, lk))
85 (lh, algorithm, lk) = struct.unpack('!BBH',
119 b1.write(struct.pack("!BBH", lh, self.algorithm, lk))
125 b2.write(struct.pack("!BBH", lh, other.algorithm, lk))
H A DNSEC3PARAM.py17 import struct namespace
65 file.write(struct.pack("!BBHB", self.algorithm, self.flags,
70 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB',
H A DSOA.py16 import struct namespace
82 five_ints = struct.pack('!IIIII', self.serial, self.refresh,
89 struct.pack('!IIIII', self.serial, self.refresh,
101 five_ints = struct.unpack('!IIIII',
121 self_ints = struct.pack('!IIIII', self.serial, self.refresh,
123 other_ints = struct.pack('!IIIII', other.serial, other.refresh,
H A DSSHFP.py16 import struct namespace
58 header = struct.pack("!BB", self.algorithm, self.fp_type)
63 header = struct.unpack("!BB", wire[current : current + 2])
72 hs = struct.pack("!BB", self.algorithm, self.fp_type)
73 ho = struct.pack("!BB", other.algorithm, other.fp_type)
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
H A DIPSECKEY.py17 import struct namespace
102 header = struct.pack("!BBB", self.precedence, self.gateway_type,
120 header = struct.unpack('!BBB', wire[current : current + 3])
H A DNAPTR.py16 import struct namespace
83 two_ints = struct.pack("!HH", self.order, self.preference)
91 (order, preference) = struct.unpack('!HH', wire[current : current + 4])
121 sp = struct.pack("!HH", self.order, self.preference)
122 op = struct.pack("!HH", other.order, other.preference)

Completed in 1869 milliseconds

12345678