Home
last modified time | relevance | path

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

/external/libtextclassifier/native/lang_id/common/
Dutf8.h66 const char *GetSafeEndOfUtf8String(const char *data, size_t size);
68 static inline const char *GetSafeEndOfUtf8String(const std::string &text) { in GetSafeEndOfUtf8String() function
69 return GetSafeEndOfUtf8String(text.data(), text.size()); in GetSafeEndOfUtf8String()
Dutf8.cc23 const char *GetSafeEndOfUtf8String(const char *data, size_t size) { in GetSafeEndOfUtf8String() function
/external/libtextclassifier/native/lang_id/
Dcustom-tokenizer.cc106 const char *end = utils::GetSafeEndOfUtf8String(start, text.size()); in Tokenize()