Lines Matching refs:int
50 self.extaddrs = {int(k): ExtAddr(v) for k, v in test_info.get('extaddrs', {}).items()}
51 self.ethaddrs = {int(k): EthAddr(v) for k, v in test_info.get('ethaddrs', {}).items()}
52 … self.ipaddrs = {int(k): [Ipv6Addr(x) for x in l] for k, l in test_info.get('ipaddrs', {}).items()}
53 self.mleids = {int(k): Ipv6Addr(v) for k, v in test_info.get('mleids', {}).items()}
54 self.rlocs = {int(k): Ipv6Addr(v) for k, v in test_info.get('rlocs', {}).items()}
56 … self.omrs = {int(k): [Ipv6Addr(x) for x in l] for k, l in test_info.get('omrs', {}).items()}
57 self.duas = {int(k): Ipv6Addr(v) for k, v in test_info.get('duas', {}).items()}
77 def _convert_keys_to_ints(d: Dict[str, any]) -> Dict[int, any]:
78 return {int(k): v for k, v in d.items()}
81 def _convert_hex_values(d: Dict[any, str]) -> Dict[any, int]:
82 return {k: int(v, 16) for k, v in d.items()}
84 def get_node_name(self, node_id: int) -> str: argument