Home
last modified time | relevance | path

Searched refs:IsLocalhost (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/base/
Dnet_util_unittest.cc2317 TEST(NetUtilTest, IsLocalhost) { in TEST() argument
2318 EXPECT_TRUE(net::IsLocalhost("localhost")); in TEST()
2319 EXPECT_TRUE(net::IsLocalhost("localhost.localdomain")); in TEST()
2320 EXPECT_TRUE(net::IsLocalhost("localhost6")); in TEST()
2321 EXPECT_TRUE(net::IsLocalhost("localhost6.localdomain6")); in TEST()
2322 EXPECT_TRUE(net::IsLocalhost("127.0.0.1")); in TEST()
2323 EXPECT_TRUE(net::IsLocalhost("127.0.1.0")); in TEST()
2324 EXPECT_TRUE(net::IsLocalhost("127.1.0.0")); in TEST()
2325 EXPECT_TRUE(net::IsLocalhost("127.0.0.255")); in TEST()
2326 EXPECT_TRUE(net::IsLocalhost("127.0.255.0")); in TEST()
[all …]
Dnet_util.h474 bool IsLocalhost(const std::string& host);
Dnet_util.cc2296 bool IsLocalhost(const std::string& host) { in IsLocalhost() function
/external/chromium/net/url_request/
Durl_request_throttler_manager.cc42 IsLocalhost(host)) { in RegisterRequestUrl()