HomeSort by relevance Sort by last modified time
    Searched refs:host_port (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/net/base/
host_mapping_rules_unittest.cc 19 HostPortPair host_port("test", 1234);
20 EXPECT_FALSE(rules.RewriteHost(&host_port));
21 EXPECT_EQ("test", host_port.host());
22 EXPECT_EQ(1234u, host_port.port());
24 host_port = HostPortPair("chrome.net", 80);
25 EXPECT_TRUE(rules.RewriteHost(&host_port));
26 EXPECT_EQ("bar", host_port.host());
27 EXPECT_EQ(60u, host_port.port());
29 host_port = HostPortPair("crack.com", 80);
30 EXPECT_TRUE(rules.RewriteHost(&host_port));
    [all...]
host_mapping_rules.cc 32 bool HostMappingRules::RewriteHost(HostPortPair* host_port) const {
37 if (MatchPattern(host_port->host(), rule.hostname_pattern))
53 if (!MatchPattern(host_port->host(), rule.hostname_pattern)) {
54 std::string host_port_string = host_port->ToString();
59 host_port->set_host(rule.replacement_hostname);
61 host_port->set_port(rule.replacement_port);
host_mapping_rules.h 22 // Modifies |*host_port| based on the current rules. Returns true if
23 // |*host_port| was modified, false otherwise.
24 bool RewriteHost(HostPortPair* host_port) const;
  /external/chromium_org/tools/telemetry/telemetry/core/forwarders/
__init__.py 39 def host_port(self): member in class:Forwarder
48 assert self.host_ip and self.host_port
49 return 'http://%s:%i' % (self.host_ip, self.host_port)
cros_forwarder.py 53 lambda: self._cri.IsHTTPServerRunningOnPort(self.host_port), 60)
54 logging.debug('Server started on %s:%d', self.host_ip, self.host_port)
57 def host_port(self): member in class:CrOsSshForwarder
  /external/chromium_org/ppapi/proxy/
host_resolver_resource_base.cc 46 HostPortPair host_port; local
47 host_port.host = host;
48 host_port.port = port;
50 SendResolve(host_port, hint);
100 const HostPortPair& host_port,
102 PpapiHostMsg_HostResolver_Resolve msg(host_port, *hint);
host_resolver_resource_base.h 53 void SendResolve(const HostPortPair& host_port,
  /external/chromium_org/net/dns/
mapped_host_resolver.cc 63 HostPortPair host_port(info->host_port_pair());
64 if (rules_.RewriteHost(&host_port)) {
65 if (host_port.host() == "~NOTFOUND")
67 info->set_host_port_pair(host_port);
  /external/chromium_org/net/http/
http_stream_factory.cc 88 HostPortPair host_port(http_host_port_pair);
91 mapping_rules->RewriteHost(&host_port);
93 if (http_server_properties->HasAlternateProtocol(host_port)) {
95 http_server_properties->GetAlternateProtocol(host_port);
101 http_server_properties->SetAlternateProtocol(host_port, port, protocol,
  /external/chromium_org/chrome/browser/local_discovery/
privet_http_asynchronous_factory_mac.cc 31 const net::HostPortPair& host_port,
35 host_port_(host_port),
privet_http_asynchronous_factory_mac.h 29 const net::HostPortPair& host_port,
  /external/chromium_org/tools/android/forwarder2/
host_controller.h 42 int host_port,
58 int host_port,
host_forwarder_main.cc 106 int host_port,
114 base::Unretained(this), device_serial, device_port, host_port,
160 int host_port,
183 if (host_port < 0) {
193 << " to host port " << host_port; local
194 SendMessage(base::StringPrintf("%d:%d", device_port, host_port),
202 device_port, host_port, adb_port, GetExitNotifierFD(),
213 << host_port; local
214 const std::string msg = base::StringPrintf("%d:%d", device_port, host_port);
341 int host_port; variable
    [all...]
host_controller.cc 23 int host_port,
51 device_port_allocated, host_port, adb_port, exit_notifier_fd,
69 int host_port,
77 host_port_(host_port),
  /external/qemu/slirp/
libslirp.h 25 int slirp_redir_rm(int is_udp, int host_port);
26 int slirp_redir(int is_udp, int host_port,
  /external/qemu/include/migration/
migration.h 64 int exec_start_incoming_migration(const char *host_port);
66 MigrationState *exec_start_outgoing_migration(const char *host_port,
70 int tcp_start_incoming_migration(const char *host_port);
72 MigrationState *tcp_start_outgoing_migration(const char *host_port,
  /external/qemu/slirp-android/
libslirp.h 101 int slirp_redir_rm(int is_udp, int host_port);
102 int slirp_redir(int is_udp, int host_port,
105 int slirp_unredir(int is_udp, int host_port);
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_host_resolver_message_filter.h 59 const ppapi::HostPortPair& host_port,
65 const ppapi::HostPortPair& host_port,
pepper_host_resolver_message_filter.cc 119 const ppapi::HostPortPair& host_port,
125 SocketPermissionRequest::RESOLVE_HOST, host_port.host, host_port.port);
148 host_port,
156 const ppapi::HostPortPair& host_port,
168 net::HostPortPair(host_port.host, host_port.port));
  /external/chromium_org/build/android/pylib/
forwarder.py 70 port_pairs: A list of tuples (device_port, host_port) to forward. Note
94 str(host_port)] for device_port, host_port in port_pairs]
113 'expected "device_port:host_port"' % output)
115 host_port = int(tokens[1])
117 instance._device_to_host_port_map[serial_with_port] = host_port
118 instance._host_to_device_port_map[host_port] = serial_with_port
120 device_port, host_port)
142 port_pairs: A list of tuples (device_port, host_port) to unmap.
163 def DevicePortForHostPort(host_port)
    [all...]
chrome_test_server_spawner.py 124 self.host_port = self.arguments['port']
125 assert isinstance(self.host_port, int)
138 by self.pipe_out. It is written as a result to |self.host_port|.
143 assert self.host_port == 0 and self.pipe_out and self.pipe_in
169 self.host_port = port_json['port']
170 return _CheckPortStatus(self.host_port, True)
192 assert self.host_port == args_copy['port']
193 if self.host_port == 0:
239 self.is_ready = _CheckPortStatus(self.host_port, True)
241 Forwarder.Map([(0, self.host_port)], self.device, self.tool
    [all...]
ports.py 83 def IsHostPortUsed(host_port):
89 host_port: Port on host we want to check.
94 port_info = '(\*)|(127\.0\.0\.1)|(localhost):%d' % host_port
99 if re_port.search(cmd_helper.GetCmdOutput(['lsof', '-nPi:%d' % host_port])):
  /external/chromium_org/chrome/browser/supervised_user/
supervised_user_browsertest.cc 121 std::string host_port = test_server()->host_port_pair().ToString(); variable
123 "MAP *.example.com " + host_port + "," +
124 "MAP *.new-example.com " + host_port + "," +
125 "MAP *.a.com " + host_port);
  /external/chromium_org/net/spdy/
spdy_http_utils.cc 215 std::string host_port; local
223 host_port = it->second;
228 std::string url = (scheme.empty() || host_port.empty() || path.empty())
230 : scheme + "://" + host_port + path;
  /external/chromium_org/chrome/browser/extensions/
webstore_installer_test.cc 60 net::HostPortPair host_port = test_server()->host_port_pair(); local
63 webstore_domain_.c_str(), host_port.port(), test_data_path_.c_str());

Completed in 859 milliseconds

1 2