Searched refs:colon_offset (Results 1 – 1 of 1) sorted by relevance
75 size_t colon_offset = hostname_and_port.find_last_of(':'); in SplitHostPort() local81 colon_offset != std::string::npos && bracket_offset > colon_offset) { in SplitHostPort()82 colon_offset = std::string::npos; in SplitHostPort()85 if (colon_offset == std::string::npos) { in SplitHostPort()89 *out_hostname = hostname_and_port.substr(0, colon_offset); in SplitHostPort()90 *out_port = hostname_and_port.substr(colon_offset + 1); in SplitHostPort()