Home
last modified time | relevance | path

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

/system/netd/tests/benchmarks/
Ddns_benchmark.cpp92 if (getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result)) { in benchmark()
105 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo)(benchmark::State& state) { in BENCHMARK_DEFINE_F() argument
108 BENCHMARK_REGISTER_F(DnsFixture, getaddrinfo)
DREADME.md59 ## getaddrinfo()
/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.cpp62 rval = getaddrinfo(args.arg1, nullptr, &hints, &result); in main()
Dhttpurl.cpp113 rval = getaddrinfo(parameters->hostname.c_str(), in parseUrl()
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp98 int ret = getaddrinfo(addrStr, "53", &hints, &ai); in checkReachability()
/system/netd/libnetdutils/
DInternetAddresses.cpp63 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
/system/netd/server/
DNetdConstants.cpp108 int ret = getaddrinfo(addressString.c_str(), nullptr, &hints, &res); in parsePrefix()
DSockDiagTest.cpp218 EXPECT_EQ(0, getaddrinfo(srcstr, nullptr, &hints, &src)); in makeDiagMessage()
219 EXPECT_EQ(0, getaddrinfo(dststr, nullptr, &hints, &dst)); in makeDiagMessage()
DSockDiag.cpp143 if ((ret = getaddrinfo(addrstr, nullptr, &hints, &res)) != 0) { in sendDumpRequest()
DTetherController.cpp364 int ret = getaddrinfo(servers[i], nullptr, &hints, &res); in setDnsForwarders()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp198 int rv = getaddrinfo(listen_address_.c_str(), listen_service_.c_str(), in startServer()
236 rv = getaddrinfo(backend_address_.c_str(), backend_service_.c_str(), in startServer()
Ddns_responder.cpp598 int rv = getaddrinfo(listen_address_.c_str(), listen_service_.c_str(), in startServer()
/system/netd/resolv/
DAndroid.bp50 "getaddrinfo.cpp",
DPrivateDnsConfiguration.cpp45 int err = getaddrinfo(server, "853", &hints, &res); in parseServer()
Dstats.proto219 * invoking native APIs such as getaddrinfo() or Java APIs such as Network#getAllByName().
Ddnsresolver_binder_test.cpp211 int status = getaddrinfo(config.hostname.c_str(), nullptr, &hints, &result); in TEST_F()
Dresolver_test.cpp90 if (getaddrinfo(node, service, hints, &result) != 0) { in safe_getaddrinfo()
249 int rv = getaddrinfo(mapping.host.c_str(), nullptr, nullptr, &result); in RunGetAddrInfoStressTest_Binder()
921 EXPECT_EQ(EAI_NODATA, getaddrinfo(host_name2, nullptr, &hints, &result2)); in TEST_F()
956 int rv = getaddrinfo("konbanha", nullptr, &hints, &result); in TEST_F()
1743 EXPECT_NE(0, getaddrinfo(host_name, nullptr, nullptr, &ai_result)); in TEST_F()
/system/core/libnetutils/
Difc_utils.c112 ret = getaddrinfo(string, NULL, &hints, &ai); in string_to_ip()
/system/core/adb/
Dsysdeps_win32.cpp920 if (getaddrinfo(host.c_str(), port_str, &hints, &addrinfo_ptr) != 0) { in network_connect()
/system/netd/tests/
Dbinder_test.cpp793 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()