Lines Matching refs:pos
33 pos = p;
42 return (pos - start) == (o.pos - o.start);
54 pos = start + newOffset;
59 return pos - start;
66 pos = p;
72 if(pos == limit) {
75 char c = seq.charAt(pos++);
77 if(Character.isHighSurrogate(c) && pos != limit &&
78 Character.isLowSurrogate(trail = seq.charAt(pos))) {
79 ++pos;
88 if(pos == start) {
91 char c = seq.charAt(--pos);
93 if(Character.isLowSurrogate(c) && pos != start &&
94 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
95 --pos;
104 if(pos == limit) {
107 char c = seq.charAt(pos++);
113 if(pos == limit) { return 0; }
115 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; }
123 while(num > 0 && pos != limit) {
124 char c = seq.charAt(pos++);
126 if(Character.isHighSurrogate(c) && pos != limit &&
127 Character.isLowSurrogate(seq.charAt(pos))) {
128 ++pos;
135 while(num > 0 && pos != start) {
136 char c = seq.charAt(--pos);
138 if(Character.isLowSurrogate(c) && pos != start &&
139 Character.isHighSurrogate(seq.charAt(pos-1))) {
140 --pos;
147 protected int pos;