Home
last modified time | relevance | path

Searched refs:NI_NUMERICHOST (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dnetdb_test.cpp41 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/
Dgetnameinfo.c252 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/
Dnetdb.h185 #define NI_NUMERICHOST 0x00000002 macro
/bionic/libc/netbsd/resolv/
Dres_send.c220 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;