Lines Matching refs:pos
35 pos = p;
44 return (pos - start) == (o.pos - o.start);
56 pos = start + newOffset;
61 return pos - start;
68 pos = p;
74 if(pos == limit) {
77 char c = seq.charAt(pos++);
79 if(Character.isHighSurrogate(c) && pos != limit &&
80 Character.isLowSurrogate(trail = seq.charAt(pos))) {
81 ++pos;
90 if(pos == start) {
93 char c = seq.charAt(--pos);
95 if(Character.isLowSurrogate(c) && pos != start &&
96 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
97 --pos;
106 if(pos == limit) {
109 char c = seq.charAt(pos++);
115 if(pos == limit) { return 0; }
117 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; }
125 while(num > 0 && pos != limit) {
126 char c = seq.charAt(pos++);
128 if(Character.isHighSurrogate(c) && pos != limit &&
129 Character.isLowSurrogate(seq.charAt(pos))) {
130 ++pos;
137 while(num > 0 && pos != start) {
138 char c = seq.charAt(--pos);
140 if(Character.isLowSurrogate(c) && pos != start &&
141 Character.isHighSurrogate(seq.charAt(pos-1))) {
142 --pos;
149 protected int pos;