GetRegistryLengthFromURL 135 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromURL("http://a.baz.jp/file.html", GetRegistryLengthFromURL 137 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://a.baz.jp./file.html", GetRegistryLengthFromURL 139 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://ac.jp", GetRegistryLengthFromURL 141 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://a.bar.jp", GetRegistryLengthFromURL 143 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://bar.jp", GetRegistryLengthFromURL 145 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://baz.bar.jp", GetRegistryLengthFromURL 147 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(12U, GetRegistryLengthFromURL("http://a.b.baz.bar.jp", GetRegistryLengthFromURL 149 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(6U, GetRegistryLengthFromURL("http://baz.pref.bar.jp", GetRegistryLengthFromURL 151 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(11U, GetRegistryLengthFromURL("http://a.b.bar.baz.com", GetRegistryLengthFromURL 153 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://a.d.c", GetRegistryLengthFromURL 155 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://.a.d.c", GetRegistryLengthFromURL 157 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://..a.d.c", GetRegistryLengthFromURL 159 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(1U, GetRegistryLengthFromURL("http://a.b.c", GetRegistryLengthFromURL 161 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://baz.com", GetRegistryLengthFromURL 163 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://baz.com.", GetRegistryLengthFromURL 165 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://baz.com", GetRegistryLengthFromURL 167 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(4U, GetRegistryLengthFromURL("http://baz.com.", GetRegistryLengthFromURL 171 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc GetRegistryLengthFromURL(std::string(), EXCLUDE_UNKNOWN_REGISTRIES)); GetRegistryLengthFromURL 173 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc GetRegistryLengthFromURL("http://", EXCLUDE_UNKNOWN_REGISTRIES)); GetRegistryLengthFromURL 175 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc GetRegistryLengthFromURL("file:///C:/file.html", GetRegistryLengthFromURL 177 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://foo.com..", GetRegistryLengthFromURL 179 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://...", GetRegistryLengthFromURL 181 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://192.168.0.1", GetRegistryLengthFromURL 183 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://localhost", GetRegistryLengthFromURL 185 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://localhost", GetRegistryLengthFromURL 187 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://localhost.", GetRegistryLengthFromURL 189 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://localhost.", GetRegistryLengthFromURL 191 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http:////Comment", GetRegistryLengthFromURL 281 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://google.com", GetRegistryLengthFromURL 283 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://stanford.edu", GetRegistryLengthFromURL 285 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://ustreas.gov", GetRegistryLengthFromURL 287 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://icann.net", GetRegistryLengthFromURL 289 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(3U, GetRegistryLengthFromURL("http://ferretcentral.org", GetRegistryLengthFromURL 291 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://nowhere.notavaliddomain", GetRegistryLengthFromURL 293 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(15U, GetRegistryLengthFromURL("http://nowhere.notavaliddomain", GetRegistryLengthFromURL 306 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromURL("http://priv.no", GetRegistryLengthFromURL 308 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromURL("http://foo.priv.no", GetRegistryLengthFromURL 310 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromURL("http://foo.jp", GetRegistryLengthFromURL 312 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(2U, GetRegistryLengthFromURL("http://www.foo.jp", GetRegistryLengthFromURL 314 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://private", GetRegistryLengthFromURL 316 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://foo.private", GetRegistryLengthFromURL 318 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(0U, GetRegistryLengthFromURL("http://private", GetRegistryLengthFromURL 320 net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc EXPECT_EQ(7U, GetRegistryLengthFromURL("http://foo.private",