Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetnameinfo.c245 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/
Dnetdb_test.cpp125 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()
Difaddrs_test.cpp178 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); in print_sockaddr_inet()
/bionic/libc/include/
Dnetdb.h182 #define NI_NUMERICHOST 0x00000002 macro
/bionic/tests/headers/posix/
Dnetdb_h.c82 MACRO(NI_NUMERICHOST); in netdb_h()
/bionic/libc/dns/resolv/
Dres_send.c209 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;