Searched refs:device_match (Results 1 – 5 of 5) sorted by relevance
68 device_match = _DEVICE_TYPE_REGEX.match(name)70 if device_match:71 device_type = device_match.group(1)
21 const char* device_match = argc > 2 ? argv[2] : ""; in main() local37 cl(FindIdsByName(platform_match, device_match, in main()
51 device_match = DEVICE_TYPE_REGEX.match(name)52 if device_match:53 device_type = device_match.group(1)
277 for (const auto& device_match : in TryFindHostDevice()281 strings::StrCat(device.substr(0, device.rfind(device_match.first)), in TryFindHostDevice()282 device_match.second); in TryFindHostDevice()
454 device_match = _DEVICE_NUM_REGEX.match(line)457 if device_match and device_num is None:458 device_num = int(device_match.group(1))