Lines Matching refs:pos
65 int pos = mPos;
66 if (pos >= (BUFFER_LEN-1)) {
68 pos = mPos;
70 mText[pos] = c;
71 mPos = pos+1;
84 int pos = mPos;
85 if ((pos+length) > BUFFER_LEN) {
87 pos = mPos;
89 str.getChars(i, i+length, mText, pos);
90 mPos = pos + length;
103 int pos = mPos;
104 if ((pos+length) > BUFFER_LEN) {
106 pos = mPos;
108 System.arraycopy(buf, i, mText, pos, length);
109 mPos = pos + length;
121 int pos;
122 for (pos=0; pos<N; pos++) {
123 char c = string.charAt(pos);
127 if (lastPos < pos) append(string, lastPos, pos-lastPos);
128 lastPos = pos + 1;
131 if (lastPos < pos) append(string, lastPos, pos-lastPos);
139 int pos;
140 for (pos=start; pos<end; pos++) {
141 char c = buf[pos];
145 if (lastPos < pos) append(buf, lastPos, pos-lastPos);
146 lastPos = pos + 1;
149 if (lastPos < pos) append(buf, lastPos, pos-lastPos);