Searched refs:getaddrinfo (Results 1 - 7 of 7) sorted by relevance

/bionic/tests/
H A Dnetdb_test.cpp35 ASSERT_EQ(0, getaddrinfo(NULL, "smtp", NULL, &ai));
44 ASSERT_EQ(0, getaddrinfo("localhost", NULL, NULL, &ai));
51 ASSERT_EQ(0, getaddrinfo("localhost", "9999", NULL, &ai));
73 ASSERT_EQ(0, getaddrinfo("localhost", "smtp", NULL, &ai));
88 ASSERT_EQ(0, getaddrinfo( "localhost", "9999", &hints, &ai));
90 // In glibc, getaddrinfo() converts ::1 to 127.0.0.1 for localhost,
104 ASSERT_EQ(0, getaddrinfo("ip6-localhost", NULL, NULL, &ai));
/bionic/libc/include/
H A Dnetdb.h135 * Error return codes from getaddrinfo()
154 * Flag values for getaddrinfo()
199 int getaddrinfo(const char* __node, const char* __service, const struct addrinfo* __hints, struct addrinfo** __result);
206 /* These functions are obsolete. Use getaddrinfo/getnameinfo instead. */
/bionic/tests/headers/posix/
H A Dnetdb_h.c107 FUNCTION(getaddrinfo, int (*f)(const char*, const char*, const struct addrinfo*, struct addrinfo**));
/bionic/tools/versioner/current/
H A Dnetdb.h135 * Error return codes from getaddrinfo()
154 * Flag values for getaddrinfo()
199 int getaddrinfo(const char* __node, const char* __service, const struct addrinfo* __hints, struct addrinfo** __result);
206 /* These functions are obsolete. Use getaddrinfo/getnameinfo instead. */
/bionic/libc/dns/resolv/
H A Dres_init.c369 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
H A Dres_cache.c2024 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]);
2030 XLOG("%s: getaddrinfo(%s)=%s", __FUNCTION__, servers[i], gai_strerror(rt));
2256 // - getaddrinfo() may never return a sockaddr > sockaddr_storage
/bionic/libc/dns/net/
H A Dgetaddrinfo.c1 /* $NetBSD: getaddrinfo.c,v 1.82 2006/03/25 12:09:40 rpaulo Exp $ */
2 /* $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $ */
61 * gethostbyname2 from getaddrinfo will end up in wrong search order, as
433 if (fprintf(proxy, "getaddrinfo %s %s %d %d %d %d %u",
564 getaddrinfo(const char *hostname, const char *servname, function
827 switch (nsdispatch(&result, dtab, NSDB_HOSTS, "getaddrinfo",
2099 error = getaddrinfo(addr, NULL, &hints, &res0);

Completed in 163 milliseconds