Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DResolverController.cpp95 int dcount = -1; in getDnsInfo() local
104 netId, &nscount, res_servers, &dcount, res_domains, params, res_stats, in getDnsInfo()
114 if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) { in getDnsInfo()
115 LOG(ERROR) << __func__ << ": nscount = " << nscount << ", dcount = " << dcount; in getDnsInfo()
147 for (int i = 0; i < dcount; ++i) { in getDnsInfo()
Dstats.h50 sockaddr_storage servers[MAXNS], int* dcount,
Dres_cache.cpp1759 struct sockaddr_storage servers[MAXNS], int* dcount, in android_net_res_stats_get_info_for_net() argument
1784 *dcount = static_cast<int>(info->search_domains.size()); in android_net_res_stats_get_info_for_net()
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp218 int dcount = -1; in expectCacheStats() local
223 android_net_res_stats_get_info_for_net(netId, &nscount, servers, &dcount, domains, &params, in expectCacheStats()
233 EXPECT_EQ(dcount, static_cast<int>(expected.setup.domains.size())) << msg; in expectCacheStats()
234 for (int i = 0; i < dcount; i++) { in expectCacheStats()