Home
last modified time | relevance | path

Searched refs:hostname_and_port (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/tool/
Dtransport_common.cc88 const std::string &hostname_and_port) { in SplitHostPort() argument
89 size_t colon_offset = hostname_and_port.find_last_of(':'); in SplitHostPort()
90 const size_t bracket_offset = hostname_and_port.find_last_of(']'); in SplitHostPort()
100 *out_hostname = hostname_and_port; in SplitHostPort()
103 *out_hostname = hostname_and_port.substr(0, colon_offset); in SplitHostPort()
104 *out_port = hostname_and_port.substr(colon_offset + 1); in SplitHostPort()
138 bool Connect(int *out_sock, const std::string &hostname_and_port) { in Connect() argument
140 SplitHostPort(&hostname, &port, hostname_and_port); in Connect()
944 bool DoHTTPTunnel(int sock, const std::string &hostname_and_port) { in DoHTTPTunnel() argument
946 SplitHostPort(&hostname, &port, hostname_and_port); in DoHTTPTunnel()
Dtransport_common.h29 bool Connect(int *out_sock, const std::string &hostname_and_port);
69 bool DoHTTPTunnel(int sock, const std::string &hostname_and_port);