Home
last modified time | relevance | path

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

12345678

/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.py48 m_socket.getaddrinfo._is_coroutine = False
998 def getaddrinfo(*args, **kw): function
1004 return asyncio.Task(getaddrinfo(*args, **kwds), loop=self.loop)
1016 self.loop.getaddrinfo = getaddrinfo_task
1030 def getaddrinfo(*args, **kw): function
1036 self.loop.getaddrinfo = getaddrinfo
1091 def getaddrinfo(*args, **kw): function
1095 return asyncio.Task(getaddrinfo(*args, **kwds), loop=self.loop)
1097 self.loop.getaddrinfo = getaddrinfo_task
1104 def getaddrinfo(*args, **kw): function
[all …]
/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/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/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/python/cpython2/Modules/
Daddrinfo.h54 #undef getaddrinfo
55 #define getaddrinfo fake_getaddrinfo macro
/external/curl/lib/
Dmemdebug.h127 #if defined(getaddrinfo) && defined(__osf__)
134 #undef getaddrinfo
135 #define getaddrinfo(host,serv,hint,res) \ macro
Dcurl_addrinfo.c127 error = getaddrinfo(nodename, servname, hints, &aihead); in Curl_getaddrinfo_ex()
578 int res = (getaddrinfo)(hostname, service, hints, result); in curl_dogetaddrinfo()
/external/python/cpython3/Lib/test/
Dmock_socket.py147 def getaddrinfo(*args, **kw): function
148 return socket_module.getaddrinfo(*args, **kw)
Dtest_socket.py1259 socket.getaddrinfo('localhost', 80)
1266 for info in socket.getaddrinfo(HOST, None):
1270 socket.getaddrinfo('localhost', 80)
1271 socket.getaddrinfo('127.0.0.1', 80)
1272 socket.getaddrinfo(None, 80)
1274 socket.getaddrinfo('::1', 80)
1277 socket.getaddrinfo(HOST, "http")
1278 socket.getaddrinfo(HOST, 80)
1279 socket.getaddrinfo(HOST, None)
1281 infos = socket.getaddrinfo(HOST, 80, socket.AF_INET, socket.SOCK_STREAM)
[all …]
/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/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()
/external/syslinux/core/lwip/src/include/lwip/
Dnetdb.h114 #define getaddrinfo(nodname, servname, hints, res) \ macro
/external/swiftshader/src/Common/
DSocket.cpp47 getaddrinfo(address, port, &hints, &info); in Socket()
/external/python/cpython3/Lib/
Dsocket.py704 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
726 def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): function
743 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
/external/boringssl/src/crypto/bio/
Dsocket_helper.c53 ret = getaddrinfo(hostname, port_str, &hint, &result); in OPENSSL_MSVC_PRAGMA()
/external/ltp/testcases/network/stress/ns-tools/
Dns-common.c450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo()
563 err = getaddrinfo(sp, NULL, &hints, &res); in create_source_filter()
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dtestsf_c.c73 if ((gai = getaddrinfo(argv[1], NULL, &hints, &hp)) != 0) { in main()
/external/ipsec-tools/src/racoon/
Dkmpstat.c220 error = getaddrinfo(name, port, &hint, &ai);
/external/webrtc/webrtc/base/
Dnethelpers.cc41 int ret = getaddrinfo(hostname.c_str(), NULL, &hints, &result); in ResolveHostname()

12345678