Searched refs:offset_back (Results 1 – 1 of 1) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 86 size_t offset_back = offset; in isGraphemeBreak() local 87 U16_PREV(buf, start, offset_back, c1); in isGraphemeBreak() 122 start = std::max((ssize_t)start, (ssize_t)offset_back - 1000); in isGraphemeBreak() 123 while (offset_back > start) { in isGraphemeBreak() 124 U16_PREV(buf, start, offset_back, c1); in isGraphemeBreak() 126 offset_back += U16_LENGTH(c1); in isGraphemeBreak() 133 return (offset - 2 - offset_back) % 4 == 0; in isGraphemeBreak() 153 if (c1 == 0x200D && isEmoji(c2) && offset_back > start) { in isGraphemeBreak() 156 U16_PREV(buf, start, offset_back, c0); in isGraphemeBreak() 157 if (c0 == 0xFE0F && offset_back > start) { in isGraphemeBreak() [all …]
|