Searched refs:lengthDiff (Results 1 – 2 of 2) sorted by relevance
294 int lengthDiff = host.length() - domainLength; in netscapeDomainMatches() local295 if (lengthDiff == 0) { in netscapeDomainMatches()298 } else if (lengthDiff > 0) { in netscapeDomainMatches()300 String D = host.substring(lengthDiff); in netscapeDomainMatches()311 } else if (lengthDiff == -1) { in netscapeDomainMatches()
684 int lengthDiff = host.length() - domainLength; in domainMatches() local685 if (lengthDiff == 0) { in domainMatches()689 else if (lengthDiff > 0) { in domainMatches()691 String H = host.substring(0, lengthDiff); in domainMatches()692 String D = host.substring(lengthDiff); in domainMatches()702 else if (lengthDiff == -1) { in domainMatches()