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

/system/core/libsparse/
H A Dsimg_dump.py23 import struct namespace
77 header = struct.unpack("<I4H4I", header_bin)
126 header = struct.unpack("<2H2I", header_bin)
158 fill = struct.unpack("<I", fill_bin)
179 crc = struct.unpack("<I", crc_bin)
189 header = struct.unpack("<12B", header_bin)
/system/bt/tools/scripts/
H A Dbtsnooz.py27 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
[all...]
/system/core/adb/
H A Dtest_adb.py28 import struct namespace
154 struct.pack(linger_format, l_onoff, l_linger))
158 struct.unpack_from(linger_format, linger))
/system/extras/verity/
H A Dbuild_verity_metadata.py20 import struct namespace
42 block = struct.pack("II256sI", MAGIC_NUMBER, VERSION, signature, table_len)
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py44 import struct namespace
/system/update_engine/scripts/update_payload/
H A Dpayload.py10 import struct namespace
42 return struct.unpack(common.IntPackingFmtStr(size, is_unsigned),
53 """Update payload header struct."""
H A Dtest_utils.py12 import struct namespace
60 file_obj.write(struct.pack(common.IntPackingFmtStr(size, is_unsigned), val))

Completed in 589 milliseconds