/system/core/libcutils/ |
D | socket_network_client_windows.cpp | 39 struct addrinfo hints; in socket_network_client() local 40 memset(&hints, 0, sizeof(hints)); in socket_network_client() 41 hints.ai_socktype = type; in socket_network_client() 46 if (getaddrinfo(host, port_str, &hints, &address) != 0 || address == NULL) { in socket_network_client()
|
D | socket_network_client_unix.cpp | 48 struct addrinfo hints; in socket_network_client_timeout() local 49 memset(&hints, 0, sizeof(hints)); in socket_network_client_timeout() 50 hints.ai_family = AF_UNSPEC; in socket_network_client_timeout() 51 hints.ai_socktype = type; in socket_network_client_timeout() 57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
|
/system/netd/tests/ |
D | netd_client_test.cpp | 69 const addrinfo hints = { in expectHasNetworking() local 73 EXPECT_EQ(0, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectHasNetworking() 92 const addrinfo hints = { in expectNoNetworking() local 96 EXPECT_EQ(EAI_NODATA, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectNoNetworking()
|
D | binder_test.cpp | 742 const struct addrinfo hints = { in interfaceHasAddress() local 747 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()
|
/system/extras/multinetwork/ |
D | dnschk.cpp | 38 const struct addrinfo hints = { in main() local 51 args.arg1, nullptr, &hints, &result); in main() 62 rval = getaddrinfo(args.arg1, nullptr, &hints, &result); in main()
|
D | httpurl.cpp | 98 struct addrinfo hints = { in parseUrl() local 110 &hints, &result); in parseUrl() 115 &hints, &result); in parseUrl()
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 97 addrinfo *ai, hints = {.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in checkReachability() local 98 int ret = getaddrinfo(addrStr, "53", &hints, &ai); in checkReachability()
|
/system/extras/libperfmgr/tests/ |
D | HintManagerTest.cc | 207 std::vector<std::string> hints = hm.GetHints(); in TEST_F() local 209 EXPECT_EQ(2u, hints.size()); in TEST_F() 210 EXPECT_NE(std::find(hints.begin(), hints.end(), "INTERACTION"), hints.end()); in TEST_F() 211 EXPECT_NE(std::find(hints.begin(), hints.end(), "LAUNCH"), hints.end()); in TEST_F()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 100 struct addrinfo hints, *ai; in string_to_ip() local 107 memset(&hints, 0, sizeof(hints)); in string_to_ip() 108 hints.ai_family = AF_UNSPEC; in string_to_ip() 109 hints.ai_flags = AI_NUMERICHOST; in string_to_ip() 110 hints.ai_socktype = SOCK_DGRAM; in string_to_ip() 112 ret = getaddrinfo(string, NULL, &hints, &ai); in string_to_ip()
|
/system/extras/libperfmgr/tools/ |
D | ConfigVerifier.cc | 92 std::vector<std::string> hints = hm->GetHints(); in execConfig() local 93 for (const auto& hint : hints) { in execConfig()
|
/system/netd/server/ |
D | NetdConstants.cpp | 104 addrinfo hints = { in parsePrefix() local 107 int ret = getaddrinfo(addressString.c_str(), nullptr, &hints, &res); in parsePrefix()
|
D | SockDiagTest.cpp | 218 addrinfo hints = { .ai_flags = AI_NUMERICHOST }, *src, *dst; in makeDiagMessage() local 219 EXPECT_EQ(0, getaddrinfo(srcstr, nullptr, &hints, &src)); in makeDiagMessage() 220 EXPECT_EQ(0, getaddrinfo(dststr, nullptr, &hints, &dst)); in makeDiagMessage()
|
D | SockDiag.cpp | 139 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest() local 145 int ret = getaddrinfo(addrstr, nullptr, &hints, &res); in sendDumpRequest()
|
D | TetherController.cpp | 413 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders() local 414 int ret = getaddrinfo(servers[i], nullptr, &hints, &res); in setDnsForwarders()
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 61 const addrinfo hints = { in forString() local 65 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
|
/system/extras/libperfmgr/ |
D | HintManager.cc | 80 std::vector<std::string> hints; in GetHints() local 82 hints.push_back(action.first); in GetHints() 84 return hints; in GetHints()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 940 struct addrinfo hints; in network_connect() local 941 memset(&hints, 0, sizeof(hints)); in network_connect() 942 hints.ai_family = AF_UNSPEC; in network_connect() 943 hints.ai_socktype = type; in network_connect() 944 hints.ai_protocol = GetSocketProtocolFromSocketType(type); in network_connect() 958 if (getaddrinfo(host.c_str(), port_str, &hints, &addrinfo_ptr) != 0) { in network_connect()
|
/system/update_engine/ |
D | README.md | 191 updates (by carrying marker hints). They may decide to not provide an update if
|