Home
last modified time | relevance | path

Searched refs:colon_offset (Results 1 – 3 of 3) sorted by relevance

/external/openscreen/third_party/mozilla/
Durl_parse.cc72 int colon_offset = 0; in ParseUserInfo() local
73 while (colon_offset < user.len && spec[user.begin + colon_offset] != ':') in ParseUserInfo()
74 colon_offset++; in ParseUserInfo()
76 if (colon_offset < user.len) { in ParseUserInfo()
78 *username = Component(user.begin, colon_offset); in ParseUserInfo()
79 *password = MakeRange(user.begin + colon_offset + 1, user.begin + user.len); in ParseUserInfo()
/external/rust/crates/quiche/deps/boringssl/src/tool/
Dtransport_common.cc93 size_t colon_offset = hostname_and_port.find_last_of(':'); in SplitHostPort() local
99 colon_offset != std::string::npos && bracket_offset > colon_offset) { in SplitHostPort()
100 colon_offset = std::string::npos; in SplitHostPort()
103 if (colon_offset == std::string::npos) { in SplitHostPort()
107 *out_hostname = hostname_and_port.substr(0, colon_offset); in SplitHostPort()
108 *out_port = hostname_and_port.substr(colon_offset + 1); in SplitHostPort()
/external/boringssl/src/tool/
Dtransport_common.cc93 size_t colon_offset = hostname_and_port.find_last_of(':'); in SplitHostPort() local
99 colon_offset != std::string::npos && bracket_offset > colon_offset) { in SplitHostPort()
100 colon_offset = std::string::npos; in SplitHostPort()
103 if (colon_offset == std::string::npos) { in SplitHostPort()
107 *out_hostname = hostname_and_port.substr(0, colon_offset); in SplitHostPort()
108 *out_port = hostname_and_port.substr(colon_offset + 1); in SplitHostPort()