| /external/fonttools/Lib/fontTools/ttLib/tables/ |
| _n_a_m_e.py | 6 import struct namespace 24 format, n, stringOffset = struct.unpack(">HHH", data[:6]) 56 data = struct.pack(">HHH", format, n, stringOffset)
|
| _s_b_i_x.py | 8 import struct namespace
|
| /frameworks/base/services/net/java/android/net/netlink/ |
| StructNdaCacheInfo.java | 26 * struct nda_cacheinfo 46 final StructNdaCacheInfo struct = new StructNdaCacheInfo(); local 47 struct.ndm_used = byteBuffer.getInt(); 48 struct.ndm_confirmed = byteBuffer.getInt(); 49 struct.ndm_updated = byteBuffer.getInt(); 50 struct.ndm_refcnt = byteBuffer.getInt(); 51 return struct;
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
| util.py | 229 import struct namespace 230 if struct.calcsize('l') == 4:
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| test_applesingle.py | 6 import struct namespace 17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \ 18 struct.pack(">llllll", 1, 50, len(dataforkdata),
|
| test_compileall.py | 6 import struct namespace 31 compare = struct.pack('<4sl', imp.get_magic(), mtime) 52 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
|
| test_strtod.py | 5 import struct namespace
|
| /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
| util.py | 229 import struct namespace 230 if struct.calcsize('l') == 4:
|
| /prebuilts/gdb/linux-x86/lib/python2.7/test/ |
| test_applesingle.py | 6 import struct namespace 17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \ 18 struct.pack(">llllll", 1, 50, len(dataforkdata),
|
| test_compileall.py | 6 import struct namespace 31 compare = struct.pack('<4sl', imp.get_magic(), mtime) 52 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
|
| test_strtod.py | 5 import struct namespace
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
| util.py | 229 import struct namespace 230 if struct.calcsize('l') == 4:
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_applesingle.py | 6 import struct namespace 17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \ 18 struct.pack(">llllll", 1, 50, len(dataforkdata),
|
| test_compileall.py | 6 import struct namespace 31 compare = struct.pack('<4sl', imp.get_magic(), mtime) 52 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
|
| test_strtod.py | 5 import struct namespace
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
| util.py | 229 import struct namespace 230 if struct.calcsize('l') == 4:
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_applesingle.py | 6 import struct namespace 17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \ 18 struct.pack(">llllll", 1, 50, len(dataforkdata),
|
| test_compileall.py | 6 import struct namespace 31 compare = struct.pack('<4sl', imp.get_magic(), mtime) 52 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
|
| test_strtod.py | 5 import struct namespace
|
| /system/bt/tools/scripts/ |
| btsnooz.py | 27 import struct namespace 72 version, last_timestamp_ms = struct.unpack_from('=bQ', snooz) 98 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset) 105 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset) 108 sys.stdout.write(struct.pack('>II', length, length)) 109 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0)) 110 sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF))) 125 length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset) 132 length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset) 135 sys.stdout.write(struct.pack('>II', packet_length, length) [all...] |
| /system/core/adb/ |
| test_adb.py | 28 import struct namespace 154 struct.pack(linger_format, l_onoff, l_linger)) 158 struct.unpack_from(linger_format, linger))
|
| /build/tools/ |
| merge-event-log-tags.py | 33 import struct namespace 148 return struct.unpack("!I", d)[0]
|
| /device/huawei/angler/ |
| releasetools.py | 18 import struct namespace 31 # typedef struct meta_header { 40 # typedef struct img_header_entry { 60 num_imgs_fmt = struct.Struct("<IHH64sHH") 68 img_info_size = struct.calcsize(img_info_format) 72 struct.unpack(
|
| /device/linaro/hikey/l-loader/ |
| gen_loader.py | 7 import struct namespace 12 # struct l_loader_head { 21 # struct entry_head { 71 data = struct.unpack("8s", fptable.read(8)) 80 data = struct.unpack("QQQQ", fptable.read(32)) 85 data = struct.unpack("i", fptable.read(4)) 92 d0,lba,d2,name = struct.unpack("32sQ16s72s", fptable.read(128)) 123 zero = struct.pack('x') 157 zero = struct.pack('x') 163 byte = struct.pack('8s8siii', 'ENTRYHDR', self.s1_entry_name[self.idx], lba, blocks, bootp [all...] |
| /device/moto/shamu/ |
| releasetools.py | 2 import struct namespace 17 # struct packed_images_header { 19 # struct { 41 num_imgs_size = struct.calcsize(num_imgs_fmt) 42 num_imgs, = struct.unpack(num_imgs_fmt, data[:num_imgs_size]) 45 img_info_size = struct.calcsize(img_info_format) 47 imgs = [ struct.unpack(img_info_format, data[num_imgs_size + i*img_info_size:num_imgs_size + (i+1)*img_info_size]) for i in range(num_imgs) ] 50 magic_size = struct.calcsize(magic_format) 51 magic, = struct.unpack(magic_format, data[num_imgs_size + NUM_MAX_IMAGES*img_info_size:num_imgs_size + NUM_MAX_IMAGES*img_info_size + magic_size])
|