Searched refs:dots (Results 1 – 3 of 3) sorted by relevance
231 u_int dots; in res_nsearch() local240 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()
188 int dots; in __res_vinit() local459 dots = 0; in __res_vinit()461 dots += (*cp == '.'); in __res_vinit()465 if (dots < LOCALDOMAINPARTS) in __res_vinit()469 dots--; in __res_vinit()
2246 u_int dots; in res_searchN() local2257 dots = 0; in res_searchN()2259 dots += (*cp == '.'); in res_searchN()2270 if (!dots && (cp = __hostalias(name)) != NULL) { in res_searchN()2280 if (dots >= res->ndots) { in res_searchN()2294 if ((!dots && (res->options & RES_DEFNAMES)) || in res_searchN()2295 (dots && !trailing_dot && (res->options & RES_DNSRCH))) { in res_searchN()