/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | getaddrinfo.c | 42 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 D | freeaddrinfo.c | 31 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 D | libc_network.cpp | 29 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 D | test_base_events.py | 1087 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 D | test-dns-default-verbatim-false.js | 11 const originalGetaddrinfo = cares.getaddrinfo; 13 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
|
H A D | test-dns-default-verbatim-true.js | 11 const originalGetaddrinfo = cares.getaddrinfo; 13 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
|
H A D | test-dns-set-default-order.js | 12 const originalGetaddrinfo = cares.getaddrinfo; 14 cares.getaddrinfo = common.mustCallAtLeast((...args) => {
|
/third_party/curl/lib/ |
H A D | curl_memory.h | 88 #if defined(getaddrinfo) && defined(__osf__) 91 #undef getaddrinfo macro
|
H A D | memdebug.h | 150 #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 D | curl_addrinfo.c | 94 * 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 D | mcast.py | 34 addrinfo = socket.getaddrinfo(group, None)[0] 53 addrinfo = socket.getaddrinfo(group, None)[0]
|
/third_party/python/Modules/ |
H A D | addrinfo.h | 33 * 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 D | mock_socket.py | 150 def getaddrinfo(*args, **kw): function 151 return socket_module.getaddrinfo(*args, **kw)
|
H A D | test_socket.py | 1516 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 D | netdb_test.cpp | 15 * @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 D | getnameinfo.c | 64 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 D | host.c | 84 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 D | resolve.c | 123 /* getaddrinfo() resolve */ in main() 133 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()
|
/third_party/libuv/test/ |
H A D | benchmark-getaddrinfo.c | 66 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 D | netdb.h | 140 #define getaddrinfo(nodname, servname, hints, res) \ macro
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Socket.cpp | 47 getaddrinfo(address, port, &hints, &info); in Socket()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Socket.cpp | 48 getaddrinfo(address, port, &hints, &info); in Socket()
|
/third_party/ffmpeg/libavformat/ |
H A D | tcp.c | 152 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 D | promises.js | 51 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 D | ns-common.c | 440 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()
|