Lines Matching refs:end
49 * mark pos end</pre>
51 * last readable character. When {@code pos == end}, the buffer is empty and
67 private int end;
135 * the buffer still contains data; ie. if {@code pos < end}.
137 * @return the number of chars read into the buffer, or -1 if the end of the
141 // assert(pos == end);
149 end = result;
167 end -= mark;
174 end += count;
244 * @return the character read or -1 if the end of the source reader has been
263 if (pos < end || fillBuf() != -1) {
272 * number of characters actually read or -1 if the end of the source reader
297 int available = end - pos;
316 // assert(pos == end);
351 if ((pos != end || fillBuf() != -1) && buf[pos] == '\n') {
367 * {@code '\r'}, {@code "\r\n"} or the end of the reader. The string does
371 * read before the end of the reader has been reached.
382 for (int i = pos; i < end; ++i) {
393 StringBuilder result = new StringBuilder(end - pos + 80);
394 result.append(buf, pos, end - pos);
396 pos = end;
403 for (int i = pos; i < end; ++i) {
414 result.append(buf, pos, end - pos);
434 return ((end - pos) > 0) || in.ready();
480 if (end - pos >= charCount) {
485 long read = end - pos;
486 pos = end;
491 if (end - pos >= charCount - read) {
496 read += (end - pos);
497 pos = end;