Home
last modified time | relevance | path

Searched refs:IsDomainValid (Results 1 – 5 of 5) sorted by relevance

/external/openscreen/discovery/dnssd/public/
Ddns_sd_instance_unittest.cc124 EXPECT_TRUE(IsDomainValid("192.168.0.0")); in TEST()
125 EXPECT_TRUE(IsDomainValid("....")); in TEST()
126 EXPECT_TRUE(IsDomainValid( in TEST()
130 EXPECT_FALSE(IsDomainValid( in TEST()
136 EXPECT_TRUE(IsDomainValid("IncludingSpecialCharacters.+ =*&<<+`~\\/")); in TEST()
137 EXPECT_TRUE(IsDomainValid(".+ =*&<<+`~\\/ ")); in TEST()
139 EXPECT_FALSE(IsDomainValid(std::string(1, uint8_t{0x7F}))); in TEST()
140 EXPECT_FALSE(IsDomainValid(std::string("name with ") + in TEST()
143 EXPECT_FALSE(IsDomainValid(std::string(1, bad_char))); in TEST()
144 EXPECT_FALSE(IsDomainValid(std::string("name with ") + in TEST()
[all …]
Ddns_sd_instance.cc72 OSP_DCHECK(IsDomainValid(domain_id_)) in DnsSdInstance()
149 bool IsDomainValid(const std::string& domain) { in IsDomainValid() function
Ddns_sd_instance.h21 bool IsDomainValid(const std::string& domain);
/external/openscreen/discovery/dnssd/impl/
Dservice_key.cc35 OSP_DCHECK(IsDomainValid(domain_id_)) << "invalid domain id: " << domain; in ServiceKey()
74 if (!IsDomainValid(domain_id)) { in TryCreate()
/external/openscreen/cast/common/public/
Dreceiver_info.cc101 OSP_DCHECK(discovery::IsDomainValid(kCastV2DomainId)); in ReceiverInfoToDnsSdInstance()