Lines Matching refs:buf
59 bool GraphemeBreak::isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start,
70 if (U16_IS_TRAIL(buf[offset])) {
72 return !U16_IS_LEAD(buf[offset - 1]);
78 U16_PREV(buf, start, offset_back, c1);
79 U16_NEXT(buf, offset_forward, start + count, c2);
138 U16_PREV(buf, start, offset_backback, c0);
155 U16_PREV(buf, start, offset_backback, c0);
158 U16_PREV(buf, start, offset_backback, c0);
182 U16_PREV(buf, lookback_barrier, offset_backback, c0);
205 size_t GraphemeBreak::getTextRunCursor(const float* advances, const uint16_t* buf, size_t start,
214 while (!isGraphemeBreak(advances, buf, start, count, offset)) {
224 while (!isGraphemeBreak(advances, buf, start, count, offset)) {
229 if (!isGraphemeBreak(advances, buf, start, count, offset)) {