/libcore/ojluni/src/main/java/java/io/ |
D | BufferedReader.java | 76 private int nChars, nextChar; field in BufferedReader 107 nextChar = nChars = 0; in BufferedReader() 136 int delta = nextChar - markedChar; in fill() 166 nextChar = nChars = delta; in fill() 176 nextChar = dst; in fill() 192 if (nextChar >= nChars) { in read() 194 if (nextChar >= nChars) in read() 199 if (cb[nextChar] == '\n') { in read() 200 nextChar++; in read() 204 return cb[nextChar++]; in read() [all …]
|
D | BufferedWriter.java | 71 private int nChars, nextChar; field in BufferedWriter 101 nextChar = 0; in BufferedWriter() 118 if (nextChar == 0) in flushBuffer() 120 out.write(cb, 0, nextChar); in flushBuffer() 121 nextChar = 0; in flushBuffer() 133 if (nextChar >= nChars) in write() 135 cb[nextChar++] = (char) c; in write() 190 int d = min(nChars - nextChar, t - b); in write() 191 System.arraycopy(cbuf, b, cb, nextChar, d); in write() 193 nextChar += d; in write() [all …]
|
D | Console.java | 469 private int nChars, nextChar; field in Console.LineReader 474 nextChar = nChars = 0; in LineReader() 496 if (nextChar >= nChars) { //fill in read() 503 nextChar = 0; in read() 519 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') { in read() 524 nextChar++; in read() 527 while (nextChar < nChars) { in read() 528 c = cbuf[off++] = cb[nextChar]; in read() 529 cb[nextChar++] = 0; in read() 546 if (nextChar == nChars && in.ready()) { in read() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Version.java | 284 int nextChar = 0; in initVersions() local 289 nextChar = 4; in initVersions() 293 nextChar = 3; in initVersions() 297 String uu = cs.subSequence(1, nextChar).toString(); in initVersions() 299 if (cs.length() >= nextChar + 1) { in initVersions() 300 char c = cs.charAt(nextChar); in initVersions() 303 nextChar++; in initVersions() 310 cs = cs.subSequence(nextChar, cs.length()); in initVersions()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 1065 char nextChar = replacement.charAt(cursor); in appendExpandedReplacement() local 1066 if (nextChar == '\\') { in appendExpandedReplacement() 1071 nextChar = replacement.charAt(cursor); in appendExpandedReplacement() 1072 result.append(nextChar); in appendExpandedReplacement() 1074 } else if (nextChar == '$') { in appendExpandedReplacement() 1081 nextChar = replacement.charAt(cursor); in appendExpandedReplacement() 1083 if (nextChar == '{') { in appendExpandedReplacement() 1087 nextChar = replacement.charAt(cursor); in appendExpandedReplacement() 1088 if (ASCII.isLower(nextChar) || in appendExpandedReplacement() 1089 ASCII.isUpper(nextChar) || in appendExpandedReplacement() [all …]
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | EmulatedStackFrameTest.java | 49 assertEquals('a', reader.nextChar()); in testReaderWriter_allParamTypes() 94 assertEquals('a', reader.nextChar()); in testRandomReaderWriter_allParamTypes() 141 assertEquals('a', reader.nextChar()); in testReaderWriter_allReturnTypes()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | Console.java | 144 private int nextChar; field in Console.LineReader
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 806 o = reader.nextChar(); in referenceArray() 916 arityArray[i] = reader.nextChar(); in charArray() 1107 writer.putNextChar(reader.nextChar()); in copyParameter() 1520 array[i] = reader.nextChar(); in transform() 2174 writePrimitiveCharAs(writer, toBaseType, reader.nextChar()); in adaptArgument() 2260 boxed = Character.valueOf(reader.nextChar()); in adaptArgument() 2373 return (byte) reader.nextChar(); in readPrimitiveAsByte() 2398 return (char) reader.nextChar(); in readPrimitiveAsChar() 2423 return (short) reader.nextChar(); in readPrimitiveAsShort() 2447 return (int) reader.nextChar(); in readPrimitiveAsInt() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 595 int nextChar = in.read(); in trailingSpace() local 596 if (nextChar == -1) { in trailingSpace() 599 } else if (nextChar == ' ') { in trailingSpace() 601 } else if (nextChar == '\\') { in trailingSpace()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 426 writer.putNextChar(reader.nextChar()); in copyNext() 530 public char nextChar() { in nextChar() method in EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 2442 char nextChar = result.charAt(i); in processFloatToken() local 2443 if (Character.isDigit(nextChar)) { in processFloatToken() 2444 int d = Character.digit(nextChar, 10); in processFloatToken() 2448 inASCII.append(nextChar); in processFloatToken() 2450 inASCII.append(nextChar); in processFloatToken()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArrayObjectMethods.java | 238 public static char nextChar() { in nextChar() method in Rnd 328 result[i] = Rnd.nextChar(); in charArray()
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BulkPutBuffer.java | 77 public char nextChar() { in nextChar() method in BulkPutBuffer.MyRandom 228 array[i] = RND.nextChar(); in create()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 4446 char nextChar = text.charAt(position); in parse() local 4447 if (nextChar == '+' || nextChar == '-') { in parse() 4451 if (context.charEquals(nextChar, 'U') && context.charEquals(nextNextChar, 'T')) { in parse() 4462 } else if (context.charEquals(nextChar, 'G') && length >= position + 3 && in parse() 4477 if (context.charEquals(nextChar, 'Z')) { in parse()
|