/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 | 66 const addrinfo hints = { in expectHasNetworking() local 70 EXPECT_EQ(0, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectHasNetworking() 89 const addrinfo hints = { in expectNoNetworking() local 93 EXPECT_EQ(EAI_NODATA, getaddrinfo(TEST_DOMAIN, nullptr, &hints, &result)); in expectNoNetworking()
|
D | binder_test.cpp | 1018 const struct addrinfo hints = { in TEST_F() local 1033 int ret = getaddrinfo(kLinkLocalAddress, nullptr, &hints, &addrinfoList); in TEST_F() 1124 const struct addrinfo hints = { in interfaceHasAddress() local 1129 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress() 5705 const struct addrinfo hints = { in TEST_F() local 5711 int ret = getaddrinfo(v6LinkLocalAddr_2, nullptr, &hints, &addrinfoList); in TEST_F()
|
/system/extras/multinetwork/ |
D | dnschk.cpp | 39 const struct addrinfo hints = { in main() local 62 rval = android_getaddrinfofornetwork(args.nethandle, name.c_str(), nullptr, &hints, in main() 73 rval = getaddrinfo(name.c_str(), nullptr, &hints, &result); in main()
|
D | httpurl.cpp | 110 struct addrinfo hints = { in resolveHostname() local 122 &hints, &result); in resolveHostname() 127 &hints, &result); in resolveHostname()
|
/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/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/netd/server/ |
D | NetdConstants.cpp | 105 addrinfo hints = { in parsePrefix() local 108 int ret = getaddrinfo(addressString.c_str(), nullptr, &hints, &res); in parsePrefix()
|
D | SockDiagTest.cpp | 219 addrinfo hints = { .ai_flags = AI_NUMERICHOST }, *src, *dst; in makeDiagMessage() local 220 EXPECT_EQ(0, getaddrinfo(srcstr, nullptr, &hints, &src)); in makeDiagMessage() 221 EXPECT_EQ(0, getaddrinfo(dststr, nullptr, &hints, &dst)); in makeDiagMessage()
|
D | SockDiag.cpp | 154 addrinfo hints = { .ai_flags = AI_NUMERICHOST }; in sendDumpRequest() local 160 int ret = getaddrinfo(addrstr, nullptr, &hints, &res); in sendDumpRequest()
|
D | TetherController.cpp | 385 addrinfo *res, hints = { .ai_flags = AI_NUMERICHOST }; in setDnsForwarders() local 386 int ret = getaddrinfo(servers[i], nullptr, &hints, &res); in setDnsForwarders()
|
/system/update_engine/ |
D | README.md | 185 updates (by carrying marker hints). They may decide to not provide an update if
|