Searched refs:colon_offset (Results 1 – 1 of 1) sorted by relevance
89 size_t colon_offset = hostname_and_port.find_last_of(':'); in SplitHostPort() local95 colon_offset != std::string::npos && bracket_offset > colon_offset) { in SplitHostPort()96 colon_offset = std::string::npos; in SplitHostPort()99 if (colon_offset == std::string::npos) { 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()