Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dstring_util.h32 inline bool IsTrailByte(char x) { return static_cast<signed char>(x) < -0x40; } in IsTrailByte() function
58 } while (IsTrailByte(in[*pos]) && *pos < size); in ForwardNUTF8CharPositions()
79 } while (IsTrailByte(in[*pos]) && *pos > start); in BackNUTF8CharPositions()
Dstring_util.cc58 skipped_count += IsTrailByte(*ptr++) ? 1 : 0; in UTF8StrLen()
/external/libtextclassifier/utils/strings/
Dutf8.cc33 if (IsTrailByte(src[0])) { in ValidUTF8CharLength()
44 if (!IsTrailByte(src[k])) { in ValidUTF8CharLength()
Dutf8.h41 static inline bool IsTrailByte(char x) { in IsTrailByte() function
/external/libtextclassifier/utils/utf8/
Dunicodetext.cc300 while (IsTrailByte(*--it_)) { in operator --()