Home
last modified time | relevance | path

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

/external/openscreen/discovery/dnssd/public/
Ddns_sd_instance.cc21 bool IsValidUtf8(const std::string& string) { in IsValidUtf8() function
99 !HasControlCharacters(instance) && IsValidUtf8(instance); in IsInstanceValid()
170 return !HasControlCharacters(domain) && IsValidUtf8(domain); in IsDomainValid()
184 !HasControlCharacters(subtype) && IsValidUtf8(subtype); in IsSubtypeValid()
/external/libtextclassifier/native/utils/utf8/
Dunilib.h156 bool IsValidUtf8(const UnicodeText& text) const { in IsValidUtf8() function
/external/libtextclassifier/native/annotator/
Dannotator.cc845 if (!unilib_->IsValidUtf8(context_unicode)) { in SuggestSelection()
1757 if (!unilib_->IsValidUtf8(context_unicode)) { in ClassifyText()
2460 if (!unilib_->IsValidUtf8(context_unicode)) { in Annotate()
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc1443 if (!unilib_->IsValidUtf8(UTF8ToUnicodeText( in SuggestActions()