GetRegistryLengthFromHost 197 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromHost("a.baz.jp", GetRegistryLengthFromHost 199 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromHost("a.baz.jp.", GetRegistryLengthFromHost 201 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("ac.jp", GetRegistryLengthFromHost 203 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("a.bar.jp", GetRegistryLengthFromHost 205 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("bar.jp", GetRegistryLengthFromHost 207 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("baz.bar.jp", GetRegistryLengthFromHost 209 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(12U, GetRegistryLengthFromHost("a.b.baz.bar.jp", GetRegistryLengthFromHost 211 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(6U, GetRegistryLengthFromHost("baz.pref.bar.jp", GetRegistryLengthFromHost 213 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(11U, GetRegistryLengthFromHost("a.b.bar.baz.com", GetRegistryLengthFromHost 215 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromHost("a.d.c", GetRegistryLengthFromHost 217 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromHost(".a.d.c", GetRegistryLengthFromHost 219 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromHost("..a.d.c", GetRegistryLengthFromHost 221 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(1U, GetRegistryLengthFromHost("a.b.c", GetRegistryLengthFromHost 223 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("baz.com", GetRegistryLengthFromHost 225 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("baz.com.", GetRegistryLengthFromHost 227 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromHost("baz.com", GetRegistryLengthFromHost 229 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(4U, GetRegistryLengthFromHost("baz.com.", GetRegistryLengthFromHost 233 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc GetRegistryLengthFromHost(std::string(), EXCLUDE_UNKNOWN_REGISTRIES)); GetRegistryLengthFromHost 234 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("foo.com..", GetRegistryLengthFromHost 236 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("..", GetRegistryLengthFromHost 238 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("192.168.0.1", GetRegistryLengthFromHost 240 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("localhost", GetRegistryLengthFromHost 242 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("localhost", GetRegistryLengthFromHost 244 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("localhost.", GetRegistryLengthFromHost 246 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromHost("localhost.",