/external/chromium-trace/catapult/devil/devil/android/ |
D | forwarder.py | 93 '--map', str(device_port), str(host_port)] 94 for device_port, host_port in port_pairs] 124 host_port = int(tokens[1]) 126 instance._device_to_host_port_map[serial_with_port] = host_port 127 instance._host_to_device_port_map[host_port] = serial_with_port 129 device_port, host_port) 166 def DevicePortForHostPort(host_port): argument 170 None)._host_to_device_port_map.get(host_port) 240 host_port = instance._device_to_host_port_map[serial_with_port] 242 del instance._host_to_device_port_map[host_port]
|
D | ports.py | 84 def IsHostPortAvailable(host_port): argument 96 s.bind(('', host_port))
|
/external/v8/build/android/pylib/ |
D | chrome_test_server_spawner.py | 122 self.host_port = self.arguments['port'] 123 assert isinstance(self.host_port, int) 141 assert self.host_port == 0 and self.pipe_out and self.pipe_in 167 self.host_port = port_json['port'] 168 return _CheckPortNotAvailable(self.host_port) 190 assert self.host_port == args_copy['port'] 191 if self.host_port == 0: 244 self.is_ready = _CheckPortNotAvailable(self.host_port) 246 forwarder.Forwarder.Map([(0, self.host_port)], self.device, self.tool) 249 device_port = forwarder.Forwarder.DevicePortForHostPort(self.host_port) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
D | __init__.py | 37 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)
|
D | cros_forwarder.py | 41 lambda: self._cri.IsHTTPServerRunningOnPort(self.host_port), 60) 42 logging.debug('Server started on %s:%d', self.host_ip, self.host_port) 56 def host_port(self): member in CrOsSshForwarder
|
/external/autotest/client/tests/kvm/deps/ |
D | heartbeat_slu.py | 146 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/libweave/src/notification/ |
D | xmpp_channel.cc | 291 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/curl/lib/ |
D | http_proxy.c | 132 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/ |
D | devtools_http.py | 42 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/ |
D | android_platform_backend.py | 481 def ForwardHostToDevice(self, host_port, device_port): argument 482 self._device.adb.Forward('tcp:%d' % host_port, device_port) 484 def StopForwardingHost(self, host_port): argument 487 if line[0] == self._device and line[1] == 'tcp:%s' % host_port: 488 self._device.adb.ForwardRemove('tcp:%d' % host_port) 492 host_port, self._device)
|
/external/autotest/client/virt/ |
D | kvm_vm.py | 294 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/lldb/source/Plugins/Process/gdb-remote/ |
D | ProcessGDBRemote.cpp | 640 char host_port[128]; in DoLaunch() local 641 snprintf (host_port, sizeof(host_port), "localhost:%u", get_random_port ()); in DoLaunch() 643 snprintf (connect_url, sizeof(connect_url), "connect://%s", host_port); in DoLaunch() 648 error = StartDebugserverProcess (host_port, launch_info); in DoLaunch() 952 char host_port[128]; in DoAttachToProcessWithID() local 953 snprintf (host_port, sizeof(host_port), "localhost:%u", get_random_port ()); in DoAttachToProcessWithID() 955 snprintf (connect_url, sizeof(connect_url), "connect://%s", host_port); in DoAttachToProcessWithID() 957 error = StartDebugserverProcess (host_port, attach_info); in DoAttachToProcessWithID() 1017 char host_port[128]; in DoAttachToProcessWithName() local 1018 snprintf (host_port, sizeof(host_port), "localhost:%u", get_random_port ()); in DoAttachToProcessWithName() [all …]
|
D | ProcessGDBRemote.h | 366 ConnectToDebugserver (const char *host_port);
|
/external/openssh/ |
D | channels.c | 1138 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 …]
|
D | channels.h | 128 int host_port; /* remote port to connect for forwards */ member
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | memory_cache_http_server.py | 155 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__.py | 756 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__.py | 822 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/ |
D | gcs_json_api.py | 209 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/ |
D | request.py | 410 def host_port(self): member in BaseRequest
|
/external/chromium-trace/catapult/third_party/WebOb/docs/ |
D | news.txt | 266 * Added ``request.host_port`` API (returns port number implied by HTTP_HOST,
|