Searched refs:bestLength (Results 1 – 2 of 2) sorted by relevance
250 int bestLength = -1;256 if (length >= bestLength) {258 bestLength = length;265 return name.substring(bestPos, bestLength);
495 int bestLength = -1; in matchLabelsAgainstElement() local501 if (length >= bestLength) { in matchLabelsAgainstElement()503 bestLength = length; in matchLabelsAgainstElement()510 return name.substring(bestPos, bestLength); in matchLabelsAgainstElement()