Home
last modified time | relevance | path

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

/external/chromium/net/base/
Ddns_util_unittest.cc56 TEST_F(DNSUtilTest, DNSDomainToString) { in TEST_F() argument
57 EXPECT_EQ("", DNSDomainToString(IncludeNUL(""))); in TEST_F()
58 EXPECT_EQ("foo", DNSDomainToString(IncludeNUL("\003foo"))); in TEST_F()
59 EXPECT_EQ("foo.bar", DNSDomainToString(IncludeNUL("\003foo\003bar"))); in TEST_F()
61 DNSDomainToString(IncludeNUL("\003foo\003bar\002uk"))); in TEST_F()
64 EXPECT_EQ("foo.bar", DNSDomainToString("\003foo\003bar")); in TEST_F()
67 EXPECT_EQ("", DNSDomainToString(IncludeNUL("\x80"))); in TEST_F()
68 EXPECT_EQ("", DNSDomainToString("\x06")); in TEST_F()
Ddns_util.h23 std::string DNSDomainToString(const std::string& domain);
Ddns_util.cc59 std::string DNSDomainToString(const std::string& domain) { in DNSDomainToString() function
Dtransport_security_state.cc116 result->domain = DNSDomainToString( in IsEnabledForHost()
576 out->domain = DNSDomainToString(host_sub_chunk); in IsPreloadedSTS()
580 out->domain = DNSDomainToString(host_sub_chunk); in IsPreloadedSTS()