/external/libevent/sample/ |
http-connect.c | 59 struct evhttp_uri *host_port; local 80 host_port = evhttp_uri_parse(argv[2]); 81 evhttp_uri_set_scheme(host_port, NULL); 82 evhttp_uri_set_userinfo(host_port, NULL); 83 evhttp_uri_set_path(host_port, NULL); 84 evhttp_uri_set_query(host_port, NULL); 85 evhttp_uri_set_fragment(host_port, NULL); 86 VERIFY(evhttp_uri_get_host(host_port)); 87 VERIFY(evhttp_uri_get_port(host_port) > 0); 107 evhttp_uri_get_host(host_port), evhttp_uri_get_port(host_port)) [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/ |
adb.py | 194 def tcp_forward(self, host_port, device_port): 198 host_port: Port number to use on localhost 211 remote_port, local_port=host_port) 212 host_port = remote_port 213 return self.forward("tcp:%d tcp:%d" % (host_port, device_port)) 215 def remove_tcp_forward(self, host_port): 219 host_port: Port number to use on localhost 222 remote_port = self._ssh_connection.close_ssh_tunnel(host_port) 225 host_port) 228 host_port = remote_por [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/ |
forwarder.py | 70 port_pairs: A list of tuples (device_port, host_port) to forward. Note 92 '--map', str(device_port), str(host_port)] 93 for device_port, host_port in port_pairs] 121 'expected "device_port:host_port"' % output) 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) 147 port_pairs: A list of tuples (device_port, host_port) to unmap. 165 def DevicePortForHostPort(host_port) [all...] |
ports.py | 86 def IsHostPortAvailable(host_port): 90 host_port: Port on host to check. 98 s.bind(('', host_port))
|
/device/google/cuttlefish_common/common/frontend/socket_forward_proxy/ |
main.cpp | 162 int host_port; member in struct:__anon1972::PortPair 179 auto host_port = ports[index].host_port; local 180 LOG(INFO) << "starting server on " << host_port 182 auto server = cvd::SharedFD::SocketLocalServer(host_port, SOCK_STREAM); 183 CHECK(server->IsOpen()) << "Could not start server on port " << host_port; 184 LaunchConnectionMaintainer(host_port);
|
/external/chromium-trace/catapult/devil/devil/android/ |
forwarder.py | 121 port_pairs: A list of tuples (device_port, host_port) to forward. Note 143 '--map', str(device_port), str(host_port)] 144 for device_port, host_port in port_pairs] 183 'expected "device_port:host_port"' % output) 185 host_port = int(tokens[1]) 187 instance._device_to_host_port_map[serial_with_port] = host_port 188 instance._host_to_device_port_map[host_port] = serial_with_port 190 device_port, host_port) 209 port_pairs: A list of tuples (device_port, host_port) to unmap. 237 for device_serial_and_port, host_port in device_map.items() [all...] |
ports.py | 86 def IsHostPortAvailable(host_port): 90 host_port: Port on host to check. 98 s.bind(('', host_port))
|
/test/vts/utils/python/controllers/ |
adb.py | 163 def tcp_forward(self, host_port, device_port): 167 host_port: Port number to use on the computer. 170 self.forward("tcp:{} tcp:{}".format(host_port, device_port)) 172 def reverse_tcp_forward(self, device_port, host_port): 177 host_port: Port number to use on the computer. 179 self.reverse("tcp:{} tcp:{}".format(device_port, host_port))
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
sl4a_session.py | 52 host_port, 64 host_port: The port the host machine uses to connect to the SL4A 85 connection_creator = self._rpc_connection_creator(host_port) 93 def _rpc_connection_creator(self, host_port): 96 ports=sl4a_ports.Sl4aPorts(host_port, 0, self.server_port), 150 ports: A Sl4aPorts object or a tuple of (host_port, 182 # errno.EADDRNOTAVAIL can be raised when a desired host_port is 184 # Note that if host_port is set to zero, there is no bind before
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_channel.cc | 45 Status ValidateHostPortPair(const string& host_port) { 47 std::vector<string> parts = str_util::Split(host_port, ':'); 51 return errors::InvalidArgument("Could not interpret \"", host_port, 252 const string host_port = TranslateTask(target); variable 253 if (host_port.empty()) { 256 return channel_func_(host_port);
|
grpc_server_lib.cc | 257 string& host_port = host_ports[task.first]; local 258 if (!host_port.empty()) { 261 task.first, "\": ", host_port, " and ", 265 host_port = strings::StrCat("localhost:", bound_port_); 267 host_port = task.second; 295 const string host_port = channel_cache->TranslateTask(name_prefix); local 298 if (!strings::safe_strto32(str_util::Split(host_port, ':')[1],
|
/external/tensorflow/tensorflow/contrib/tpu/profiler/ |
capture_tpu_profile.cc | 51 Status ValidateHostPortPair(const string& host_port) { 53 std::vector<string> parts = str_util::Split(host_port, ':'); 58 return errors::InvalidArgument("Could not interpret \"", host_port,
|
/external/tensorflow/tensorflow/contrib/cloud/python/ops/ |
bigquery_reader_ops_test.py | 115 self.host_port = "{}:{}".format(*self.httpd.server_address) 118 self.host_port = "[{}]:{}".format(*self.httpd.server_address) 187 logging.info("server address is %s", self.server.host_port) 216 test_end_point=self.server.host_port) 265 test_end_point=self.server.host_port)
|
/external/autotest/server/hosts/ |
abstract_ssh.py | 123 def host_port(self): member in class:AbstractSSHHost 174 self.host_port) 670 logging.debug('Host %s is now up', self.host_port) 675 self.host_port, e, 682 self.host_port, int(timeout + time.time() - end_time)) 726 self.host_port, old_boot_id) 748 self.host_port) 756 'have rebooted', self.host_port, new_boot_id) [all...] |
ssh_host.py | 438 self.host_port, self.user)
|
/external/tensorflow/tensorflow/contrib/verbs/ |
verbs_server_lib.cc | 61 const string host_port = (*channel_cache)->TranslateTask(name_prefix); local 64 if (!strings::safe_strto32(str_util::Split(host_port, ':')[1],
|
/external/curl/lib/ |
http_proxy.c | 206 char *host_port; local 224 host_port = aprintf("%s:%hu", hostname, remote_port); 225 if(!host_port) { 231 result = Curl_http_output_auth(conn, "CONNECT", host_port, TRUE); 233 free(host_port);
|
/external/autotest/server/cros/ |
telemetry_runner.py | 141 self._host.host_port) 143 self._host.host_port) 219 '--remote=%s' % self._host.host_port])
|
/frameworks/rs/tests/lldb/ |
run_tests.py | 183 self.host_port = int(_choice(args.host_port, config.host_port)) 499 hport = int(state.host_port) + state.port_mod
|
/external/python/cpython2/Demo/rpc/ |
rpc.py | 815 call, host_port = self.sock.recvfrom(8192) 818 self.sock.sendto(reply, host_port)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urllib.py | [all...] |
/external/python/cpython2/Lib/ |
urllib.py | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
urllib.py | [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
urllib.py | [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | [all...] |