OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GetRegistryLengthFromURL
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/base/
registry_controlled_domain_unittest.cc
62
size_t
GetRegistryLengthFromURL
(const std::string& url,
145
EXPECT_EQ(2U,
GetRegistryLengthFromURL
("http://a.baz.jp/file.html", false));
147
EXPECT_EQ(3U,
GetRegistryLengthFromURL
("http://a.baz.jp./file.html", false));
149
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://ac.jp", false)); // 2
150
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://a.bar.jp", false)); // 3
151
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://bar.jp", false)); // 3
152
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://baz.bar.jp", false)); // 3 4
153
EXPECT_EQ(12U,
GetRegistryLengthFromURL
("http://a.b.baz.bar.jp", false));
155
EXPECT_EQ(6U,
GetRegistryLengthFromURL
("http://baz.pref.bar.jp", false));
157
EXPECT_EQ(11U,
GetRegistryLengthFromURL
("http://a.b.bar.baz.com", false))
[
all
...]
/external/chromium_org/net/base/registry_controlled_domains/
registry_controlled_domain_unittest.cc
31
size_t
GetRegistryLengthFromURL
(
135
EXPECT_EQ(2U,
GetRegistryLengthFromURL
("http://a.baz.jp/file.html",
137
EXPECT_EQ(3U,
GetRegistryLengthFromURL
("http://a.baz.jp./file.html",
139
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://ac.jp",
141
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://a.bar.jp",
143
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://bar.jp",
145
EXPECT_EQ(0U,
GetRegistryLengthFromURL
("http://baz.bar.jp",
147
EXPECT_EQ(12U,
GetRegistryLengthFromURL
("http://a.b.baz.bar.jp",
149
EXPECT_EQ(6U,
GetRegistryLengthFromURL
("http://baz.pref.bar.jp",
151
EXPECT_EQ(11U,
GetRegistryLengthFromURL
("http://a.b.bar.baz.com"
[
all
...]
Completed in 24 milliseconds