Home
last modified time | relevance | path

Searched refs:host_port (Results 1 – 12 of 12) sorted by relevance

/external/libmojo/third_party/catapult/devil/devil/android/
Dforwarder.py92 '--map', str(device_port), str(host_port)]
93 for device_port, host_port in port_pairs]
123 host_port = int(tokens[1])
125 instance._device_to_host_port_map[serial_with_port] = host_port
126 instance._host_to_device_port_map[host_port] = serial_with_port
128 device_port, host_port)
165 def DevicePortForHostPort(host_port): argument
169 None)._host_to_device_port_map.get(host_port)
239 host_port = instance._device_to_host_port_map[serial_with_port]
241 del instance._host_to_device_port_map[host_port]
Dports.py86 def IsHostPortAvailable(host_port): argument
98 s.bind(('', host_port))
/external/chromium-trace/catapult/devil/devil/android/
Dforwarder.py136 '--map', str(device_port), str(host_port)]
137 for device_port, host_port in port_pairs]
177 host_port = int(tokens[1])
179 instance._device_to_host_port_map[serial_with_port] = host_port
180 instance._host_to_device_port_map[host_port] = serial_with_port
182 device_port, host_port)
229 for device_serial_and_port, host_port in device_map.items():
233 del host_map[host_port]
240 def DevicePortForHostPort(host_port): argument
244 None)._host_to_device_port_map.get(host_port)
[all …]
Dports.py86 def IsHostPortAvailable(host_port): argument
98 s.bind(('', host_port))
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/
D__init__.py37 def host_port(self): member in Forwarder
50 assert self.host_ip and self.host_port
51 return 'http://%s:%i' % (self.host_ip, self.host_port)
Dcros_forwarder.py42 lambda: self._cri.IsHTTPServerRunningOnPort(self.host_port), 60)
43 logging.debug('Server started on %s:%d', self.host_ip, self.host_port)
57 def host_port(self): member in CrOsSshForwarder
/external/curl/lib/
Dhttp_proxy.c132 char *host_port; in Curl_proxyCONNECT() local
150 host_port = aprintf("%s:%hu", hostname, remote_port); in Curl_proxyCONNECT()
151 if(!host_port) { in Curl_proxyCONNECT()
157 result = Curl_http_output_auth(conn, "CONNECT", host_port, TRUE); in Curl_proxyCONNECT()
159 free(host_port); in Curl_proxyCONNECT()
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Ddevtools_http.py42 host_port = '127.0.0.1:%i' % self._devtools_port
43 self._conn = httplib.HTTPConnection(host_port, timeout=timeout)
/external/openssh/
Dchannels.c1138 c->host_port = ntohs(s4_req.dest_port); in channel_decode_socks4()
1141 c->self, c->path, c->host_port, s4_req.command); in channel_decode_socks4()
1264 c->host_port = ntohs(dest_port); in channel_decode_socks5()
1267 c->self, c->path, c->host_port, s5_req.command); in channel_decode_socks5()
1295 c->host_port = port_to_connect; in channel_connect_stdio_fwd()
1433 rtype, c->listening_port, c->path, c->host_port, in port_open_helper()
1448 packet_put_int(c->host_port); in port_open_helper()
1473 packet_put_int(c->host_port); in port_open_helper()
1518 c->listening_port, c->path, c->host_port); in channel_post_port_listener()
1526 } else if (c->host_port == PORT_STREAMLOCAL) { in channel_post_port_listener()
[all …]
Dchannels.h128 int host_port; /* remote port to connect for forwards */ member
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py506 def ForwardHostToDevice(self, host_port, device_port): argument
507 self._device.adb.Forward('tcp:%d' % host_port, device_port)
509 def StopForwardingHost(self, host_port): argument
515 self._device.adb.ForwardRemove('tcp:%d' % host_port)
518 'Attempted to unforward port tcp:%d but failed.', host_port)
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py155 def __init__(self, host_port, handler, paths): argument
156 BaseHTTPServer.HTTPServer.__init__(self, host_port, handler)