Home
last modified time | relevance | path

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

/external/chromium-trace/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/telemetry/telemetry/internal/forwarders/
D__init__.py60 def host_port(self): member in Forwarder
73 assert self.host_ip and self.host_port
74 return 'http://%s:%i' % (self.host_ip, self.host_port)
Dcros_forwarder.py41 lambda: self._cri.IsHTTPServerRunningOnPort(self.host_port), 60)
42 logging.debug('Server started on %s:%d', self.host_ip, self.host_port)
54 def host_port(self): member in CrOsSshForwarder
/external/autotest/client/tests/kvm/deps/
Dheartbeat_slu.py146 host_port = 9001 variable
172 host_port = int(value) variable
202 run_server(host_address, host_port, is_daemon, file_server, queue_size, threshold, check_drift)
205 run_client(host_address, host_port, is_daemon, file_client, interval)
/external/curl/lib/
Dhttp_proxy.c118 char *host_port; in Curl_proxyCONNECT() local
136 host_port = aprintf("%s:%hu", hostname, remote_port); in Curl_proxyCONNECT()
137 if(!host_port) { in Curl_proxyCONNECT()
143 result = Curl_http_output_auth(conn, "CONNECT", host_port, TRUE); in Curl_proxyCONNECT()
145 free(host_port); in Curl_proxyCONNECT()
/external/libweave/src/notification/
Dxmpp_channel.cc291 std::pair<std::string, std::string> host_port = in CreateSslSocket() local
293 CHECK(!host_port.first.empty()); in CreateSslSocket()
294 CHECK(!host_port.second.empty()); in CreateSslSocket()
296 CHECK(base::StringToUint(host_port.second, &port)) << xmpp_endpoint_; in CreateSslSocket()
298 network_->OpenSslSocket(host_port.first, port, in CreateSslSocket()
/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py477 def ForwardHostToDevice(self, host_port, device_port): argument
478 self._device.adb.Forward('tcp:%d' % host_port, device_port)
480 def StopForwardingHost(self, host_port): argument
483 if line[0] == self._device and line[1] == 'tcp:%s' % host_port:
484 self._device.adb.ForwardRemove('tcp:%d' % host_port)
488 host_port, self._device)
/external/autotest/client/virt/
Dkvm_vm.py294 for host_port, guest_port in hostfwd:
295 cmd += ",hostfwd=tcp::%s-:%s" % (host_port, guest_port)
315 def add_tcp_redir(help, host_port, guest_port): argument
320 return " -redir tcp:%s::%s" % (host_port, guest_port)
452 host_port = vm.redirs.get(guest_port)
453 redirs += [(host_port, guest_port)]
543 for host_port, guest_port in redirs:
544 qemu_cmd += add_tcp_redir(help, host_port, guest_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)
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
D__init__.py756 ident, host_port = url[1].split('@', 1)
762 host_port = url[1]
763 if ':' in host_port:
764 host, port = host_port.split(':', 1)
766 host = host_port
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
D__init__.py822 ident, host_port = url[1].split('@', 1)
828 host_port = url[1]
829 if ':' in host_port:
830 host, port = host_port.split(':', 1)
832 host = host_port
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_api.py209 self.host_port = ''
211 self.host_port = ':' + config.get('Credentials', 'gs_json_port')
215 self.url_base = (self.http_base + self.host_base + self.host_port + '/' +
/external/chromium-trace/catapult/third_party/WebOb/webob/
Drequest.py410 def host_port(self): member in BaseRequest
/external/chromium-trace/catapult/third_party/WebOb/docs/
Dnews.txt266 * Added ``request.host_port`` API (returns port number implied by HTTP_HOST,