Home
last modified time | relevance | path

Searched refs:getaddrinfo (Results 1 – 15 of 15) sorted by relevance

/system/netd/tests/benchmarks/
Ddns_benchmark.cpp91 if (getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result)) { in benchmark()
104 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo)(benchmark::State& state) { in BENCHMARK_DEFINE_F() argument
107 BENCHMARK_REGISTER_F(DnsFixture, getaddrinfo)
DREADME.md59 ## getaddrinfo()
/system/netd/tests/
Dnetd_client_test.cpp73 EXPECT_EQ(0, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectHasNetworking()
96 EXPECT_EQ(EAI_NODATA, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectNoNetworking()
Dbinder_test.cpp810 int ret = getaddrinfo(kLinkLocalAddress, nullptr, &hints, &addrinfoList); in TEST_F()
899 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()
/system/core/libcutils/
Dsocket_network_client_windows.cpp46 if (getaddrinfo(host, port_str, &hints, &address) != 0 || address == NULL) { in socket_network_client()
Dsocket_network_client_unix.cpp57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
/system/extras/multinetwork/
Ddnschk.cpp73 rval = getaddrinfo(name.c_str(), nullptr, &hints, &result); in main()
Dhttpurl.cpp125 rval = getaddrinfo(parameters->hostname.c_str(), in resolveHostname()
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp98 int ret = getaddrinfo(addrStr, "53", &hints, &ai); in checkReachability()
/system/netd/server/
DNetdConstants.cpp108 int ret = getaddrinfo(addressString.c_str(), nullptr, &hints, &res); in parsePrefix()
DSockDiagTest.cpp219 EXPECT_EQ(0, getaddrinfo(srcstr, nullptr, &hints, &src)); in makeDiagMessage()
220 EXPECT_EQ(0, getaddrinfo(dststr, nullptr, &hints, &dst)); in makeDiagMessage()
DSockDiag.cpp157 int ret = getaddrinfo(addrstr, nullptr, &hints, &res); in sendDumpRequest()
DTetherController.cpp387 int ret = getaddrinfo(servers[i], nullptr, &hints, &res); in setDnsForwarders()
/system/netd/libnetdutils/
DInternetAddresses.cpp65 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
/system/core/libnetutils/
Difc_utils.c112 ret = getaddrinfo(string, NULL, &hints, &ai); in string_to_ip()