| /external/autotest/client/cros/cellular/mbim_compliance/tests/ |
| cm_08.py | 13 import struct namespace 43 information_buffer=array.array('B', struct.pack('I', 2)))
|
| /external/autotest/client/cros/netprotos/ |
| interface_host.py | 7 import struct namespace 136 struct.pack('b', 1))
|
| /external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/ |
| cellular_MbimComplianceCM08.py | 6 import struct namespace 55 payload_buffer=array.array('B', struct.pack('I', 2)))
|
| /external/autotest/client/site_tests/hardware_SAT/ |
| 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/ |
| 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/ |
| multicast_guest.py | 2 import socket, struct, os, signal, sys namespace 27 mreq = struct.pack("4sl", socket.inet_aton(mcast),
|
| /external/autotest/client/virt/ |
| 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/ |
| 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/web-page-replay/third_party/dns/rdtypes/ANY/ |
| 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))
|
| NSEC3PARAM.py | 17 import struct namespace 65 file.write(struct.pack("!BBHB", self.algorithm, self.flags, 70 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB',
|
| 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,
|
| 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/web-page-replay/third_party/dns/rdtypes/IN/ |
| 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])
|
| 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)
|
| PX.py | 16 import struct namespace 58 pref = struct.pack("!H", self.preference) 64 (preference, ) = struct.unpack('!H', wire[current : current + 2]) 90 sp = struct.pack("!H", self.preference) 91 op = struct.pack("!H", other.preference)
|
| SRV.py | 16 import struct namespace 61 three_ints = struct.pack("!HHH", self.priority, self.weight, self.port) 66 (priority, weight, port) = struct.unpack('!HHH', 84 sp = struct.pack("!HHH", self.priority, self.weight, self.port) 85 op = struct.pack("!HHH", other.priority, other.weight, other.port)
|
| WKS.py | 17 import struct namespace 89 protocol = struct.pack('!B', self.protocol) 95 protocol, = struct.unpack('!B', wire[current + 4 : current + 5]) 108 sp = struct.pack('!B', self.protocol) 109 op = struct.pack('!B', other.protocol)
|
| /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ |
| dsbase.py | 16 import struct namespace 70 header = struct.pack("!HBB", self.key_tag, self.algorithm, 76 header = struct.unpack("!HBB", wire[current : current + 4]) 85 hs = struct.pack("!HBB", self.key_tag, self.algorithm, 87 ho = struct.pack("!HBB", other.key_tag, other.algorithm,
|
| keybase.py | 16 import struct namespace 127 header = struct.pack("!HBB", self.flags, self.protocol, self.algorithm) 134 header = struct.unpack('!HBB', wire[current : current + 4]) 144 hs = struct.pack("!HBB", self.flags, self.protocol, self.algorithm) 145 ho = struct.pack("!HBB", other.flags, other.protocol, other.algorithm)
|
| /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
| test_common.py | 5 import struct namespace 16 self.assertRaises(struct.error, byte, 256) 17 self.assertRaises(struct.error, byte, -1)
|
| /external/clang/test/CXX/dcl.decl/dcl.name/ |
| 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/fonttools/Lib/fontTools/ttLib/tables/ |
| C_P_A_L_.py | 9 import struct namespace 15 self.version, self.numPaletteEntries, numPalettes, numColorRecords, goffsetFirstColorRecord = struct.unpack(">HHHHL", data[:12]) 20 startIndex = struct.unpack(">H", data[pos:pos+2])[0] 26 palette.append( Color(*struct.unpack(">BBBB", data[ppos:ppos+4])) ) 31 dataList = [struct.pack(">HHHHL", self.version, self.numPaletteEntries, len(self.palettes), self.numPaletteEntries * len(self.palettes), 12+2*len(self.palettes))] 33 dataList.append(struct.pack(">H", i*self.numPaletteEntries)) 37 dataList.append(struct.pack(">BBBB", color.blue,color.green,color.red,color.alpha))
|
| L_T_S_H_.py | 5 import struct namespace 15 version, numGlyphs = struct.unpack(">HH", data[:4]) 37 return struct.pack(">HH", version, numGlyphs) + yPels.tostring()
|
| T_S_I__0.py | 4 import struct namespace 19 size = struct.calcsize(tsi0Format) 21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size])) 36 data = data + struct.pack(tsi0Format, index, textLength, textOffset) 37 data = data + struct.pack(tsi0Format, 0XFFFE, 0, -1409540300) # 0xABFC1F34 39 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
|
| _g_a_s_p.py | 5 import struct namespace 16 self.version, numRanges = struct.unpack(">HH", data[:4]) 21 rangeMaxPPEM, rangeGaspBehavior = struct.unpack(">HH", data[:4]) 32 data = data + struct.pack(">HH", rangeMaxPPEM, rangeGaspBehavior) 35 data = struct.pack(">HH", version, numRanges) + data
|