Home
last modified time | relevance | path

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

123456

/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dgetaddrinfo.c42 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0100()
59 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0200()
78 int ret = getaddrinfo(buf, NULL, &hint, &result); in getaddrinfo_0300()
95 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0400()
112 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0500()
130 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0600()
148 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0700()
163 int ret = getaddrinfo("127.0.0.1", NULL, NULL, &result); in getaddrinfo_0800()
180 int ret = getaddrinfo("127.0.0.1", NULL, &hint, &result); in getaddrinfo_0900()
194 int ret = getaddrinfo("127. in getaddrinfo_1000()
[all...]
H A Dfreeaddrinfo.c31 if (getaddrinfo(host, NULL, NULL, &ai) != 0) { in freeaddrinfo_0100()
32 t_error("%s getaddrinfo failed\n", __func__); in freeaddrinfo_0100()
/third_party/musl/Benchmark/musl/
H A Dlibc_network.cpp29 int n = getaddrinfo("www.baidu.com", nullptr, nullptr, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network()
31 perror("getaddrinfo external_network"); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network()
48 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1()
50 perror("getaddrinfo intranet1"); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1()
67 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2()
69 perror("getaddrinfo intranet2"); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2()
86 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet3()
88 perror("getaddrinfo intranet3"); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet3()
105 int n = getaddrinfo("127.0.0.1", nullptr, &hint, &res); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet4()
107 perror("getaddrinfo intranet in Bm_function_Getaddrinfo_Freeaddrinfo_intranet4()
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_base_events.py1087 async def getaddrinfo(*args, **kw): function
1092 return self.loop.create_task(getaddrinfo(*args, **kwds))
1104 self.loop.getaddrinfo = getaddrinfo_task
1118 def getaddrinfo(*args, **kw): function
1124 self.loop.getaddrinfo = getaddrinfo
1205 async def getaddrinfo(*args, **kw): function
1209 return self.loop.create_task(getaddrinfo(*args, **kwds))
1211 self.loop.getaddrinfo = getaddrinfo_task
1217 async def getaddrinfo(*arg function
1232 async def getaddrinfo(*args, **kw): global() function
1259 async def getaddrinfo(*args, **kw): global() function
1381 async def getaddrinfo(host, *args, **kw): global() function
1404 def getaddrinfo(host, port, *args, **kw): global() function
1526 async def getaddrinfo(*args, **kw): global() function
1823 def getaddrinfo(*args, **kw): global() function
[all...]
/third_party/node/test/parallel/
H A Dtest-dns-default-verbatim-false.js11 const originalGetaddrinfo = cares.getaddrinfo;
13 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
H A Dtest-dns-default-verbatim-true.js11 const originalGetaddrinfo = cares.getaddrinfo;
13 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
H A Dtest-dns-set-default-order.js12 const originalGetaddrinfo = cares.getaddrinfo;
14 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
/third_party/curl/lib/
H A Dcurl_memory.h88 #if defined(getaddrinfo) && defined(__osf__)
91 #undef getaddrinfo macro
H A Dmemdebug.h150 #if defined(getaddrinfo) && defined(__osf__)
151 /* OSF/1 and Tru64 have getaddrinfo as a define already, so we cannot define
153 define getaddrinfo to become! */
157 #undef getaddrinfo macro
158 #define getaddrinfo(host,serv,hint,res) \ macro
H A Dcurl_addrinfo.c94 * This is a wrapper function around system's getaddrinfo(), with
101 * There should be no single call to system's getaddrinfo() in the
121 error = getaddrinfo(nodename, servname, hints, &aihead); in Curl_getaddrinfo_ex()
551 int res = (getaddrinfo)(hostname, service, hints, result); in curl_dbg_getaddrinfo()
555 curl_dbg_log("ADDR %s:%d getaddrinfo() = %p\n", in curl_dbg_getaddrinfo()
558 curl_dbg_log("ADDR %s:%d getaddrinfo() failed\n", in curl_dbg_getaddrinfo()
/third_party/python/Tools/demo/
H A Dmcast.py34 addrinfo = socket.getaddrinfo(group, None)[0]
53 addrinfo = socket.getaddrinfo(group, None)[0]
/third_party/python/Modules/
H A Daddrinfo.h33 * Error return codes from getaddrinfo()
54 #undef getaddrinfo macro
55 #define getaddrinfo fake_getaddrinfo macro
74 * Flag values for getaddrinfo()
/third_party/python/Lib/test/
H A Dmock_socket.py150 def getaddrinfo(*args, **kw): function
151 return socket_module.getaddrinfo(*args, **kw)
H A Dtest_socket.py1516 socket.getaddrinfo('localhost', 80)
1523 for info in socket.getaddrinfo(HOST, None):
1527 socket.getaddrinfo('localhost', 80)
1528 socket.getaddrinfo('127.0.0.1', 80)
1529 socket.getaddrinfo(None, 80)
1531 socket.getaddrinfo('::1', 80)
1534 # Issue #26936: Android getaddrinfo() was broken before API level 23.
1537 socket.getaddrinfo(HOST, "http")
1538 socket.getaddrinfo(HOST, 80)
1539 socket.getaddrinfo(HOS
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Dnetdb_test.cpp15 * @tc.desc: Verify that the "getaddrinfo" function correctly translates the "localhost" host name into socket
25 int result = getaddrinfo(host, serv, &hints, &addr); in HWTEST_F()
33 * @tc.desc: Verify that the "getaddrinfo" function correctly translates the "localhost" host name and "9999"
43 EXPECT_EQ(0, getaddrinfo(host, serv, &hints, &addr)); in HWTEST_F()
67 * @tc.desc: Verify the correct behavior of the getaddrinfo function in resolving network addresses for
81 int result = getaddrinfo(host, service, &hints, &addr); in HWTEST_F()
94 * @tc.desc: Verify the correct behavior of the getaddrinfo function when resolving IPv6 addresses for a given host.
105 int ret = getaddrinfo(host, service, &hints, &addr); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/
H A Dgetnameinfo.c64 ret = getaddrinfo(buf, NULL, &hint, &result); in getnameinfo_0200()
146 ret = getaddrinfo(buf, NULL, &hint, &result); in getnameinfo_0600()
/third_party/toybox/toys/pending/
H A Dhost.c84 if (!getaddrinfo(name, 0, &iplit_hints, &ai)) { in host_main()
125 if ((ret = getaddrinfo(nsname, "53", &ns_hints, &ai)) < 0) in host_main()
/third_party/curl/tests/server/
H A Dresolve.c123 /* getaddrinfo() resolve */ in main()
133 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()
/third_party/libuv/test/
H A Dbenchmark-getaddrinfo.c66 BENCHMARK_IMPL(getaddrinfo) { in BENCHMARK_IMPL()
86 fprintf(stderr, "getaddrinfo: %.0f req/s\n", in BENCHMARK_IMPL()
/third_party/lwip/src/include/lwip/
H A Dnetdb.h140 #define getaddrinfo(nodname, servname, hints, res) \ macro
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSocket.cpp47 getaddrinfo(address, port, &hints, &info); in Socket()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DSocket.cpp48 getaddrinfo(address, port, &hints, &info); in Socket()
/third_party/ffmpeg/libavformat/
H A Dtcp.c152 ret = getaddrinfo(NULL, portstr, &hints, &ai); in tcp_open()
154 ret = getaddrinfo(hostname, portstr, &hints, &ai); in tcp_open()
165 // workaround for IOS9 getaddrinfo in IPv6 only network use hardcode IPv4 address can not resolve port number. in tcp_open()
/third_party/node/lib/internal/dns/
H A Dpromises.js51 getaddrinfo,
82 this.reject(dnsException(err, 'getaddrinfo', this.hostname));
95 this.reject(dnsException(err, 'getaddrinfo', this.hostname));
121 * @param {number} hints - One or more supported getaddrinfo flags (supply multiple via
153 const err = getaddrinfo(req, hostname, family, hints, verbatim);
156 reject(dnsException(err, 'getaddrinfo', hostname));
176 * @param {number} [options.hints] - One or more supported getaddrinfo flags (supply multiple via
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-common.c440 struct addrinfo hints; /* hints for getaddrinfo() */ in get_maddrinfo()
442 int err; /* return value of getaddrinfo */ in get_maddrinfo()
450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo()
452 fprintf(stderr, "getaddrinfo(): %s\n", gai_strerror(err)); in get_maddrinfo()
456 fprintf(stderr, "getaddrinfo(): multiple address is found."); in get_maddrinfo()
515 struct addrinfo hints; /* hints for getaddrinfo() */ in create_source_filter()
517 int err; /* return value of getaddrinfo */ in create_source_filter()
563 err = getaddrinfo(sp, NULL, &hints, &res); in create_source_filter()
565 fprintf(stderr, "getaddrinfo(): %s\n", in create_source_filter()

Completed in 18 milliseconds

123456