Lines Matching defs:bufpos
40 public int bufpos = -1;
73 bufsize - tokenBegin, bufpos);
77 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos);
81 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos);
84 maxNextCharInd = (bufpos += (bufsize - tokenBegin));
97 maxNextCharInd = (bufpos -= tokenBegin);
119 bufpos = maxNextCharInd = 0;
123 bufpos = maxNextCharInd = 0;
148 --bufpos;
151 tokenBegin = bufpos;
160 tokenBegin = bufpos;
201 bufline[bufpos] = line;
202 bufcolumn[bufpos] = column;
211 if (++bufpos == bufsize)
212 bufpos = 0;
214 return buffer[bufpos];
217 if (++bufpos >= maxNextCharInd)
220 char c = buffer[bufpos];
232 return bufcolumn[bufpos];
241 return bufline[bufpos];
245 return bufcolumn[bufpos];
249 return bufline[bufpos];
263 if ((bufpos -= amount) < 0)
264 bufpos += bufsize;
306 bufpos = -1;
386 if (bufpos >= tokenBegin)
387 return new String(buffer, tokenBegin, bufpos - tokenBegin + 1);
390 new String(buffer, 0, bufpos + 1);
397 if ((bufpos + 1) >= len)
398 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len);
401 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0,
402 len - bufpos - 1);
403 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1);
424 if (bufpos >= tokenBegin)
426 len = bufpos - tokenBegin + inBuf + 1;
430 len = bufsize - tokenBegin + bufpos + 1 + inBuf;