Lines Matching refs:MAXNS
1030 res_stats nsstats[MAXNS]{};
1580 if (res.size() > MAXNS) { in filter_nameservers()
1582 res.resize(MAXNS); in filter_nameservers()
1746 for (int i = 0; i < MAXNS; ++i) { in res_cache_clear_stats_locked()
1759 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net() argument
1761 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net() argument
1768 if (num > MAXNS) { in android_net_res_stats_get_info_for_net()
1769 LOG(INFO) << __func__ << ": nscount " << num << " > MAXNS " << MAXNS; in android_net_res_stats_get_info_for_net()
1827 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS], in resolv_cache_get_resolver_stats() argument
1836 if (j >= MAXNS) { in resolv_cache_get_resolver_stats()
1865 const int serverNum = std::min(MAXNS, static_cast<int>(info->nameserverSockAddrs.size())); in resolv_cache_add_resolver_stats_sample()