Lines Matching defs:offset
26 size_t offset) {
33 if (offset <= start || offset >= start + count) {
36 if (U16_IS_TRAIL(buf[offset])) {
42 size_t offset_back = offset;
44 U16_NEXT(buf, offset, count, c2);
101 size_t offset, MoveOpt opt) {
104 if (offset < start + count) {
105 offset++;
109 while (!isGraphemeBreak(buf, start, count, offset)) {
110 offset++;
114 if (offset > start) {
115 offset--;
119 while (!isGraphemeBreak(buf, start, count, offset)) {
120 offset--;
124 if (!isGraphemeBreak(buf, start, count, offset)) {
125 offset = (size_t)-1;
129 return offset;