Lines Matching refs:struct
16 import struct
193 one_arg = struct.unpack_from(unpack_fmt, arg_list, arg_offset)[0]
265 log_desc, source_id = struct.unpack_from(self.fmt_msg_hdr, logdata, offset)
266 offset += struct.calcsize(self.fmt_msg_hdr)
268 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
269 offset += struct.calcsize(self.fmt_msg_timestamp)
284 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
292 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
295 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
299 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
318 fmt_str_ptr = struct.unpack_from(self.data_types.get_formatter(DataTypes.PTR),
354 msg_type = struct.unpack_from(self.fmt_msg_type, logdata, offset)[0]
355 offset += struct.calcsize(self.fmt_msg_type)
358 num_dropped = struct.unpack_from(self.fmt_dropped_cnt, logdata, offset)
359 offset += struct.calcsize(self.fmt_dropped_cnt)