Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/strings/
Dutf8.cc39 const int num_codepoint_bytes = GetNumBytesForUTF8Char(&src[0]); in ValidUTF8CharLength() local
40 if (num_codepoint_bytes <= 0 || num_codepoint_bytes > size) { in ValidUTF8CharLength()
45 for (int k = 1; k < num_codepoint_bytes; k++) { in ValidUTF8CharLength()
51 return num_codepoint_bytes; in ValidUTF8CharLength()