Searched refs:getnameinfo (Results 1 - 4 of 4) sorted by relevance

/bionic/tests/
H A Dnetdb_test.cpp41 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
43 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
45 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
52 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
54 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
56 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST));
/bionic/libc/include/
H A Dnetdb.h176 * Constants for getnameinfo()
182 * Flag values for getnameinfo()
244 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
/bionic/libc/dns/net/
H A Dgetnameinfo.c1 /* $NetBSD: getnameinfo.c,v 1.53 2012/09/26 23:13:00 christos Exp $ */
2 /* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */
50 __RCSID("$NetBSD: getnameinfo.c,v 1.53 2012/09/26 23:13:00 christos Exp $");
106 * Top-level getnameinfo() code. Look at the address family, and pick an
109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, function
/bionic/libc/dns/resolv/
H A Dres_send.c540 getnameinfo(nsap, (socklen_t)nsaplen, abuf, sizeof(abuf),
1276 if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf),

Completed in 223 milliseconds