/external/chromium/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...] |
mapped_host_resolver.cc | 28 HostPortPair host_port(info.host_port_pair()); 29 if (rules_.RewriteHost(&host_port)) 30 modified_info.set_host_port_pair(host_port);
|
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 the 24 bool RewriteHost(HostPortPair* host_port) const;
|
/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,
|
slirp.c | 764 int slirp_redir_rm(int is_udp, int host_port) 768 int fport = htons(host_port); 784 int slirp_redir(int is_udp, int host_port, 788 if (!udp_listen(htons(host_port), guest_addr.s_addr, 792 if (!solisten(htons(host_port), guest_addr.s_addr,
|
/external/qemu/ |
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,
|
migration-tcp-android.c | 71 MigrationState *tcp_start_outgoing_migration(const char *host_port, 79 if (parse_host_port(&addr, host_port) < 0) 167 int tcp_start_incoming_migration(const char *host_port) 172 if (parse_host_port(&addr, host_port) < 0) { 173 fprintf(stderr, "invalid host/port combination: %s\n", host_port);
|
migration-tcp.c | 79 MigrationState *tcp_start_outgoing_migration(const char *host_port, 87 if (parse_host_port(&addr, host_port) < 0) 179 int tcp_start_incoming_migration(const char *host_port) 185 if (parse_host_port(&addr, host_port) < 0) { 186 fprintf(stderr, "invalid host/port combination: %s\n", host_port);
|
net-android.c | 912 int host_port; local 934 host_port = atoi(p); 936 n = slirp_redir_rm(is_udp, host_port); 939 is_udp ? "udp" : "tcp", host_port); 949 int host_port, guest_port; local 969 host_port = strtol(buf, &r, 0); 989 if (slirp_redir(is_udp, host_port, guest_addr, guest_port) < 0) { [all...] |
net.c | 784 int host_port; local 806 host_port = atoi(p); 808 n = slirp_redir_rm(is_udp, host_port); 811 is_udp ? "udp" : "tcp", host_port); 821 int host_port, guest_port; local 841 host_port = strtol(buf, &r, 0); 861 if (slirp_redir(is_udp, host_port, guest_addr, guest_port) < 0) { [all...] |
/external/chromium/net/http/ |
http_stream_factory.cc | 74 HostPortPair host_port(http_host_port_pair); 75 host_mapping_rules().RewriteHost(&host_port); 77 if (alternate_protocols->HasAlternateProtocolFor(host_port)) { 79 alternate_protocols->GetAlternateProtocolFor(host_port); 85 alternate_protocols->SetAlternateProtocolFor(host_port, port, protocol);
|
/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);
|
slirp.c | 1160 int slirp_redir_rm(int is_udp, int host_port) 1168 if (so->so_faddr_port == host_port) { 1179 int slirp_redir(int is_udp, int host_port, 1183 if (!udp_listen(host_port, 1188 if (!solisten(host_port, guest_ip, guest_port, 0)) 1194 int slirp_unredir(int is_udp, int host_port) 1197 return udp_unlisten( host_port ); 1199 return sounlisten( host_port ); [all...] |
/external/qemu/android/ |
console.c | 85 int host_port; member in struct:__anon9213 140 int host_port, 162 redir->host_port = host_port; 172 int host_port, 181 if ( redir->host_port == host_port && 849 redir->host_port, 905 if (redir->host_port == port && redir->host_udp == isudp) 915 int len, host_proto, host_port, guest_port local [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
rebaseline_chromium_webkit_tests_unittest.py | 359 host_port = port.get('test', options, filesystem=port.unit_test_filesystem(files)) 360 generator = rebaseline_chromium_webkit_tests.HtmlGenerator(host_port, 362 return generator, host_port 371 generator, host_port = self.make_generator(files, tests)
|
/external/chromium/net/spdy/ |
spdy_stream.cc | 437 std::string host_port; local 445 host_port = it->second; 449 std::string url = scheme + "://" + host_port + path;
|
/external/quake/quake/src/QW/qwfwd/ |
qwfwd.c | 65 int host_port; // port we are listening on
variable
|
/external/openssl/crypto/bio/ |
bio.h | 656 int BIO_get_accept_socket(char *host_port,int mode); 665 BIO *BIO_new_connect(char *host_port); 666 BIO *BIO_new_accept(char *host_port);
|
/external/openssl/include/openssl/ |
bio.h | 656 int BIO_get_accept_socket(char *host_port,int mode); 665 BIO *BIO_new_connect(char *host_port); 666 BIO *BIO_new_accept(char *host_port);
|