Lines Matching defs:bufpos
108 public int bufpos = -1;
137 bufsize - tokenBegin, bufpos);
141 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos);
145 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos);
148 bufpos += (bufsize - tokenBegin);
160 bufpos -= tokenBegin;
204 return buffer[tokenBegin = (bufpos == bufsize - 1) ? (bufpos = 0)
205 : ++bufpos];
209 bufpos = -1;
217 bufpos = 0;
251 bufline[bufpos] = line;
252 bufcolumn[bufpos] = column;
260 return buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos];
286 if (++bufpos == available)
288 buffer[bufpos] = c;
308 if (bufpos == -1) {
309 if (++bufpos == available)
311 bufline[bufpos] = line;
312 bufcolumn[bufpos] = column;
316 if (++bufpos == available)
318 buffer[bufpos] = c;
331 if (++bufpos == available)
333 buffer[bufpos] = 'x';
346 bufpos -= xCnt;
347 if (bufpos < 0)
348 bufpos += bufsize;
388 buffer[bufpos] = c;
392 buffer[bufpos] = c;
393 int bufpos1 = bufpos;
394 if (++bufpos == bufsize)
395 bufpos = 0;
396 buffer[bufpos] = Utf16.surrogate2(scalarValue);
397 bufline[bufpos] = bufline[bufpos1];
398 bufcolumn[bufpos] = bufcolumn[bufpos1];
413 return bufcolumn[bufpos];
422 return bufline[bufpos];
426 return bufcolumn[bufpos];
430 return bufline[bufpos];
444 if ((bufpos -= amount) < 0)
445 bufpos += bufsize;
483 nextCharInd = bufpos = -1;
524 if (bufpos >= tokenBegin)
525 return new String(buffer, tokenBegin, bufpos - tokenBegin + 1);
528 new String(buffer, 0, bufpos + 1);
534 if ((bufpos + 1) >= len)
535 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len);
537 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0,
538 len - bufpos - 1);
539 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1);
559 if (bufpos >= tokenBegin) {
560 len = bufpos - tokenBegin + inBuf + 1;
563 len = bufsize - tokenBegin + bufpos + 1 + inBuf;