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

/bionic/libc/dns/resolv/
H A Dres_query.c231 u_int dots; local
240 dots = 0;
242 dots += (*cp == '.');
247 /* If there aren't any dots, it could be a user-level alias. */
248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
252 * If there are enough dots in the name, let's just give it a
257 if (dots >= statp->ndots || trailing_dot) {
272 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
273 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) {
347 * unless RES_NOTLDQUERY is set and there were no dots
[all...]
H A Dres_init.c187 int dots; local
460 dots = 0;
462 dots += (*cp == '.');
466 if (dots < LOCALDOMAINPARTS)
470 dots--;
/bionic/libc/dns/net/
H A Dgetaddrinfo.c2286 u_int dots; local
2297 dots = 0;
2299 dots += (*cp == '.');
2308 * if there aren't any dots, it could be a user-level alias
2310 if (!dots && (cp = __hostalias(name)) != NULL) {
2316 * If there are dots in the name already, let's just give it a try
2320 if (dots >= res->ndots) {
2334 if ((!dots && (res->options & RES_DEFNAMES)) ||
2335 (dots && !trailing_dot && (res->options & RES_DNSRCH))) {
2399 * note that we do this regardless of how many dots wer
[all...]

Completed in 340 milliseconds