Searched refs:next_dot (Results 1 – 3 of 3) sorted by relevance
228 size_t next_dot = host.find('.', curr_start); in GetRegistryLengthImpl() local229 if (next_dot >= host_check_len) // Catches std::string::npos as well. in GetRegistryLengthImpl()252 if (next_dot == std::string::npos) { in GetRegistryLengthImpl()260 return host.length() - next_dot - 1; in GetRegistryLengthImpl()269 if (next_dot >= host_check_len) // Catches std::string::npos as well. in GetRegistryLengthImpl()273 curr_start = next_dot + 1; in GetRegistryLengthImpl()274 next_dot = host.find('.', curr_start); in GetRegistryLengthImpl()
203 const size_t next_dot = sub_domain.find('.', 1); // Skip over leading dot. in MatchesDomain() local204 sub_domain.erase(0, next_dot); in MatchesDomain()
103 std::string::size_type next_dot = host.rfind(".", position - 1); in CanonicalizeHost() local104 if (next_dot == std::string::npos) { in CanonicalizeHost()108 retval += host.substr(next_dot + 1, position - (next_dot + 1)); in CanonicalizeHost()109 position = next_dot; in CanonicalizeHost()