Searched refs:NI_NUMERICHOST (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 235 flags |= NI_NUMERICHOST; in getnameinfo_inet() 238 flags |= NI_NUMERICHOST; in getnameinfo_inet() 252 flags |= NI_NUMERICHOST; in getnameinfo_inet() 256 flags |= NI_NUMERICHOST; in getnameinfo_inet() 259 flags |= NI_NUMERICHOST; in getnameinfo_inet() 273 } 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), NULL, 0, NI_NUMERICHOST)); in TEST() 127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 129 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 136 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 138 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 140 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 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/libc/dns/resolv/ |
D | res_send.c | 218 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;
|