Searched refs:next_dot (Results 1 – 5 of 5) sorted by relevance
240 size_t next_dot = host.find('.', curr_start); in GetRegistryLengthImpl() local241 if (next_dot >= host_check_len) // Catches std::string::npos as well. in GetRegistryLengthImpl()263 if (next_dot == std::string::npos) { in GetRegistryLengthImpl()271 return host.length() - next_dot - 1; in GetRegistryLengthImpl()280 if (next_dot >= host_check_len) // Catches std::string::npos as well. in GetRegistryLengthImpl()284 curr_start = next_dot + 1; in GetRegistryLengthImpl()285 next_dot = host.find('.', curr_start); in GetRegistryLengthImpl()
1079 const size_t next_dot = key.find('.', 1); // Skip over leading dot. in FindCookiesForHostAndDomain() local1080 key.erase(0, next_dot); in FindCookiesForHostAndDomain()
130 const size_t next_dot = in GetContentSetting() local132 if (next_dot == std::string::npos) in GetContentSetting()135 next_dot - ContentSettingsPattern::kDomainWildcardLength + 1); in GetContentSetting()219 const size_t next_dot = in GetNonDefaultContentSettings() local221 if (next_dot == std::string::npos) in GetNonDefaultContentSettings()224 next_dot - ContentSettingsPattern::kDomainWildcardLength + 1); in GetNonDefaultContentSettings()
184 const size_t next_dot = sub_domain.find('.', 1); // Skip over leading dot. in MatchesDomain() local185 sub_domain.erase(0, next_dot); in MatchesDomain()
118 std::string::size_type next_dot = host.rfind(".", position - 1); in CanonicalizeHost() local119 if (next_dot == std::string::npos) { in CanonicalizeHost()123 retval += host.substr(next_dot + 1, position - (next_dot + 1)); in CanonicalizeHost()124 position = next_dot; in CanonicalizeHost()