Home
last modified time | relevance | path

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

/external/libevent/sample/
Dhttp-connect.c59 struct evhttp_uri *host_port; in main() local
80 host_port = evhttp_uri_parse(argv[2]); in main()
81 evhttp_uri_set_scheme(host_port, NULL); in main()
82 evhttp_uri_set_userinfo(host_port, NULL); in main()
83 evhttp_uri_set_path(host_port, NULL); in main()
84 evhttp_uri_set_query(host_port, NULL); in main()
85 evhttp_uri_set_fragment(host_port, NULL); in main()
86 VERIFY(evhttp_uri_get_host(host_port)); in main()
87 VERIFY(evhttp_uri_get_port(host_port) > 0); in main()
107 evhttp_uri_get_host(host_port), evhttp_uri_get_port(host_port)); in main()
[all …]
/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.py143 '--map', str(device_port), str(host_port)]
144 for device_port, host_port in port_pairs]
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)
237 for device_serial_and_port, host_port in device_map.items():
241 del host_map[host_port]
248 def DevicePortForHostPort(host_port): argument
252 None)._host_to_device_port_map.get(host_port)
[all …]
Dports.py86 def IsHostPortAvailable(host_port): argument
98 s.bind(('', host_port))
/external/autotest/server/hosts/
Dabstract_ssh.py123 def host_port(self): member in 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)
784 logging.info('Pinging host ' + self.host_port)
786 logging.info("Host (ssh) %s is alive", self.host_port)
[all …]
Dssh_host.py438 self.host_port, self.user)
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc45 Status ValidateHostPortPair(const string& host_port) { in ValidateHostPortPair() argument
47 std::vector<string> parts = str_util::Split(host_port, ':'); in ValidateHostPortPair()
51 return errors::InvalidArgument("Could not interpret \"", host_port, in ValidateHostPortPair()
252 const string host_port = TranslateTask(target); in FindChannelOnce() local
253 if (host_port.empty()) { in FindChannelOnce()
256 return channel_func_(host_port); in FindChannelOnce()
Dgrpc_server_lib.cc257 string& host_port = host_ports[task.first]; in ParseChannelSpec() local
258 if (!host_port.empty()) { in ParseChannelSpec()
261 task.first, "\": ", host_port, " and ", in ParseChannelSpec()
265 host_port = strings::StrCat("localhost:", bound_port_); in ParseChannelSpec()
267 host_port = task.second; in ParseChannelSpec()
295 const string host_port = channel_cache->TranslateTask(name_prefix); in WorkerCacheFactory() local
298 if (!strings::safe_strto32(str_util::Split(host_port, ':')[1], in WorkerCacheFactory()
/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dbigquery_reader_ops_test.py115 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/tensorflow/tensorflow/contrib/tpu/profiler/
Dcapture_tpu_profile.cc51 Status ValidateHostPortPair(const string& host_port) { in ValidateHostPortPair() argument
53 std::vector<string> parts = str_util::Split(host_port, ':'); in ValidateHostPortPair()
58 return errors::InvalidArgument("Could not interpret \"", host_port, in ValidateHostPortPair()
/external/curl/lib/
Dhttp_proxy.c206 char *host_port; in CONNECT() local
224 host_port = aprintf("%s:%hu", hostname, remote_port); in CONNECT()
225 if(!host_port) { in CONNECT()
231 result = Curl_http_output_auth(conn, "CONNECT", host_port, TRUE); in CONNECT()
233 free(host_port); in CONNECT()
/external/tensorflow/tensorflow/contrib/verbs/
Dverbs_server_lib.cc61 const string host_port = (*channel_cache)->TranslateTask(name_prefix); in ChannelCacheFactory() local
64 if (!strings::safe_strto32(str_util::Split(host_port, ':')[1], in ChannelCacheFactory()
/external/autotest/server/cros/
Dtelemetry_runner.py141 self._host.host_port)
143 self._host.host_port)
219 '--remote=%s' % self._host.host_port])
/external/python/cpython2/Doc/library/
Dsmtpd.rst27 *localaddr* and *remoteaddr* should be a :ref:`(host, port) <host_port>`
/external/python/cpython3/Lib/urllib/
Dparse.py939 host_port, path = match.groups()
942 return host_port, path
/external/python/cpython2/Demo/rpc/
Drpc.py815 call, host_port = self.sock.recvfrom(8192)
818 self.sock.sendto(reply, host_port)
/external/python/cpython2/Lib/
Durllib.py1101 host_port = match.group(1)
1105 return host_port, path
/external/python/cpython3/Doc/library/
Dsmtpd.rst42 *localaddr* and *remoteaddr* should be a :ref:`(host, port) <host_port>`