Home
last modified time | relevance | path

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

/external/chromium_org/net/base/registry_controlled_domains/
Dregistry_controlled_domain.cc228 size_t next_dot = host.find('.', curr_start); in GetRegistryLengthImpl() local
229 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()
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_helpers.cc203 const size_t next_dot = sub_domain.find('.', 1); // Skip over leading dot. in MatchesDomain() local
204 sub_domain.erase(0, next_dot); in MatchesDomain()
/external/chromium_org/chrome/browser/browsing_data/
Dcookies_tree_model.cc103 std::string::size_type next_dot = host.rfind(".", position - 1); in CanonicalizeHost() local
104 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()