Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_query.c231 u_int dots; in res_nsearch() local
240 dots = 0; in res_nsearch()
242 dots += (*cp == '.'); in res_nsearch()
248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL) in res_nsearch()
257 if (dots >= statp->ndots || trailing_dot) { in res_nsearch()
272 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) || in res_nsearch()
273 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) { in res_nsearch()
349 if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0U) && in res_nsearch()
Dres_init.c187 int dots; in __res_vinit() local
460 dots = 0; in __res_vinit()
462 dots += (*cp == '.'); in __res_vinit()
466 if (dots < LOCALDOMAINPARTS) in __res_vinit()
470 dots--; in __res_vinit()
/bionic/libc/dns/net/
Dgetaddrinfo.c2285 u_int dots; in res_searchN() local
2296 dots = 0; in res_searchN()
2298 dots += (*cp == '.'); in res_searchN()
2309 if (!dots && (cp = __hostalias(name)) != NULL) { in res_searchN()
2319 if (dots >= res->ndots) { in res_searchN()
2333 if ((!dots && (res->options & RES_DEFNAMES)) || in res_searchN()
2334 (dots && !trailing_dot && (res->options & RES_DNSRCH))) { in res_searchN()