Lines Matching refs: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
492 decoded = attr.as_struct(members)
495 decoded[m.name] = self._decode_enum(decoded[m.name], m)
497 decoded = attr.as_c_array(attr_spec.sub_type)
499 decoded = attr.as_bin()
501 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint)
502 return decoded
505 decoded = []
512 decoded.append({ item.type: subattrs })
513 return decoded
525 decoded = subdict
527 decoded = attr.as_strz()
529 decoded = self._decode_binary(attr, attr_spec)
531 decoded = True
533 decoded = attr.as_scalar(attr_spec['type'], attr_spec.byte_order)
535 decoded = self._decode_array_nest(attr, attr_spec)
540 decoded = self._decode_enum(decoded, attr_spec)
543 rsp[attr_spec['name']] = decoded
545 rsp[attr_spec.name].append(decoded)
547 rsp[attr_spec.name] = [decoded]
613 def handle_ntf(self, decoded):
616 msg['raw'] = decoded
617 op = self.rsp_by_value[decoded.cmd()]
618 attrs = self._decode(decoded.raw_attrs, op.attr_set.name)
620 attrs.update(self._decode_fixed_header(decoded, op.fixed_header))
643 decoded = self.nlproto.decode(self, nl_msg)
644 if decoded.cmd() not in self.async_msg_ids:
645 print("Unexpected msg id done while checking for ntf", decoded)
648 self.handle_ntf(decoded)
703 decoded = self.nlproto.decode(self, nl_msg)
706 if nl_msg.nl_seq != req_seq or decoded.cmd() != op.rsp_value:
707 if decoded.cmd() in self.async_msg_ids:
708 self.handle_ntf(decoded)
711 print('Unexpected message: ' + repr(decoded))
714 rsp_msg = self._decode(decoded.raw_attrs, op.attr_set.name)
716 rsp_msg.update(self._decode_fixed_header(decoded, op.fixed_header))