Searched refs:domainParts (Results 1 – 3 of 3) sorted by relevance
60 int domainParts = new StringTokenizer(domain, ".").countTokens(); in validate() local63 if (domainParts < 2) { in validate()70 if (domainParts < 3) { in validate()
936 String[] domainParts = Strings.split(tempDomain, '.'); in withinDomain() local939 if (testDomainParts.length <= domainParts.length) in withinDomain()943 int d = testDomainParts.length - domainParts.length; in withinDomain()944 for (int i = -1; i < domainParts.length; i++) in withinDomain()953 else if (!domainParts[i].equalsIgnoreCase(testDomainParts[i + d])) in withinDomain()
673 String[] domainParts = Strings.split(tempDomain, '.'); in withinDomain() local676 if (testDomainParts.length <= domainParts.length) in withinDomain()680 int d = testDomainParts.length - domainParts.length; in withinDomain()681 for (int i = -1; i < domainParts.length; i++) in withinDomain()690 else if (!domainParts[i].equalsIgnoreCase(testDomainParts[i + d])) in withinDomain()