Home
last modified time | relevance | path

Searched refs:lengthDiff (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java294 int lengthDiff = host.length() - domainLength; in netscapeDomainMatches() local
295 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()
DHttpCookie.java684 int lengthDiff = host.length() - domainLength; in domainMatches() local
685 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()