Lines Matching refs:a
55 ns_samedomain(const char *a, const char *b) { in ns_samedomain() argument
60 la = strlen(a); in ns_samedomain()
64 if (la != 0U && a[la - 1] == '.') { in ns_samedomain()
68 if (a[i - 1] == '\\') { in ns_samedomain()
105 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
124 if (a[diff - 1] != '.') in ns_samedomain()
133 if (a[i - 1] == '\\') { in ns_samedomain()
144 cp = a + diff; in ns_samedomain()
152 ns_subdomain(const char *a, const char *b) { in ns_subdomain() argument
153 return (ns_samename(a, b) != 1 && ns_samedomain(a, b)); in ns_subdomain()
199 ns_samename(const char *a, const char *b) { in ns_samename() argument
202 if (ns_makecanon(a, ta, sizeof ta) < 0 || in ns_samename()