Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetnameinfo.c235 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/
Dnetdb_test.cpp125 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()
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/libc/dns/resolv/
Dres_send.c218 static const int niflags = NI_NUMERICHOST | NI_NUMERICSERV;