Lines Matching full:decoded

149                 decoded = self.raw[offset:offset+m['len']]
153 [ decoded ] = format.unpack_from(self.raw, offset)
156 decoded = self.formatted_string(decoded, m.display_hint)
157 value[m.name] = decoded
493 decoded = attr.as_struct(members)
496 decoded[m.name] = self._decode_enum(decoded[m.name], m)
498 decoded = attr.as_c_array(attr_spec.sub_type)
500 decoded = attr.as_bin()
502 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint)
503 return decoded
506 decoded = []
513 decoded.append({ item.type: subattrs })
514 return decoded
526 decoded = subdict
528 decoded = attr.as_strz()
530 decoded = self._decode_binary(attr, attr_spec)
532 decoded = True
534 decoded = attr.as_scalar(attr_spec['type'], attr_spec.byte_order)
536 decoded = self._decode_array_nest(attr, attr_spec)
541 decoded = self._decode_enum(decoded, attr_spec)
544 rsp[attr_spec['name']] = decoded
546 rsp[attr_spec.name].append(decoded)
548 rsp[attr_spec.name] = [decoded]
614 def handle_ntf(self, decoded): argument
617 msg['raw'] = decoded
618 op = self.rsp_by_value[decoded.cmd()]
619 attrs = self._decode(decoded.raw_attrs, op.attr_set.name)
621 attrs.update(self._decode_fixed_header(decoded, op.fixed_header))
644 decoded = self.nlproto.decode(self, nl_msg)
645 if decoded.cmd() not in self.async_msg_ids:
646 print("Unexpected msg id done while checking for ntf", decoded)
649 self.handle_ntf(decoded)
704 decoded = self.nlproto.decode(self, nl_msg)
707 if nl_msg.nl_seq != req_seq or decoded.cmd() != op.rsp_value:
708 if decoded.cmd() in self.async_msg_ids:
709 self.handle_ntf(decoded)
712 print('Unexpected message: ' + repr(decoded))
715 rsp_msg = self._decode(decoded.raw_attrs, op.attr_set.name)
717 rsp_msg.update(self._decode_fixed_header(decoded, op.fixed_header))