Home
last modified time | relevance | path

Searched refs:port (Results 226 - 250 of 2289) sorted by relevance

12345678910>>...92

/third_party/node/lib/
H A Ddns.js255 function lookupService(address, port, callback) {
257 throw new ERR_MISSING_ARGS('address', 'port', 'callback');
262 validatePort(port);
266 port = +port;
271 req.port = port;
274 const err = cares.getnameinfo(req, address, port);
282 port,
/third_party/ltp/testcases/network/stress/ssh/
H A Dssh-stress.sh42 local port rc
45 port=$(tst_rhost_run -c "tst_get_unused_port ipv${TST_IPVER} stream")
48 Port $port
74 Port $port\n\
196 local port lport localhost rhost ret
208 # Get an ssh forwarding port
215 port=$(cat netstress_port)
218 tst_rhost_run -c "$RHOST_SSH -f -N -L $lport:$rhost:$port </dev/null >/dev/null 2>&1"
219 [ "$?" -ne 0 ] && tst_brk TFAIL "Failed to create an SSH session with port forwarding"
220 RHOST_PIDS=$(tst_rhost_run -c "pgrep -f '^ssh .*$lport:$rhost:$port'")
[all...]
/third_party/eudev/src/udev/
H A Dudev-builtin-path_id.c96 const char *port; in handle_scsi_fibre_channel() local
106 port = udev_device_get_sysattr_value(fcdev, "port_name"); in handle_scsi_fibre_channel()
107 if (port == NULL) { in handle_scsi_fibre_channel()
113 path_prepend(path, "fc-%s-%s", port, lun); in handle_scsi_fibre_channel()
162 struct udev_device *port; in handle_scsi_sas() local
186 /* The next parent is sas port */ in handle_scsi_sas()
187 port = udev_device_get_parent(target_parent); in handle_scsi_sas()
188 if (port == NULL) { in handle_scsi_sas()
193 /* Get port device */ in handle_scsi_sas()
195 "sas_port", udev_device_get_sysname(port)); in handle_scsi_sas()
259 const char *port; handle_scsi_iscsi() local
524 const char *port; handle_usb() local
[all...]
/third_party/curl/lib/
H A Dasyn-thread.c145 const char *hostname, int port,
166 int port; member
226 int port, in init_thread_sync_data()
234 tsd->port = port; in init_thread_sync_data()
412 Curl_addrinfo_set_port(tsd->res, tsd->port); in query_complete()
460 msnprintf(service, sizeof(service), "%d", tsd->port); in getaddrinfo_thread()
470 Curl_addrinfo_set_port(tsd->res, tsd->port); in getaddrinfo_thread()
508 tsd->res = Curl_ipv4_resolve_r(tsd->hostname, tsd->port); in gethostbyname_thread()
600 const char *hostname, int port, in init_resolve_thread()
224 init_thread_sync_data(struct thread_data *td, const char *hostname, int port, const struct addrinfo *hints) init_thread_sync_data() argument
599 init_resolve_thread(struct Curl_easy *data, const char *hostname, int port, const struct addrinfo *hints) init_resolve_thread() argument
885 Curl_resolver_getaddrinfo(struct Curl_easy *data, const char *hostname, int port, int *waitp) Curl_resolver_getaddrinfo() argument
912 Curl_resolver_getaddrinfo(struct Curl_easy *data, const char *hostname, int port, int *waitp) Curl_resolver_getaddrinfo() argument
[all...]
H A Dcurl_addrinfo.h75 Curl_he2ai(const struct hostent *he, int port);
78 Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port);
80 struct Curl_addrinfo *Curl_str2addr(char *dotted, int port);
102 void Curl_addrinfo_set_port(struct Curl_addrinfo *addrinfo, int port);
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c339 int32_t port = StartBaseListener(info, &listener); in StartSocketListening() local
340 if (port <= 0) { in StartSocketListening()
341 AUTH_LOGE(AUTH_CONN, "StartBaseListener fail. port=%{public}d", port); in StartSocketListening()
344 return port; in StartSocketListening()
369 static int32_t SocketConnectInner(const char *localIp, const char *peerIp, int32_t port, ListenerModule module, in SocketConnectInner() argument
380 .port = port, in SocketConnectInner()
411 int32_t SocketConnectDeviceWithAllIp(const char *localIp, const char *peerIp, int32_t port, bool isBlockMode) in SocketConnectDeviceWithAllIp() argument
413 return SocketConnectInner(localIp, peerIp, port, AUTH_RAW_P2P_CLIEN in SocketConnectDeviceWithAllIp()
416 SocketConnectDevice(const char *ip, int32_t port, bool isBlockMode) SocketConnectDevice() argument
466 NipSocketConnectDevice(ListenerModule module, const char *addr, int32_t port, bool isBlockMode) NipSocketConnectDevice() argument
645 AuthOpenChannelWithAllIp(const char *localIp, const char *remoteIp, int32_t port) AuthOpenChannelWithAllIp() argument
660 AuthOpenChannel(const char *ip, int32_t port) AuthOpenChannel() argument
[all...]
/third_party/python/Lib/
H A Dsmtplib.py229 def __init__(self, host='', port=0, local_hostname=None,
235 connect. If specified, `port` specifies the port to which to connect.
242 port) for the socket to bind to as its source address before
243 connecting. If the host is '' and port is 0, the OS default behavior
255 (code, msg) = self.connect(host, port)
305 def _get_socket(self, host, port, timeout):
311 self._print_debug('connect: to', (host, port), self.source_address)
312 return socket.create_connection((host, port), timeout,
315 def connect(self, host='localhost', port
[all...]
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/
H A Dnet_proxy_adapter_test.cpp182 void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl, in Changed() argument
219 uint16_t port; in HWTEST_F() local
225 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F()
229 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F()
269 uint16_t port; in HWTEST_F() local
272 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F()
274 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F()
279 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F()
297 uint16_t port; in HWTEST_F() local
300 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUr in HWTEST_F()
[all...]
/third_party/node/test/parallel/
H A Dtest-tls-server-verify.js137 function runClient(prefix, port, options, cb) {
144 const args = ['s_client', '-connect', `127.0.0.1:${port}`];
242 function runTest(port, testIndex) {
309 runClient(`${prefix}${clientIndex} `, port, options, function() {
319 server.listen(port, function() {
320 port = server.address().port;
322 console.error(`${prefix}TLS server running on port ${port}`);
328 runClient(`${prefix}${i} `, port, tcas
[all...]
H A Dtest-http-after-connect.js45 port: server.address().port,
62 port: server.address().port,
H A Dtest-http-client-agent.js43 name = http.globalAgent.getName({ port: server.address().port });
56 port: server.address().port,
H A Dtest-http-client-timeout-option-listeners.js18 port: undefined,
25 options.port = server.address().port;
38 const sockets = agent.sockets[`${options.host}:${options.port}:`];
H A Dtest-http-pipeline-flood.js53 const args = [__filename, 'child', this.address().port];
68 const port = +process.argv[3];
69 const conn = net.connect({ port });
71 let req = `GET / HTTP/1.1\r\nHost: localhost:${port}\r\nAccept: */*\r\n\r\n`;
H A Dtest-http-set-trailers.js30 function testHttp10(port, callback) {
31 const c = net.createConnection(port);
55 function testHttp11(port, callback) {
56 const c = net.createConnection(port);
81 function testClientTrailers(port, callback) {
82 http.get({ port, path: '/hello', headers: {} }, (res) => {
100 .map((f) => f(server.address().port)))
H A Dtest-https-agent-session-injection.js28 const port = this.address().port;
31 port,
44 port,
H A Dtest-https-agent-sni.js47 port: this.address().port,
57 port: this.address().port,
H A Dtest-https-client-resume.js48 port: this.address().port,
63 port: server.address().port,
H A Dtest-https-client-checkServerIdentity.js46 port: server.address().port,
58 port: server.address().port,
H A Dtest-https-server-close-all.js35 const port = server.address().port;
38 const client1 = connect({ port, rejectUnauthorized: false });
42 const client2 = connect({ port, rejectUnauthorized: false });
H A Dtest-https-simple.js58 const port = server.address().port;
62 port: port,
H A Dtest-https-socket-options.js50 port: this.address().port,
74 port: this.address().port,
/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_tcp_connection_virtual.c35 int32_t AuthOpenChannel(const char *ip, int32_t port) in AuthOpenChannel() argument
38 (void)port; in AuthOpenChannel()
68 int32_t SocketConnectDevice(const char *ip, int32_t port, bool isBlockMode) in SocketConnectDevice() argument
71 (void)port; in SocketConnectDevice()
/third_party/backends/backend/
H A Dhpsj5s.h90 /*Deselect all devices in chain on this port.*/
91 static void daisy_deselect_all (struct parport *port);
94 static int daisy_select (struct parport *port, int daisy, int mode);
96 /*Setup address for device in chain on this port*/
97 static int assign_addr (struct parport *port, int daisy);
100 static int cpp_daisy (struct parport *port, int cmd);
/third_party/libuv/test/
H A Dtest-getnameinfo.c31 static const int port = 80; variable
56 r = uv_ip4_addr(address_ip4, port, &addr4); in TEST_IMPL()
79 ASSERT_OK(uv_ip4_addr(address_ip4, port, &addr4)); in TEST_IMPL()
102 r = uv_ip6_addr(address_ip6, port, &addr6); in TEST_IMPL()
/third_party/mbedtls/tests/scripts/
H A Dtcp_client.pl34 ## Open a TCP connection to the specified host and port.
36 my ($host, $port) = @_;
38 PeerPort => $port,
41 die "Cannot connect to $host:$port: $!" unless $socket;
95 my ($host, $port, $data1, $response1) = @ARGV;
96 my $connection = open_connection($host, $port);

Completed in 9 milliseconds

12345678910>>...92