Home
last modified time | relevance | path

Searched refs:_find_mac_near_keyword (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/
Duuid.py404 def _find_mac_near_keyword(command, args, keywords, get_word_index): function
510 mac = _find_mac_near_keyword('ifconfig', args, keywords, lambda i: i+1)
518 mac = _find_mac_near_keyword('ip', 'link', [b'link/ether'], lambda i: i+1)
532 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: -1)
537 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode(ip_addr)], lambda i: i+1)
542 mac = _find_mac_near_keyword('arp', '-an', [os.fsencode('(%s)' % ip_addr)],
552 return _find_mac_near_keyword('lanscan', '-ai', [b'lan0'], lambda i: 0)
/external/python/cpython3/Lib/test/
Dtest_uuid.py807 mac = self.uuid._find_mac_near_keyword(