Searched refs:dots (Results 1 – 5 of 5) sorted by relevance
213 u_int dots; in res_nsearch() local222 dots = 0; in res_nsearch()223 for (cp = name; *cp != '\0'; cp++) dots += (*cp == '.'); in res_nsearch()233 if (dots >= statp->ndots || trailing_dot) { in res_nsearch()246 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) || in res_nsearch()247 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) { in res_nsearch()316 if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0U) && in res_nsearch()
136 int dots; in res_vinit() local179 dots = 0; in res_vinit()180 for (cp = statp->defdname; *cp; cp++) dots += (*cp == '.'); in res_vinit()184 if (dots < LOCALDOMAINPARTS) break; in res_vinit()187 dots--; in res_vinit()
1671 u_int dots; in res_searchN() local1682 dots = 0; in res_searchN()1683 for (cp = name; *cp; cp++) dots += (*cp == '.'); in res_searchN()1692 if (dots >= res->ndots) { in res_searchN()1705 if ((!dots && (res->options & RES_DEFNAMES)) || in res_searchN()1706 (dots && !trailing_dot && (res->options & RES_DNSRCH))) { in res_searchN()
34 size_t dots = std::count(address.begin(), address.end(), '.'); in ParseNetAddress() local45 } else if (dots == 0 && colons >= 2 && colons <= 7) { in ParseNetAddress()
55 four numbers separated by dots. Example: "1.2.0.0")76 three numbers separated by dots. Example: "1.2.0")