Searched refs:domainParts (Results 1 – 4 of 4) sorted by relevance
60 int domainParts = new StringTokenizer(domain, ".").countTokens(); in validate() local63 if (domainParts < 2) { in validate()70 if (domainParts < 3) { in validate()
1070 String[] domainParts = Strings.split(tempDomain, '.'); in withinDomain() local1073 if (testDomainParts.length <= domainParts.length) in withinDomain()1077 int d = testDomainParts.length - domainParts.length; in withinDomain()1078 for (int i = -1; i < domainParts.length; i++) in withinDomain()1087 else if (!domainParts[i].equalsIgnoreCase(testDomainParts[i + d])) in withinDomain()
1066 String[] domainParts = Strings.split(tempDomain, '.'); in withinDomain() local1069 if (testDomainParts.length <= domainParts.length) in withinDomain()1073 int d = testDomainParts.length - domainParts.length; in withinDomain()1074 for (int i = -1; i < domainParts.length; i++) in withinDomain()1083 else if (!domainParts[i].equalsIgnoreCase(testDomainParts[i + d])) in withinDomain()