Home
last modified time | relevance | path

Searched refs:dcount (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
DResolverController.cpp113 int dcount = -1; in getDnsInfo() local
122 netId, &nscount, res_servers, &dcount, res_domains, params, res_stats, in getDnsInfo()
132 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
133 LOG(ERROR) << __func__ << ": nscount = " << nscount << ", dcount = " << dcount; in getDnsInfo()
165 for (int i = 0; i < dcount; ++i) { in getDnsInfo()
Dresolv_cache_unit_test.cpp219 int dcount = -1; in expectCacheStats() local
224 android_net_res_stats_get_info_for_net(netId, &nscount, servers, &dcount, domains, &params, in expectCacheStats()
234 EXPECT_EQ(dcount, static_cast<int>(expected.setup.domains.size())) << msg; in expectCacheStats()
235 for (int i = 0; i < dcount; i++) { in expectCacheStats()
Dstats.h50 sockaddr_storage servers[MAXNS], int* dcount,
Dres_cache.cpp1722 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net() argument
1747 *dcount = static_cast<int>(info->search_domains.size()); in android_net_res_stats_get_info_for_net()