Home
last modified time | relevance | path

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

/external/cronet/net/dns/public/
Dresolv_reader.cc53 static_assert(std::extent<decltype(res.nsaddr_list)>() >= MAXNS && in GetNameservers()
64 if (res.nsaddr_list[i].sin_family) { // The indicator used by res_nsend. in GetNameservers()
65 addr = reinterpret_cast<const struct sockaddr*>(&res.nsaddr_list[i]); in GetNameservers()
66 addr_len = sizeof res.nsaddr_list[i]; in GetNameservers()
83 reinterpret_cast<const struct sockaddr*>(&res.nsaddr_list[i]), in GetNameservers()
84 sizeof res.nsaddr_list[i])) { in GetNameservers()
Dresolv_reader_unittest.cc59 res->nsaddr_list[i] = sa; in InitializeResState()
77 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()
/external/cronet/net/dns/
Ddns_config_service_posix_unittest.cc83 res->nsaddr_list[i] = sa; in InitializeResState()
100 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()
180 res.nsaddr_list[0] = sa; in TEST()
182 res.nsaddr_list[1] = sa; in TEST()
188 res.nsaddr_list[0] = sa; in TEST()
Ddns_config_service_linux_unittest.cc89 res->nsaddr_list[i] = sa; in InitializeResState()
106 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()
358 res->nsaddr_list[0] = sa; in TEST_F()
360 res->nsaddr_list[1] = sa; in TEST_F()
386 res->nsaddr_list[0] = sa; in TEST_F()
388 res->nsaddr_list[1] = sa; in TEST_F()
982 res->nsaddr_list[0] = sa; in TEST_F()
/external/musl/include/
Dresolv.h31 struct sockaddr_in nsaddr_list[MAXNS]; member
32 # define nsaddr nsaddr_list[0]