/third_party/rust/crates/rustix/tests/net/ |
H A D | connect_bind_send.rs | 10 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 D | test-tls-honorcipherorder.js | 18 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 D | test-http-client-headers-array.js | 18 expectHeaders.host = `localhost:${this.address().port}`;
|
H A D | test-http2-client-request-options-errors.js | 35 const client = http2.connect(`http://localhost:${port}`); 46 ':authority': `localhost:${port}`
|
H A D | test-http-incoming-pipelined-socket-destroy.js | 68 `Host: localhost:${port}\r\n` +
|
H A D | test-http-pipeline-flood.js | 71 let req = `GET / HTTP/1.1\r\nHost: localhost:${port}\r\nAccept: */*\r\n\r\n`;
|
H A D | test-http2-compat-serverrequest-trailers.js | 45 const url = `http://localhost:${port}`; 51 ':authority': `localhost:${port}`
|
H A D | test-http2-connect-method-extended.js | 16 `localhost:${server.address().port}`); 23 const client = http2.connect(`http://localhost:${server.address().port}`);
|
H A D | test-http-host-headers.js | 33 req.headers.host, `localhost:${this.address().port}`, 59 host: 'localhost', 67 host: 'localhost', 75 host: 'localhost', 83 host: 'localhost', 91 host: 'localhost',
|
H A D | test-http2-respond-nghttperrors.js | 71 const url = `http://localhost:${port}`; 76 ':authority': `localhost:${port}`
|
H A D | test-domain-http-server.js | 68 debug(`listening on localhost:${port}`); 89 const req = http.get({ host: 'localhost', port: port, path: p });
|
H A D | test-http2-compat-socket.js | 78 const url = `http://localhost:${port}`; 84 ':authority': `localhost:${port}`
|
H A D | test-http2-respond-with-fd-errors.js | 78 const url = `http://localhost:${port}`; 83 ':authority': `localhost:${port}`
|
H A D | test-tls-session-cache.js | 104 '-connect', `localhost:${this.address().port}`,
|
H A D | test-http2-compat-socket-set.js | 81 const url = `http://localhost:${port}`; 87 ':authority': `localhost:${port}`
|
H A D | test-http2-https-fallback.js | 40 ':authority': `localhost:${this.server.address().port}` 77 const origin = `https://localhost:${port}`; 127 const origin = `https://localhost:${port}`;
|
H A D | test-http-agent-keepalive.js | 51 host: 'localhost', 129 name = `localhost:${server.address().port}:`;
|
/third_party/python/Lib/test/ |
H A D | test_timeout.py | 111 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 D | attack.sh | 339 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 D | ssh-stress.sh | 196 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 D | test-tls-session-timeout.js | 82 '-connect', `localhost:${common.PORT}`,
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/ |
H A D | rpc_test.sh | 84 rpcinfo -p localhost | grep -q $PROGNUMNOSVC && break
|
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
H A D | host_run.sh | 275 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 D | smtp.c | 1716 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 D | test_socket.rs | 1033 // 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...] |