Lines Matching defs:bufpos
40 public int bufpos = -1;
68 bufsize - tokenBegin, bufpos);
72 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos);
76 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos);
79 maxNextCharInd = (bufpos += (bufsize - tokenBegin));
92 maxNextCharInd = (bufpos -= tokenBegin);
114 bufpos = maxNextCharInd = 0;
118 bufpos = maxNextCharInd = 0;
143 --bufpos;
146 tokenBegin = bufpos;
155 tokenBegin = bufpos;
196 bufline[bufpos] = line;
197 bufcolumn[bufpos] = column;
205 return (char)((char)0xff & buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos]);
208 if (++bufpos >= maxNextCharInd)
211 char c = (char)((char)0xff & buffer[bufpos]);
223 return bufcolumn[bufpos];
232 return bufline[bufpos];
236 return bufcolumn[bufpos];
240 return bufline[bufpos];
254 if ((bufpos -= amount) < 0)
255 bufpos += bufsize;
292 bufpos = -1;
324 if (bufpos >= tokenBegin)
325 return new String(buffer, tokenBegin, bufpos - tokenBegin + 1);
328 new String(buffer, 0, bufpos + 1);
335 if ((bufpos + 1) >= len)
336 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len);
339 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0,
340 len - bufpos - 1);
341 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1);
362 if (bufpos >= tokenBegin)
364 len = bufpos - tokenBegin + inBuf + 1;
368 len = bufsize - tokenBegin + bufpos + 1 + inBuf;