Home
last modified time | relevance | path

Searched refs:dots (Results 1 – 5 of 5) sorted by relevance

/system/netd/resolv/
Dres_query.cpp213 u_int dots; in res_nsearch() local
222 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()
Dres_init.cpp136 int dots; in res_vinit() local
179 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()
Dgetaddrinfo.cpp1671 u_int dots; in res_searchN() local
1682 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()
/system/core/base/
Dparsenetaddress.cpp34 size_t dots = std::count(address.begin(), address.end(), '.'); in ParseNetAddress() local
45 } else if (dots == 0 && colons >= 2 && colons <= 7) { in ParseNetAddress()
/system/extras/brillo_config/
DAndroid.mk55 four numbers separated by dots. Example: "1.2.0.0")
76 three numbers separated by dots. Example: "1.2.0")