Searched defs:nextChar (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DBufferedWriter.java71 private int nChars, nextChar; field in class:BufferedWriter
107 nextChar = 0;
127 if (nextChar == 0)
129 out.write(cb, 0, nextChar);
130 nextChar = 0;
142 if (nextChar >= nChars)
144 cb[nextChar++] = (char) c;
194 int d = min(nChars - nextChar, t - b);
195 System.arraycopy(cbuf, b, cb, nextChar, d);
197 nextChar
[all...]
H A DBufferedReader.java76 private int nChars, nextChar; field in class:BufferedReader
107 nextChar = nChars = 0;
136 int delta = nextChar - markedChar;
166 nextChar = nChars = delta;
176 nextChar = dst;
192 if (nextChar >= nChars) {
194 if (nextChar >= nChars)
199 if (cb[nextChar] == '\n') {
200 nextChar++;
204 return cb[nextChar
[all...]
H A DConsole.java406 private int nChars, nextChar; field in class:Console.LineReader
411 nextChar = nChars = 0;
433 if (nextChar >= nChars) { //fill
440 nextChar = 0;
456 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') {
461 nextChar++;
464 while (nextChar < nChars) {
465 c = cbuf[off++] = cb[nextChar];
466 cb[nextChar++] = 0;
483 if (nextChar
[all...]

Completed in 137 milliseconds