/system/extras/tests/bionic/libc/common/ |
test_getaddrinfo.c | 1 /* this program is used to test that getaddrinfo() works correctly 23 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, NULL, &res); 25 printf("first getaddrinfo returned error: %s\n", gai_strerror(ret)); 37 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, &hints, &res ); 39 printf("second getaddrinfo returned error: %s\n", gai_strerror(ret));
|
/external/dropbear/ |
fake-rfc2553.h | 137 #ifdef getaddrinfo 138 # undef getaddrinfo macro 140 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro 141 int getaddrinfo(const char *, const char *,
|
fake-rfc2553.c | 150 getaddrinfo(const char *hostname, const char *servname, function
|
dbutil.c | 202 /* for calling getaddrinfo: 215 err = getaddrinfo(address, port, &hints, &res0); 320 err = getaddrinfo(remotehost, remoteport, &hints, &res0);
|
/external/tcpdump/missing/ |
addrinfo.h | 35 * Error return codes from getaddrinfo() 56 * Flag values for getaddrinfo() 85 extern int getaddrinfo (const char *, const char *,
|
/external/chromium/net/base/ |
host_resolver_proc.cc | 156 // The result of |getaddrinfo| for empty hosts is inconsistent across systems. 185 // Flags used in "hints" argument to getaddrinfo() 195 // computer is not connected to a network, AI_ADDRCONFIG causes getaddrinfo 197 // following note on AI_ADDRCONFIG in the MSDN getaddrinfo page: 211 int err = getaddrinfo(host.c_str(), NULL, &hints, &ai); 219 err = getaddrinfo(host.c_str(), NULL, &hints, &ai);
|
/libcore/luni/src/main/native/ |
java_net_InetAddress.cpp | 88 int result = getaddrinfo(name.c_str(), NULL, &hints, &addressList); 102 LOGE("getaddrinfo: could not allocate array of size %i", addressCount); 128 LOGE("getaddrinfo: Unknown address family %d", ai->ai_family); 136 LOGE("getaddrinfo: Can't allocate %d-byte array", addressLength); 257 int ret = getaddrinfo(ipString, NULL, &hints, &res); 273 // getaddrinfo does not support. For example, 1.2.3, 1.3, and even 3 are 274 // valid IPv4 addresses according to the Java API. If getaddrinfo fails, 330 NATIVE_METHOD(InetAddress, getaddrinfo, "(Ljava/lang/String;)[[B"),
|
/bionic/libc/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/development/ndk/platforms/android-3/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 221 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/external/chromium/net/tools/flip_server/ |
create_listener.cc | 7 #include <netdb.h> // for getaddrinfo and getnameinfo 10 #include <sys/socket.h> // for getaddrinfo and getnameinfo 21 // alloc'd by getaddrinfo 98 if ((err=getaddrinfo(node, service, &hints, &results))) { 100 *error_stream << "getaddrinfo " << " for (" << host << ":" << port
|
/external/ipsec-tools/src/racoon/ |
kmpstat.c | 220 error = getaddrinfo(name, port, &hint, &ai);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 138 * Error return codes from getaddrinfo() 160 * Flag values for getaddrinfo() 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **);
|
/external/qemu/ |
qemu-sockets.c | 86 fprintf(stderr,"%s: getaddrinfo: family %s, host %s, port %s\n", 153 rc = getaddrinfo(strlen(addr) ? addr : NULL, port, &ai, &res); 155 fprintf(stderr,"%s: getaddrinfo(%s,%s): %s\n", __FUNCTION__, 274 if (0 != (rc = getaddrinfo(addr, port, &ai, &res))) { 275 fprintf(stderr,"getaddrinfo(%s,%s): %s\n", gai_strerror(rc),
|
/libcore/luni/src/main/java/java/net/ |
InetAddress.java | 218 // If we prefer IPv4, ignore the RFC3484 ordering we get from getaddrinfo 501 InetAddress[] addresses = bytesToInetAddresses(getaddrinfo(host), host); 509 private static native byte[][] getaddrinfo(String name) throws UnknownHostException; method in class:InetAddress [all...] |
/external/libpcap/ |
nametoaddr.c | 135 error = getaddrinfo(name, NULL, &hints, &res);
|
/external/v8/src/ |
platform-posix.cc | 283 int status = getaddrinfo(host, port, &hints, &result);
|
/external/ipsec-tools/ |
setup.c | 121 if (getaddrinfo(server, port, &hints, &r) != 0) {
|
/external/mtpd/ |
mtpd.c | 283 error = getaddrinfo(server, port, &hints, &records); 285 log_print(FATAL, "Getaddrinfo() %s", (error == EAI_SYSTEM) ?
|
/frameworks/base/media/libstagefright/ |
HTTPStream.cpp | 224 int ret = getaddrinfo(server, service, &hints, &ai);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
netdb.h | 82 /* Scope delimiter for getaddrinfo(), getnameinfo(). */ 588 /* Error values for `getaddrinfo' function. */ 631 extern int getaddrinfo (__const char *__restrict __name, 639 /* Convert error return from getaddrinfo() to a string. */
|