Lines Matching defs:bufpos
109 public int bufpos = -1;
145 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos);
149 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos);
153 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos);
156 bufpos += (bufsize - tokenBegin);
169 bufpos -= tokenBegin;
199 if (bufpos != 0)
201 --bufpos;
206 bufline[bufpos] = line;
207 bufcolumn[bufpos] = column;
228 if (++bufpos == bufsize)
229 bufpos = 0;
231 tokenBegin = bufpos;
232 return buffer[bufpos];
236 bufpos = -1;
247 bufpos = 0;
297 bufline[bufpos] = line;
298 bufcolumn[bufpos] = column;
308 if (++bufpos == bufsize)
309 bufpos = 0;
311 return buffer[bufpos];
316 if (++bufpos == available)
319 if ((buffer[bufpos] = c = ReadByte()) == '\\')
327 if (++bufpos == available)
332 if ((buffer[bufpos] = c = ReadByte()) != '\\')
338 if (--bufpos < 0)
339 bufpos = bufsize - 1;
367 buffer[bufpos] = c = (char)(hexval(c) << 12 |
401 return bufcolumn[bufpos];
410 return bufline[bufpos];
415 return bufcolumn[bufpos];
420 return bufline[bufpos];
437 if ((bufpos -= amount) < 0)
438 bufpos += bufsize;
486 nextCharInd = bufpos = -1;
581 if (bufpos >= tokenBegin)
582 return new String(buffer, tokenBegin, bufpos - tokenBegin + 1);
585 new String(buffer, 0, bufpos + 1);
593 if ((bufpos + 1) >= len)
594 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len);
597 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0,
598 len - bufpos - 1);
599 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1);
622 if (bufpos >= tokenBegin)
624 len = bufpos - tokenBegin + inBuf + 1;
628 len = bufsize - tokenBegin + bufpos + 1 + inBuf;