Lines Matching refs:struct
19 import struct
198 one_arg = struct.unpack_from(unpack_fmt, arg_list, arg_offset)[0]
270 domain_lvl, pkg_len, data_len, source_id = struct.unpack_from(self.fmt_msg_hdr,
272 offset += struct.calcsize(self.fmt_msg_hdr)
274 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
275 offset += struct.calcsize(self.fmt_msg_timestamp)
292 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
300 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
303 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
307 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
326 fmt_str_ptr = struct.unpack_from(self.data_types.get_formatter(DataTypes.PTR),
363 msg_type = struct.unpack_from(self.fmt_msg_type, logdata, offset)[0]
364 offset += struct.calcsize(self.fmt_msg_type)
367 num_dropped = struct.unpack_from(self.fmt_dropped_cnt, logdata, offset)
368 offset += struct.calcsize(self.fmt_dropped_cnt)