Lines Matching defs:struct
7 import struct
58 dt_struct (bytes): Devicetree struct section
76 (tag,) = struct.unpack('>I', dt_struct[offset:offset + 4])
101 len_tag, nameoff = struct.unpack('>II',
140 dt_struct (bytes): Devicetree struct section
172 dt_struct (bytes): Devicetree struct section
181 (len_tag, nameoff) = struct.unpack('>II',
189 added_data = struct.pack('>II', len(content), nameoff)
205 dt_struct (bytes): Devicetree struct section
231 dt_struct (bytes): Devicetree struct section
255 dt_struct (bytes): Devicetree struct section
270 (len_tag,) = struct.unpack('>I', dt_struct[offset:offset + 4])
431 magic = struct.unpack('>I', hdr[offset:offset + 4])[0]
438 size_dt_struct) = struct.unpack('>IIIIIIIII', hdr[offset:offset + 36])
467 header = struct.pack('>IIIIIIIIII', MAGIC, totalsize, off_dt_struct,