Home
last modified time | relevance | path

Searched refs:IsSubtypeValid (Results 1 – 3 of 3) sorted by relevance

/external/openscreen/discovery/dnssd/public/
Ddns_sd_instance_unittest.cc174 EXPECT_TRUE(IsSubtypeValid("IncludingSpecialCharacters+ =*&<<+`~\\/")); in TEST()
175 EXPECT_TRUE(IsSubtypeValid("+ =*&<<+`~\\/ ")); in TEST()
177 EXPECT_FALSE(IsSubtypeValid("foo.bar")); in TEST()
178 EXPECT_FALSE(IsSubtypeValid(std::string(1, uint8_t{0x7F}))); in TEST()
179 EXPECT_FALSE(IsSubtypeValid(std::string("name with ") + in TEST()
183 EXPECT_FALSE(IsSubtypeValid(std::string(1, bad_char))); in TEST()
184 EXPECT_FALSE(IsSubtypeValid(std::string("name with ") + in TEST()
210 EXPECT_FALSE(IsSubtypeValid(test_string)); in TEST()
219 EXPECT_TRUE(IsSubtypeValid(kCharsAlmostMaxLength)); in TEST()
220 EXPECT_FALSE(IsSubtypeValid(kCharsAlmostMaxLength + "4")); in TEST()
Ddns_sd_instance.cc75 OSP_DCHECK(IsSubtypeValid(subtype)) << subtype << " is an invalid subtype"; in DnsSdInstance()
174 bool IsSubtypeValid(const DnsSdInstance::Subtype& subtype) { in IsSubtypeValid() function
Ddns_sd_instance.h94 bool IsSubtypeValid(const DnsSdInstance::Subtype& subtype);