Searched refs:NI_NUMERICHOST (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 41 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 43 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 45 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 52 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 54 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 56 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST()
|
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 252 flags |= NI_NUMERICHOST; in getnameinfo_inet() 255 flags |= NI_NUMERICHOST; in getnameinfo_inet() 269 flags |= NI_NUMERICHOST; in getnameinfo_inet() 273 flags |= NI_NUMERICHOST; in getnameinfo_inet() 276 flags |= NI_NUMERICHOST; in getnameinfo_inet() 290 } else if (flags & NI_NUMERICHOST) { in getnameinfo_inet()
|
/bionic/libc/include/ |
D | netdb.h | 185 #define NI_NUMERICHOST 0x00000002 macro
|
/bionic/libc/netbsd/resolv/ |
D | res_send.c | 220 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;
|