Home
last modified time | relevance | path

Searched refs:next_dot (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/base/
Dregistry_controlled_domain.cc240 size_t next_dot = host.find('.', curr_start); in GetRegistryLengthImpl() local
241 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()
Dcookie_monster.cc1079 const size_t next_dot = key.find('.', 1); // Skip over leading dot. in FindCookiesForHostAndDomain() local
1080 key.erase(0, next_dot); in FindCookiesForHostAndDomain()
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_base_provider.cc130 const size_t next_dot = in GetContentSetting() local
132 if (next_dot == std::string::npos) in GetContentSetting()
135 next_dot - ContentSettingsPattern::kDomainWildcardLength + 1); in GetContentSetting()
219 const size_t next_dot = in GetNonDefaultContentSettings() local
221 if (next_dot == std::string::npos) in GetNonDefaultContentSettings()
224 next_dot - ContentSettingsPattern::kDomainWildcardLength + 1); in GetNonDefaultContentSettings()
/external/chromium/chrome/browser/extensions/
Dextension_cookies_helpers.cc184 const size_t next_dot = sub_domain.find('.', 1); // Skip over leading dot. in MatchesDomain() local
185 sub_domain.erase(0, next_dot); in MatchesDomain()
/external/chromium/chrome/browser/
Dcookies_tree_model.cc118 std::string::size_type next_dot = host.rfind(".", position - 1); in CanonicalizeHost() local
119 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()