Searched refs:lengthDiff (Results 1 – 2 of 2) sorted by relevance
246 int lengthDiff = host.length() - domainLength; in netscapeDomainMatches() local247 if (lengthDiff == 0) { in netscapeDomainMatches()250 } else if (lengthDiff > 0) { in netscapeDomainMatches()252 String D = host.substring(lengthDiff); in netscapeDomainMatches()262 } else if (lengthDiff == -1) { in netscapeDomainMatches()
693 int lengthDiff = host.length() - domainLength; in domainMatches() local694 if (lengthDiff == 0) { in domainMatches()698 else if (lengthDiff > 0) { in domainMatches()700 String H = host.substring(0, lengthDiff); in domainMatches()701 String D = host.substring(lengthDiff); in domainMatches()709 else if (lengthDiff == -1) { in domainMatches()