Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dutf8_utils.cpp76 const int sequenceSize) { in maskFirstByte() argument
77 return firstByte & FIRST_BYTE_CODE_POINT_BITS_MASKS[sequenceSize]; in maskFirstByte()
87 const int sequenceSize = getSequenceSizeToEncodeCodePoint(codePoint); in getUtf8String() local
88 if (sequenceSize <= 0) { in getUtf8String()
92 const int trailingByteCount = sequenceSize - 1; in getUtf8String()
95 utf8String.push_back(static_cast<char>(value | FIRST_BYTE_MARKERS[sequenceSize])); in getUtf8String()
97 for (int i = 1; i < sequenceSize; ++i) { in getUtf8String()