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

/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_query.c219 u_int dots; local
227 dots = 0;
229 dots += (*cp == '.');
234 /* If there aren't any dots, it could be a user-level alias. */
235 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
239 * If there are enough dots in the name, let's just give it a
244 if (dots >= statp->ndots || trailing_dot) {
259 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
260 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) {
325 * unless RES_NOTLDQUERY is set and there were no dots
[all...]
H A Dres_init.c189 int dots; local
506 dots = 0;
508 dots += (*cp == '.');
512 if (dots < LOCALDOMAINPARTS)
516 dots--;
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c2711 u_int dots; local
2723 dots = 0;
2725 dots += (*cp == '.');
2731 * if there aren't any dots, it could be a user-level alias
2733 if (!dots && (cp = res_hostalias(res, name, buf, sizeof(buf))) != NULL) {
2739 * If there are dots in the name already, let's just give it a try
2743 if (dots >= res->ndots) {
2757 if ((!dots && (res->options & RES_DEFNAMES)) ||
2758 (dots && !trailing_dot && (res->options & RES_DNSRCH))) {
2816 * note that we do this regardless of how many dots wer
[all...]

Completed in 103 milliseconds