/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
H A D | httpzlib.py | 18 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 D | log2pcap.py | 10 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 D | test_compat.py | 4 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 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/autotest/client/site_tests/network_WlanHasIP/ |
H A D | network_WlanHasIP.py | 9 import fcntl, socket, struct namespace 37 struct.pack('256s', device[:15])
|
/external/autotest/client/common_lib/cros/bluetooth/ |
H A D | bluetooth_gatt_server.py | 3 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 D | cm_08.py | 13 import struct namespace 43 information_buffer=array.array('B', struct.pack('I', 2)))
|
/external/autotest/client/cros/netprotos/ |
H A D | interface_host.py | 7 import struct namespace 136 struct.pack('b', 1))
|
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/ |
H A D | cellular_MbimComplianceCM08.py | 6 import struct namespace 55 payload_buffer=array.array('B', struct.pack('I', 2)))
|
/external/autotest/client/site_tests/hardware_SAT/ |
H A D | hardware_SAT.py | 5 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 D | platform_DMVerityBitCorruption.py | 7 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 D | multicast_guest.py | 2 import socket, struct, os, signal, sys namespace 27 mreq = struct.pack("4sl", socket.inet_aton(mcast),
|
/external/autotest/client/virt/ |
H A D | ppm_utils.py | 7 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 D | output_test_video_params.py | 26 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 D | HIP.py | 18 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 D | NSEC3PARAM.py | 17 import struct namespace 65 file.write(struct.pack("!BBHB", self.algorithm, self.flags, 70 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB',
|
H A D | SOA.py | 16 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 D | SSHFP.py | 16 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 D | IPSECKEY.py | 17 import struct namespace 102 header = struct.pack("!BBB", self.precedence, self.gateway_type, 120 header = struct.unpack('!BBB', wire[current : current + 3])
|
H A D | NAPTR.py | 16 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)
|