Searched refs:DNSDomainToString (Results 1 – 4 of 4) sorted by relevance
56 TEST_F(DNSUtilTest, DNSDomainToString) { in TEST_F() argument57 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()
23 std::string DNSDomainToString(const std::string& domain);
59 std::string DNSDomainToString(const std::string& domain) { in DNSDomainToString() function
116 result->domain = DNSDomainToString( in IsEnabledForHost()576 out->domain = DNSDomainToString(host_sub_chunk); in IsPreloadedSTS()580 out->domain = DNSDomainToString(host_sub_chunk); in IsPreloadedSTS()