/libcore/ojluni/src/main/java/java/io/ |
D | Writer.java | 119 public void write(char[] cbuf, int off, int len) throws IOException { in nullWriter() argument 120 Objects.checkFromIndexSize(off, len, cbuf.length); in nullWriter() 212 public void write(char cbuf[]) throws IOException { in write() argument 213 write(cbuf, 0, cbuf.length); in write() 237 public abstract void write(char cbuf[], int off, int len) throws IOException; in write() argument 280 char cbuf[]; in write() local 285 cbuf = writeBuffer; in write() 287 cbuf = new char[len]; in write() 289 str.getChars(off, (off + len), cbuf, 0); in write() 290 write(cbuf, 0, len); in write()
|
D | PushbackReader.java | 107 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 114 } else if ((off < 0) || (off > cbuf.length)) { in read() 123 System.arraycopy(buf, pos, cbuf, off, avail); in read() 129 len = super.read(cbuf, off, len); in read() 175 public void unread(char cbuf[], int off, int len) throws IOException { in unread() argument 181 System.arraycopy(cbuf, off, buf, pos, len); in unread() 196 public void unread(char cbuf[]) throws IOException { in unread() argument 197 unread(cbuf, 0, cbuf.length); in unread()
|
D | Reader.java | 97 public int read(char[] cbuf, int off, int len) throws IOException { in nullReader() argument 98 Objects.checkFromIndexSize(off, len, cbuf.length); in nullReader() 188 char[] cbuf = new char[len]; in read() local 189 int n = read(cbuf, 0, len); in read() 191 target.put(cbuf, 0, n); in read() 228 public int read(char cbuf[]) throws IOException { in read() argument 229 return read(cbuf, 0, cbuf.length); in read() 249 public abstract int read(char cbuf[], int off, int len) throws IOException; in read() argument
|
D | Console.java | 422 public int read(char cbuf[], int offset, int length) in read() argument 427 if (offset < 0 || offset > cbuf.length || length < 0 || in read() 428 end < 0 || end > cbuf.length) { in read() 458 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') { in read() 467 c = cbuf[off++] = cb[nextChar]; in read() 477 if (cbuf == rcb) { in read() 478 cbuf = grow(); in read() 479 end = cbuf.length; in read() 497 cbuf[off++] = '\n'; in read() 502 if (cbuf == rcb) { in read() [all …]
|
D | StringWriter.java | 92 public void write(char cbuf[], int off, int len) { in write() argument 93 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write() 94 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write() 99 buf.append(cbuf, off, len); in write()
|
D | BufferedWriter.java | 169 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 172 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write() 173 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write() 184 out.write(cbuf, off, len); in write() 191 System.arraycopy(cbuf, b, cb, nextChar, d); in write()
|
D | StringReader.java | 89 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 92 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 93 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 101 str.getChars(next, next + n, cbuf, off); in read()
|
D | PipedReader.java | 297 public synchronized int read(char cbuf[], int off, int len) throws IOException { in read() argument 307 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 308 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 319 cbuf[off] = (char)c; in read() 322 cbuf[off + rlen] = buffer[out++]; in read()
|
D | BufferedReader.java | 213 private int read1(char[] cbuf, int off, int len) throws IOException { in read1() argument 221 return in.read(cbuf, off, len); in read1() 237 System.arraycopy(cb, nextChar, cbuf, off, n); in read1() 288 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 291 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 292 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 298 int n = read1(cbuf, off, len); in read() 301 int n1 = read1(cbuf, off + n, len - n); in read()
|
D | PipedWriter.java | 150 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 153 } else if ((off | len | (off + len) | (cbuf.length - (off + len))) < 0) { in write() 156 sink.receive(cbuf, off, len); in write()
|
D | LineNumberReader.java | 166 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 168 int n = super.read(cbuf, off, len); in read() 171 int c = cbuf[i]; in read()
|
D | FilterWriter.java | 82 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 83 out.write(cbuf, off, len); in write()
|
D | FilterReader.java | 74 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 75 return in.read(cbuf, off, len); in read()
|
D | InputStreamReader.java | 179 public int read(char cbuf[], int offset, int length) throws IOException { in read() argument 180 return sd.read(cbuf, offset, length); in read()
|
D | OutputStreamWriter.java | 206 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 207 se.write(cbuf, off, len); in write()
|
D | ObjectOutputStream.java | 1826 private final char[] cbuf = new char[CHAR_BUF_SIZE]; field in ObjectOutputStream.BlockDataOutputStream 2098 s.getChars(off, off + csize, cbuf, 0); in writeBytes() 2106 buf[pos++] = (byte) cbuf[cpos++]; in writeBytes() 2116 s.getChars(off, off + csize, cbuf, 0); in writeChars() 2117 writeChars(cbuf, 0, csize); in writeChars() 2256 s.getChars(off, off + csize, cbuf, 0); in getUTFLength() 2258 char c = cbuf[cpos]; in getUTFLength() 2321 s.getChars(off, off + csize, cbuf, 0); in writeUTFBody() 2323 char c = cbuf[cpos]; in writeUTFBody()
|
D | ObjectInputStream.java | 2753 private final char[] cbuf = new char[CHAR_BUF_SIZE]; field in ObjectInputStream.BlockDataInputStream 3476 cbuf[cpos++] = (char) b1; in readUTFSpan() 3485 cbuf[cpos++] = (char) (((b1 & 0x1F) << 6) | in readUTFSpan() 3496 cbuf[cpos++] = (char) (((b1 & 0x0F) << 12) | in readUTFSpan() 3519 sbuf.append(cbuf, 0, cpos); in readUTFSpan()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 111 char cbuf[] = new char[1]; in write() local 112 cbuf[0] = (char) c; in write() 113 write(cbuf, 0, 1); in write() 116 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 119 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write() 120 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write() 125 implWrite(cbuf, off, len); in write() 133 char cbuf[] = new char[len]; in write() local 134 str.getChars(off, off + len, cbuf, 0); in write() 135 write(cbuf, 0, len); in write() [all …]
|
D | StreamDecoder.java | 147 public int read(char cbuf[], int offset, int length) throws IOException { in read() argument 152 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 153 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 163 cbuf[off] = leftoverChar; in read() 177 cbuf[off] = (char)c; in read() 181 return n + implRead(cbuf, off, off + len); in read() 310 int implRead(char[] cbuf, int off, int end) throws IOException { in implRead() argument 318 CharBuffer cb = CharBuffer.wrap(cbuf, off, end - off); in implRead()
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 233 public int read(char[] cbuf, int off, int len) throws IOException { in input() argument 238 cbuf[off] = (char)c; in input() 246 cbuf[off + i] = (char)c; in input()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | Console.java | 132 public int read(char[] cbuf, int offset, int length) throws java.io.IOException { in read() argument
|
D | ObjectOutputStream.java | 470 private final char[] cbuf; field in ObjectOutputStream.BlockDataOutputStream 473 cbuf = new char[0];
|
D | ObjectInputStream.java | 534 private final char[] cbuf; field in ObjectInputStream.BlockDataInputStream 537 cbuf = new char[0];
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldBufferedWriterTest.java | 308 public void write(char cbuf[], int off, int len) throws IOException { in test_closeException()
|
D | OldBufferedReaderTest.java | 401 public int read(char cbuf[], int off, int len) throws IOException { in test_closeException()
|