/bionic/tests/ |
netdb_test.cpp | 41 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));
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 100 // getnameinfo 116 res = getnameinfo((const struct sockaddr*)&sa4, sizeof(sa4), buf, sizeof(buf), NULL, 0, flags); 118 ALOGD("getnameinfo(%s (GoogleDNS) ) gave error %d (%s)", GoogleDNSIpV4Address, res, 123 ALOGD("getnameinfo(%s (GoogleDNS) ) didn't return google.com: %s", 129 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags); 131 ALOGD("getnameinfo(%s (GoogleDNS) ) gave error %d (%s)", GoogleDNSIpV6Address2, 136 ALOGD("getnameinfo(%s) didn't return google.com: %s", GoogleDNSIpV6Address2, buf);
|
/external/ipsec-tools/src/racoon/ |
var.h | 67 * use of GETNAMEINFO(x, y, NULL) is not politically correct, 77 #define GETNAMEINFO(x, y, z) \ 79 if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), (z), sizeof(z), \ 90 if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), NULL, 0, \
|
/external/openssh/openbsd-compat/ |
port-aix.h | 109 # ifdef getnameinfo 110 # undef getnameinfo macro 114 # define getnameinfo(a,b,c,d,e,f,g) (sshaix_getnameinfo(a,b,c,d,e,f,g)) macro
|
fake-rfc2553.h | 169 #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) macro 170 int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
|
/external/tcpdump/missing/ |
addrinfo.h | 87 extern int getnameinfo (const struct sockaddr *, size_t, char *, 96 * Constants for getnameinfo() 106 * Flag values for getnameinfo()
|
/external/openssh/ |
canohost.c | 72 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), 74 fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); 81 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), 128 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2, 275 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, 277 error("get_socket_address: getnameinfo %d failed: %s", flags, 397 if ((r = getnameinfo((struct sockaddr *)&from, fromlen, NULL, 0, 399 fatal("get_sock_port: getnameinfo NI_NUMERICSERV failed: %s",
|
/libcore/luni/src/main/java/libcore/io/ |
GaiException.java | 23 * An unchecked exception thrown when the {@link Os} {@code getaddrinfo} or {@code getnameinfo}
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/libcore/luni/src/main/native/ |
NetworkUtilities.h | 36 // getnameinfo(2), where we'll be presenting the result to the user and the user may actually
|
/external/dropbear/ |
fake-rfc2553.h | 156 #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) macro 157 int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
|
/external/qemu/ |
qemu-sockets.c | 116 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, 173 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, 275 if (getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, 278 fprintf(stderr,"%s: getnameinfo: oops\n", __FUNCTION__); 383 if (getnameinfo((struct sockaddr*)local->ai_addr,local->ai_addrlen, 386 fprintf(stderr, "%s: getnameinfo: oops\n", __FUNCTION__); 396 if (getnameinfo((struct sockaddr*)peer->ai_addr, peer->ai_addrlen, 399 fprintf(stderr, "%s: getnameinfo: oops\n", __FUNCTION__);
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 1 /* $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, char* serv, size_t servlen, int flags) function
|
/bionic/libc/include/ |
netdb.h | 176 * Constants for getnameinfo() 182 * Flag values for getnameinfo() 245 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/development/ndk/platforms/android-3/include/ |
netdb.h | 176 * Constants for getnameinfo() 182 * Flag values for getnameinfo() 219 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/development/ndk/sources/android/libportable/common/include/ |
netdb_portable.h | 191 * Constants for getnameinfo() 197 * Flag values for getnameinfo() 241 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/ |
netdb.h | 203 * Constants for getnameinfo() 209 * Flag values for getnameinfo() 259 int getnameinfo(const struct sockaddr *__restrict, socklen_t,
|
/external/tcpdump/ |
Makefile.in | 133 getnameinfo.o: $(srcdir)/missing/getnameinfo.c 134 $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 222 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 179 * Constants for getnameinfo() 185 * Flag values for getnameinfo() 222 int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
|