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

/barrelfish-master/lib/libc/resolv/
H A Dres_query.c221 u_int dots; local
229 dots = 0;
231 dots += (*cp == '.');
236 /* If there aren't any dots, it could be a user-level alias. */
237 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
241 * If there are enough dots in the name, let's just give it a
246 if (dots >= statp->ndots || trailing_dot) {
276 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
277 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) {
374 * unless RES_NOTLDQUERY is set and there were no dots
[all...]
H A Dres_init.c184 int dots; local
564 dots = 0;
566 dots += (*cp == '.');
570 if (dots < LOCALDOMAINPARTS)
574 dots--;
/barrelfish-master/lib/libc/net/
H A Dgetaddrinfo.c2831 u_int dots; local
2840 dots = 0;
2842 dots += (*cp == '.');
2848 * if there aren't any dots, it could be a user-level alias
2850 if (!dots &&
2855 * If there are enough dots in the name, let's just give it a
2860 if (dots >= res->ndots || trailing_dot) {
2889 if ((!dots && (res->options & RES_DEFNAMES)) ||
2890 (dots && !trailing_dot && (res->options & RES_DNSRCH))) {
2968 * unless RES_NOTLDQUERY is set and there were no dots
[all...]

Completed in 43 milliseconds