/device/htc/flounder/ |
releasetools.py | 2 import struct namespace
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
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/ |
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/ |
test_compat.py | 4 import struct namespace 16 self.assertRaises(struct.error, byte, 256) 17 self.assertRaises(struct.error, byte, -1)
|
/external/v8/tools/gyp/test/mac/ |
gyptest-loadable-module-bundle-product-extension.py | 15 import struct namespace
|
gyptest-loadable-module.py | 14 import struct namespace 34 if struct.unpack('4I', open(binary, 'rb').read(16))[3] != MH_BUNDLE:
|
/external/v8/tools/gyp/test/win/ |
gyptest-link-enable-winrt-app-revision.py | 15 import struct namespace
|
gyptest-link-enable-winrt-target-platform-version.py | 15 import struct namespace
|
gyptest-link-enable-winrt.py | 15 import struct namespace
|
gyptest-link-large-pdb.py | 13 import struct namespace 38 page_size = struct.unpack('<I', pdb_file.read(4))[0]
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/Carbon/ |
ControlAccessor.py | 4 import struct namespace 39 data = struct.pack(structfmt, data) 51 data = struct.unpack(structfmt, data)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
whichdb.py | 5 import struct namespace 89 (magic,) = struct.unpack("=l", s) 90 except struct.error: 104 (magic,) = struct.unpack("=l", s16[-4:]) 105 except struct.error:
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
whichdb.py | 5 import struct namespace 89 (magic,) = struct.unpack("=l", s) 90 except struct.error: 104 (magic,) = struct.unpack("=l", s16[-4:]) 105 except struct.error:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
ControlAccessor.py | 4 import struct namespace 39 data = struct.pack(structfmt, data) 51 data = struct.unpack(structfmt, data)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
whichdb.py | 5 import struct namespace 89 (magic,) = struct.unpack("=l", s) 90 except struct.error: 104 (magic,) = struct.unpack("=l", s16[-4:]) 105 except struct.error:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
whichdb.py | 5 import struct namespace 89 (magic,) = struct.unpack("=l", s) 90 except struct.error: 104 (magic,) = struct.unpack("=l", s16[-4:]) 105 except struct.error:
|
/device/asus/fugu/ |
releasetools.py | 18 import struct namespace 34 header_size = struct.calcsize(header_fmt) 35 magic, revision, reserved, reserved = struct.unpack( 43 header_v1_size = struct.calcsize(header_v1_fmt) 44 ifwi_size, droidboot_size = struct.unpack(header_v1_fmt, bootloader[offset:offset + header_v1_size]) 58 c_header_size = struct.calcsize(c_header_fmt) 59 c_magic, size, flags, _, _ , _ = struct.unpack(c_header_fmt, bootloader[offset:offset + c_header_size])
|
/external/autotest/client/site_tests/network_WlanHasIP/ |
network_WlanHasIP.py | 9 import fcntl, socket, struct namespace 37 struct.pack('256s', device[:15])
|
/external/v8/tools/gyp/pylib/gyp/ |
flock_tool.py | 11 import struct namespace 45 # struct size. 46 op = struct.pack('hhIllqq', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0) 48 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
/hardware/bsp/intel/soc/common/tools/ |
gpt_ini2bin.py | 5 import struct namespace 63 out.write(struct.pack('<I', magic)) 64 out.write(struct.pack('<I', start_lba)) 65 out.write(struct.pack('<I', npart)) 68 out.write(struct.pack('<i', int(length)))
|
/system/core/libsparse/ |
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_bin) 145 header = struct.unpack("<12B", header_bin)
|
/bootable/recovery/tools/ota/ |
convert-to-bmp.py | 6 import struct namespace 31 "L" # size of this struct 44 fileheadersize = struct.calcsize(BMP_HEADER_FMT) 45 infoheadersize = struct.calcsize(BITMAPINFO_HEADER_FMT) 47 header = struct.pack(BMP_HEADER_FMT, 54 info = struct.pack(BITMAPINFO_HEADER_FMT,
|
/build/tools/releasetools/ |
sparse_img.py | 17 import struct namespace 39 header = struct.unpack("<I4H4I", header_bin) 75 header = struct.unpack("<2H2I", header_bin) 138 f.write(struct.pack("<2H3I", 0xCAC2, 0, blocks, 16, data)) 145 f.write(struct.pack("<2I", self.total_blocks, self.total_chunks))
|
/device/lge/bullhead/ |
releasetools.py | 18 import struct namespace 131 # struct bootloader_images_header { 136 # struct { 144 header_size = struct.calcsize(header_fmt) 145 magic, num_images, start_offset, bootloader_size = struct.unpack( 150 img_info_size = struct.calcsize(img_info_fmt) 152 imgs = [struct.unpack(img_info_fmt,
|
/external/autotest/client/common_lib/cros/bluetooth/ |
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)
|