Lines Matching refs:longestMatching
491 string longestMatching; in TryFindPeripheralTypeByName()
494 var ret = currentMachine.TryGetByName(name, out peripheral, out longestMatching); in TryFindPeripheralTypeByName()
495 longestMatch = longestMatching; in TryFindPeripheralTypeByName()
502 … if(longestMatching.Split('.').Length < currentMatch.Split('.').Length - prefix.Split('.').Length) in TryFindPeripheralTypeByName()
504 longestMatching = currentMatch; in TryFindPeripheralTypeByName()
514 longestMatch = longestPrefix + longestMatching; in TryFindPeripheralTypeByName()
532 string longestMatching; in TryFindPeripheralByName()
535 var ret = currentMachine.TryGetByName(name, out peripheral, out longestMatching); in TryFindPeripheralByName()
536 longestMatch = longestMatching; in TryFindPeripheralByName()
543 … if(longestMatching.Split('.').Length < currentMatch.Split('.').Length - prefix.Split('.').Length) in TryFindPeripheralByName()
545 longestMatching = currentMatch; in TryFindPeripheralByName()
554 longestMatch = longestPrefix + longestMatching; in TryFindPeripheralByName()