Lines Matching defs:bufpos
94 public int bufpos = -1;
127 bufsize - tokenBegin, bufpos);
131 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos);
135 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos);
138 bufpos += (bufsize - tokenBegin);
151 bufpos -= tokenBegin;
181 if (bufpos != 0)
183 --bufpos;
188 bufline[bufpos] = line;
189 bufcolumn[bufpos] = column;
208 return buffer[tokenBegin = (bufpos == bufsize - 1) ? (bufpos = 0)
209 : ++bufpos];
213 bufpos = -1;
224 bufpos = 0;
274 bufline[bufpos] = line;
275 bufcolumn[bufpos] = column;
283 return buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos];
288 if (++bufpos == available)
291 if (((buffer[bufpos] = c = (char)((char)0xff & ReadByte())) == '\\'))
299 if (++bufpos == available)
304 if ((buffer[bufpos] = c = (char)((char)0xff & ReadByte())) != '\\')
310 if (--bufpos < 0)
311 bufpos = bufsize - 1;
338 buffer[bufpos] = c = (char)(hexval(c) << 12 |
372 return bufcolumn[bufpos];
381 return bufline[bufpos];
385 return bufcolumn[bufpos];
389 return bufline[bufpos];
403 if ((bufpos -= amount) < 0)
404 bufpos += bufsize;
443 nextCharInd = bufpos = -1;
454 if (bufpos >= tokenBegin)
455 return new String(buffer, tokenBegin, bufpos - tokenBegin + 1);
458 new String(buffer, 0, bufpos + 1);
465 if ((bufpos + 1) >= len)
466 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len);
469 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0,
470 len - bufpos - 1);
471 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1);
493 if (bufpos >= tokenBegin)
495 len = bufpos - tokenBegin + inBuf + 1;
499 len = bufsize - tokenBegin + bufpos + 1 + inBuf;