Searched refs:NI_NUMERICHOST (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 245 flags |= NI_NUMERICHOST; in getnameinfo_inet() 248 flags |= NI_NUMERICHOST; in getnameinfo_inet() 264 flags |= NI_NUMERICHOST; in getnameinfo_inet() 268 flags |= NI_NUMERICHOST; in getnameinfo_inet() 271 flags |= NI_NUMERICHOST; in getnameinfo_inet() 285 } else if (flags & NI_NUMERICHOST) { in getnameinfo_inet()
|
/bionic/tests/ |
D | netdb_test.cpp | 125 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 129 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 136 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 138 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 140 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST()
|
D | ifaddrs_test.cpp | 178 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); in print_sockaddr_inet()
|
/bionic/libc/include/ |
D | netdb.h | 182 #define NI_NUMERICHOST 0x00000002 macro
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 82 MACRO(NI_NUMERICHOST); in netdb_h()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 209 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;
|