/libcore/ojluni/src/main/java/java/io/ |
D | Writer.java | 126 public void write(char cbuf[]) throws IOException { in write() argument 127 write(cbuf, 0, cbuf.length); in write() 145 abstract public void write(char cbuf[], int off, int len) throws IOException; in write() argument 182 char cbuf[]; in write() local 187 cbuf = writeBuffer; in write() 189 cbuf = new char[len]; in write() 191 str.getChars(off, (off + len), cbuf, 0); in write() 192 write(cbuf, 0, len); in write()
|
D | Reader.java | 99 char[] cbuf = new char[len]; in read() local 100 int n = read(cbuf, 0, len); in read() 102 target.put(cbuf, 0, n); in read() 139 public int read(char cbuf[]) throws IOException { in read() argument 140 return read(cbuf, 0, cbuf.length); in read() 157 abstract public int read(char cbuf[], int off, int len) throws IOException; in read() argument
|
D | PushbackReader.java | 106 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 113 } else if ((off < 0) || (off > cbuf.length)) { in read() 122 System.arraycopy(buf, pos, cbuf, off, avail); in read() 128 len = super.read(cbuf, off, len); in read() 174 public void unread(char cbuf[], int off, int len) throws IOException { in unread() argument 180 System.arraycopy(cbuf, off, buf, pos, len); in unread() 195 public void unread(char cbuf[]) throws IOException { in unread() argument 196 unread(cbuf, 0, cbuf.length); in unread()
|
D | StringWriter.java | 87 public void write(char cbuf[], int off, int len) { in write() argument 88 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write() 89 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write() 94 buf.append(cbuf, off, len); in write()
|
D | StringReader.java | 88 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 91 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 92 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 100 str.getChars(next, next + n, cbuf, off); in read()
|
D | BufferedWriter.java | 173 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 176 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write() 177 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write() 188 out.write(cbuf, off, len); in write() 195 System.arraycopy(cbuf, b, cb, nextChar, d); in write()
|
D | PipedReader.java | 296 public synchronized int read(char cbuf[], int off, int len) throws IOException { in read() argument 306 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 307 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 318 cbuf[off] = (char)c; in read() 321 cbuf[off + rlen] = buffer[out++]; in read()
|
D | PipedWriter.java | 144 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 147 } else if ((off | len | (off + len) | (cbuf.length - (off + len))) < 0) { in write() 150 sink.receive(cbuf, off, len); in write()
|
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() 287 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 290 if ((off < 0) || (off > cbuf.length) || (len < 0) || in read() 291 ((off + len) > cbuf.length) || ((off + len) < 0)) { in read() 297 int n = read1(cbuf, off, len); in read() 300 int n1 = read1(cbuf, off + n, len - n); in read()
|
D | FilterWriter.java | 77 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 78 out.write(cbuf, off, len); in write()
|
D | LineNumberReader.java | 164 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 166 int n = super.read(cbuf, off, len); in read() 169 int c = cbuf[i]; in read()
|
D | FilterReader.java | 73 public int read(char cbuf[], int off, int len) throws IOException { in read() argument 74 return in.read(cbuf, off, len); in read()
|
D | InputStreamReader.java | 183 public int read(char cbuf[], int offset, int length) throws IOException { in read() argument 184 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()
|
/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/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()
|