Home
last modified time | relevance | path

Searched refs:GetSafeEndOfString (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/lang_id/
Dcustom-tokenizer.h52 const char *GetSafeEndOfString(const char *data, size_t size);
54 static inline const char *GetSafeEndOfString(const std::string &text) { in GetSafeEndOfString() function
55 return GetSafeEndOfString(text.data(), text.size()); in GetSafeEndOfString()
Dcustom-tokenizer.cc38 const char *GetSafeEndOfString(const char *data, size_t size) { in GetSafeEndOfString() function
58 const char *end = GetSafeEndOfString(start, text.size()); in TokenizeTextForLangId()