Home
last modified time | relevance | path

Searched refs:localhost (Results 1 - 25 of 29) sorted by relevance

12

/third_party/rust/crates/rustix/tests/net/
H A Dconnect_bind_send.rs10 let localhost = IpAddr::V4(Ipv4Addr::LOCALHOST); in net_v4_connect_any()
11 let addr = SocketAddr::new(localhost, 0); in net_v4_connect_any()
42 let localhost = IpAddr::V6(Ipv6Addr::LOCALHOST); in net_v6_connect_any()
43 let addr = SocketAddr::new(localhost, 0); in net_v6_connect_any()
81 let localhost = IpAddr::V4(Ipv4Addr::LOCALHOST); in net_v4_connect()
82 let addr = SocketAddr::new(localhost, 0); in net_v4_connect()
117 let localhost = IpAddr::V6(Ipv6Addr::LOCALHOST); in net_v6_connect()
118 let addr = SocketAddr::new(localhost, 0); in net_v6_connect()
160 let localhost = Ipv4Addr::LOCALHOST; in net_v4_bind_any()
161 let addr = SocketAddrV4::new(localhost, in net_v4_bind_any()
[all...]
/third_party/node/test/parallel/
H A Dtest-tls-honorcipherorder.js18 const localhost = '127.0.0.1';
35 server.listen(0, localhost, mustCall(function() {
46 const client = tls.connect(port, localhost, coptions, mustCall(function() {
H A Dtest-http-client-headers-array.js18 expectHeaders.host = `localhost:${this.address().port}`;
H A Dtest-http2-client-request-options-errors.js35 const client = http2.connect(`http://localhost:${port}`);
46 ':authority': `localhost:${port}`
H A Dtest-http-incoming-pipelined-socket-destroy.js68 `Host: localhost:${port}\r\n` +
H A Dtest-http-pipeline-flood.js71 let req = `GET / HTTP/1.1\r\nHost: localhost:${port}\r\nAccept: */*\r\n\r\n`;
H A Dtest-http2-compat-serverrequest-trailers.js45 const url = `http://localhost:${port}`;
51 ':authority': `localhost:${port}`
H A Dtest-http2-connect-method-extended.js16 `localhost:${server.address().port}`);
23 const client = http2.connect(`http://localhost:${server.address().port}`);
H A Dtest-http-host-headers.js33 req.headers.host, `localhost:${this.address().port}`,
59 host: 'localhost',
67 host: 'localhost',
75 host: 'localhost',
83 host: 'localhost',
91 host: 'localhost',
H A Dtest-http2-respond-nghttperrors.js71 const url = `http://localhost:${port}`;
76 ':authority': `localhost:${port}`
H A Dtest-domain-http-server.js68 debug(`listening on localhost:${port}`);
89 const req = http.get({ host: 'localhost', port: port, path: p });
H A Dtest-http2-compat-socket.js78 const url = `http://localhost:${port}`;
84 ':authority': `localhost:${port}`
H A Dtest-http2-respond-with-fd-errors.js78 const url = `http://localhost:${port}`;
83 ':authority': `localhost:${port}`
H A Dtest-tls-session-cache.js104 '-connect', `localhost:${this.address().port}`,
H A Dtest-http2-compat-socket-set.js81 const url = `http://localhost:${port}`;
87 ':authority': `localhost:${port}`
H A Dtest-http2-https-fallback.js40 ':authority': `localhost:${this.server.address().port}`
77 const origin = `https://localhost:${port}`;
127 const origin = `https://localhost:${port}`;
H A Dtest-http-agent-keepalive.js51 host: 'localhost',
129 name = `localhost:${server.address().port}:`;
/third_party/python/Lib/test/
H A Dtest_timeout.py111 localhost = socket_helper.HOST variable in TimeoutTestCase
241 socket_helper.bind_port(self.sock, self.localhost)
248 socket_helper.bind_port(serv, self.localhost)
257 socket_helper.bind_port(serv, self.localhost)
267 socket_helper.bind_port(serv, self.localhost)
286 socket_helper.bind_port(self.sock, self.localhost)
/third_party/libwebsockets/scripts/
H A Dattack.sh339 wget -O/tmp/lwsdump http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html http://localhost:7681/test.html 2>&1 | grep "Downloaded: 8 files" > /tmp/lwscap
/third_party/ltp/testcases/network/stress/ssh/
H A Dssh-stress.sh196 local port lport localhost rhost ret
199 localhost="127.0.0.1"
202 localhost="::1"
223 tst_rhost_run -s -c "netstress -r $NS_TIMES -l -H $localhost -g $lport > /dev/null"
/third_party/node/test/sequential/
H A Dtest-tls-session-timeout.js82 '-connect', `localhost:${common.PORT}`,
/third_party/ltp/testcases/network/rpc/rpc-tirpc/
H A Drpc_test.sh84 rpcinfo -p localhost | grep -q $PROGNUMNOSVC && break
/third_party/ltp/testcases/kernel/mce-test/kvm/host/
H A Dhost_run.sh275 ssh -i $host_key_priv -o StrictHostKeyChecking=no localhost -p 5555 echo "" > /dev/null 2>&1
289 localhost:$guest_tmp $HOST_DIR/guest_tmp > /dev/null 2>&1
/third_party/curl/lib/
H A Dsmtp.c1716 char localhost[HOSTNAME_MAX + 1]; in smtp_parse_url_path() local
1720 if(!Curl_gethostname(localhost, sizeof(localhost))) in smtp_parse_url_path()
1721 path = localhost; in smtp_parse_url_path()
1723 path = "localhost"; in smtp_parse_url_path()
/third_party/rust/crates/nix/test/sys/
H A Dtest_socket.rs1033 // This creates a (udp) socket bound to localhost, then sends a message to
1034 // itself but uses Ipv4PacketInfo to force the source address to be localhost.
1086 // This creates a (udp) socket bound to ip6-localhost, then sends a message to
1088 // ip6-localhost.
2213 let localhost = SockaddrIn::new(127, 0, 0, 1, 0); in test_recvmsg_timestampns()
2214 bind(in_socket, &localhost).unwrap(); in test_recvmsg_timestampns()
2268 let localhost = SockaddrIn::from_str("127.0.0.1:0").unwrap(); in test_recvmmsg_timestampns()
2269 bind(in_socket, &localhost).unwrap(); in test_recvmmsg_timestampns()
2333 let localhost = SockaddrIn::from_str("127.0.0.1:0").unwrap(); in test_recvmsg_rxq_ovfl()
2334 bind(in_socket, &localhost) in test_recvmsg_rxq_ovfl()
[all...]

Completed in 11 milliseconds

12