Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_data.c313 int len_host, len_domain; in local_hostname_length() local
318 len_domain = strlen(_nres.defdname); in local_hostname_length()
319 if (len_host > len_domain && in local_hostname_length()
320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()
321 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
322 return (len_host - len_domain - 1); in local_hostname_length()