Home
last modified time | relevance | path

Searched refs:getaddrinfo (Results 1 – 25 of 221) sorted by relevance

123456789

/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c86 TEST(getaddrinfo(hostname, 0, &hints, &aires)); in gaiv4()
127 TEST(getaddrinfo(shortname, 0, &hints, &aires)); in gaiv4()
163 TEST(getaddrinfo(hostname, service, &hints, &aires)); in gaiv4()
207 TEST(getaddrinfo(hostname, service, &hints, &aires)); in gaiv4()
255 TEST(getaddrinfo(hostname, service, &hints, &aires)); in gaiv4()
275 TEST(getaddrinfo(0, service, &hints, &aires)); in gaiv4()
329 TEST(getaddrinfo(0, service, &hints, &aires)); in gaiv4()
387 TEST(getaddrinfo(hostname, service, &hints, &aires)); in gaiv4()
409 TEST(getaddrinfo(0, service, &hints, &aires)); in gaiv4()
424 TEST(getaddrinfo(0, service, &hints, &aires)); in gaiv4()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py40 m_socket.getaddrinfo._is_coroutine = False
1057 def getaddrinfo(*args, **kw): function
1063 return asyncio.Task(getaddrinfo(*args, **kwds), loop=self.loop)
1075 self.loop.getaddrinfo = getaddrinfo_task
1089 def getaddrinfo(*args, **kw): function
1095 self.loop.getaddrinfo = getaddrinfo
1178 def getaddrinfo(*args, **kw): function
1182 return asyncio.Task(getaddrinfo(*args, **kwds), loop=self.loop)
1184 self.loop.getaddrinfo = getaddrinfo_task
1190 async def getaddrinfo(*args, **kw): function
[all …]
/external/openssh/openbsd-compat/
Dfake-rfc2553.h151 #ifdef getaddrinfo
152 # undef getaddrinfo
154 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro
155 int getaddrinfo(const char *, const char *,
/external/compiler-rt/test/msan/
Dgetaddrinfo-positive.cc16 int res = getaddrinfo("localhost", NULL, NULL, &ai); in main()
18 res = getaddrinfo("localhost", NULL, &hint, &ai); in main()
Dgetaddrinfo.cc22 int res = getaddrinfo("not-in-etc-hosts", NULL, NULL, &ai); in main()
/external/libpcap/rpcapd/
DCMakeLists.txt27 # Find library needed for getaddrinfo.
32 check_function_exists(getaddrinfo STDLIBS_HAVE_GETADDRINFO)
34 check_library_exists(xnet getaddrinfo "" LIBXNET_HAS_GETADDRINFO)
41 check_library_exists(socket getaddrinfo "" LIBSOCKET_HAS_GETADDRINFO)
/external/python/cpython3/Modules/
Daddrinfo.h54 #undef getaddrinfo
55 #define getaddrinfo fake_getaddrinfo macro
/external/python/cpython3/Tools/demo/
Dmcast.py34 addrinfo = socket.getaddrinfo(group, None)[0]
53 addrinfo = socket.getaddrinfo(group, None)[0]
/external/python/cpython2/Demo/sockets/
Dmcast.py32 addrinfo = socket.getaddrinfo(group, None)[0]
51 addrinfo = socket.getaddrinfo(group, None)[0]
/external/curl/lib/
Dmemdebug.h122 #if defined(getaddrinfo) && defined(__osf__)
129 #undef getaddrinfo
130 #define getaddrinfo(host,serv,hint,res) \ macro
/external/python/cpython2/Modules/
Daddrinfo.h54 #undef getaddrinfo
55 #define getaddrinfo fake_getaddrinfo macro
/external/bcc/tools/
Dgethostlatency_example.txt4 This traces host name lookup calls (getaddrinfo(), gethostbyname(), and
29 Show latency for getaddrinfo/gethostbyname[2] calls
/external/curl/CMake/
DCurlTests.c274 #ifndef getaddrinfo in main()
275 (void)getaddrinfo; in main()
277 error = getaddrinfo("127.0.0.1", "8080", &hints, &ai); in main()
/external/iperf3/src/
Diperf_sctp.c181 if (getaddrinfo(test->bind_address, portstr, &hints, &res) != 0) { in iperf_sctp_listen()
269 if (getaddrinfo(test->bind_address, NULL, &hints, &local_res) != 0) { in iperf_sctp_connect()
279 if (getaddrinfo(test->server_hostname, portstr, &hints, &server_res) != 0) { in iperf_sctp_connect()
551 if (getaddrinfo(xbe0->name, servname, &hints, &xbe0->ai) != 0) { in iperf_sctp_bindx()
595 if (getaddrinfo(xbe->name, servname, &hints, &xbe->ai) != 0) { in iperf_sctp_bindx()
Dnet.c125 if (getaddrinfo(local, NULL, &hints, &local_res) != 0) in netdial()
132 if (getaddrinfo(server, NULL, &hints, &server_res) != 0) in netdial()
241 if (getaddrinfo(local, portstr, &hints, &res) != 0) in netannounce()
/external/python/cpython3/Lib/test/
Dmock_socket.py147 def getaddrinfo(*args, **kw): function
148 return socket_module.getaddrinfo(*args, **kw)
/external/python/cpython2/Lib/test/
Dtest_socket.py663 socket.getaddrinfo('localhost', 80)
670 for info in socket.getaddrinfo(HOST, None):
674 socket.getaddrinfo('localhost', 80)
675 socket.getaddrinfo('127.0.0.1', 80)
676 socket.getaddrinfo(None, 80)
678 socket.getaddrinfo('::1', 80)
681 socket.getaddrinfo(HOST, "http")
682 socket.getaddrinfo(HOST, 80)
683 socket.getaddrinfo(HOST, 80L)
684 socket.getaddrinfo(HOST, None)
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dresolve_address_posix.cc87 s = getaddrinfo(host, port, &hints, &result); in posix_blocking_resolve_address()
96 s = getaddrinfo(host, svc[i][1], &hints, &result); in posix_blocking_resolve_address()
/external/grpc-grpc/third_party/address_sorting/
Daddress_sorting.bzl1 # $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 $ */
DBUILD1 # $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 $ */
/external/python/httplib2/python2/httplib2/test/brokensocket/
Dsocket.py1 from realsocket import gaierror, error, getaddrinfo, SOCK_STREAM
/external/libpcap/
Dnametoaddr.c190 error = getaddrinfo(name, NULL, &hints, &res); in pcap_nametoaddrinfo()
307 error = getaddrinfo(NULL, name, &hints, &res); in pcap_nametoport()
351 error = getaddrinfo(NULL, name, &hints, &res); in pcap_nametoport()
/external/libxml2/os400/
Dwrappers.h60 #define getaddrinfo _lx_getaddrinfo macro
/external/toybox/toys/pending/
Dhost.c81 if (!getaddrinfo(name, 0, &iplit_hints, &ai)) { in host_main()
122 if ((ret = getaddrinfo(nsname, "53", &ns_hints, &ai)) < 0) in host_main()
/external/curl/tests/server/
Dresolve.c133 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()

123456789