Searched refs:colon_offset (Results 1 – 4 of 4) sorted by relevance
141 size_t colon_offset = line.find(':'); in PrintShortHelp() local143 if (colon_offset != std::string::npos) { in PrintShortHelp()144 OutputString(" " + line.substr(0, colon_offset), DECORATION_YELLOW); in PrintShortHelp()145 first_normal = colon_offset; in PrintShortHelp()
57 const size_t colon_offset = hostname_and_port.find_last_of(':'); in Connect() local60 if (colon_offset == std::string::npos) { in Connect()64 hostname = hostname_and_port.substr(0, colon_offset); in Connect()65 port = hostname_and_port.substr(colon_offset + 1); in Connect()
76 int colon_offset = 0; in ParseUserInfo() local77 while (colon_offset < user.len && spec[user.begin + colon_offset] != ':') in ParseUserInfo()78 colon_offset++; in ParseUserInfo()80 if (colon_offset < user.len) { in ParseUserInfo()82 *username = Component(user.begin, colon_offset); in ParseUserInfo()83 *password = MakeRange(user.begin + colon_offset + 1, in ParseUserInfo()
145 int colon_offset = scheme.end(); in DoIsRelativeURL() local155 int num_slashes = CountConsecutiveSlashes(url, colon_offset + 1, url_len); in DoIsRelativeURL()161 *relative_component = MakeRange(colon_offset + 1, url_len); in DoIsRelativeURL()