/libcore/luni/src/main/java/java/io/ |
D | StringBufferInputStream.java | 33 protected String buffer; field in StringBufferInputStream 81 @Override public synchronized int read(byte[] buffer, int byteOffset, int byteCount) { in read()
|
D | ObjectOutput.java | 54 public void write(byte[] buffer) throws IOException; in write() 71 public void write(byte[] buffer, int offset, int count) throws IOException; in write()
|
D | ObjectInput.java | 65 public int read(byte[] buffer) throws IOException; in read() 76 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException; in read()
|
D | OutputStream.java | 81 public void write(byte[] buffer) throws IOException { in write() 103 public void write(byte[] buffer, int offset, int count) throws IOException { in write()
|
D | InputStream.java | 161 public int read(byte[] buffer) throws IOException { in read() 176 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
|
D | PushbackInputStream.java | 166 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() 242 public void unread(byte[] buffer) throws IOException { in unread() 272 public void unread(byte[] buffer, int offset, int length) throws IOException { in unread()
|
D | PushbackReader.java | 172 public int read(char[] buffer, int offset, int count) throws IOException { in read() 259 public void unread(char[] buffer) throws IOException { in unread() 293 public void unread(char[] buffer, int offset, int length) throws IOException { in unread()
|
D | Reader.java | 140 public int read(char[] buffer) throws IOException { in read() 153 public abstract int read(char[] buffer, int offset, int count) throws IOException; in read()
|
D | DataOutput.java | 41 public abstract void write(byte[] buffer) throws IOException; in write() 56 public abstract void write(byte[] buffer, int offset, int count) throws IOException; in write()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_OutputStream.java | 17 private byte[] buffer; field in Support_OutputStream 58 public void write(byte buffer[]) throws IOException { in write() 68 public void write(byte buffer[], int offset, int count) throws IOException { in write()
|
/libcore/luni/src/main/java/java/nio/ |
D | FileChannelImpl.java | 279 public int read(ByteBuffer buffer, long position) throws IOException { in read() 286 public int read(ByteBuffer buffer) throws IOException { in read() 290 private int readImpl(ByteBuffer buffer, long position) throws IOException { in readImpl() 385 ByteBuffer buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count); in transferFrom() local 395 ByteBuffer buffer = ByteBuffer.allocate((int) count); in transferFrom() local 442 ByteBuffer buffer = null; in transferTo() local 467 public int write(ByteBuffer buffer, long position) throws IOException { in write() 474 public int write(ByteBuffer buffer) throws IOException { in write() 478 private int writeImpl(ByteBuffer buffer, long position) throws IOException { in writeImpl()
|
/libcore/luni/src/main/java/libcore/io/ |
D | HeapBufferIterator.java | 28 private final byte[] buffer; field in HeapBufferIterator 35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in HeapBufferIterator() 83 … public static BufferIterator iterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in iterator()
|
D | BlockGuardOs.java | 122 …@Override public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoExceptio… in pread() 132 …@Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoExcepti… in pwrite() 142 @Override public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { in read() 157 …@Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress s… in recvfrom() 167 …@Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddre… in sendto() 190 @Override public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { in write()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFilterWriterTest.java | 48 public void write(char[] buffer, int offset, int count) throws IOException { in write() 96 char[] buffer = new char[5]; in test_write$CII() local 102 char[] buffer = new char[10]; in test_write$CII_Exception() local
|
D | OldFilterReaderTest.java | 58 public int read(char[] buffer, int offset, int count) throws IOException { in read() 113 char[] buffer = new char[5]; in test_read$CII() local 120 char[] buffer = new char[10]; in test_read$CII_Exception() local
|
D | InputStreamReaderTest.java | 37 char[] buffer = new char[1024]; in testReadDoesNotBlockUnnecessarily() local
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldErrorManagerTest.java | 55 public void write(byte[] buffer) { in write() 60 public synchronized void write(byte[] buffer, int offset, int len) { in write()
|
/libcore/luni/src/main/java/java/nio/channels/ |
D | WritableByteChannel.java | 63 public int write(ByteBuffer buffer) throws IOException; in write()
|
D | ReadableByteChannel.java | 65 public int read(ByteBuffer buffer) throws IOException; in read()
|
/libcore/luni/src/main/java/java/text/ |
D | MessageFormat.java | 387 StringBuffer buffer = new StringBuffer(); in applyPattern() local 512 StringBuffer buffer = new StringBuffer(); in formatToCharacterIterator() local 516 formatImpl((Object[]) object, buffer, new FieldPosition(0), fields); in formatToCharacterIterator() local 548 public final StringBuffer format(Object[] objects, StringBuffer buffer, in format() 553 private StringBuffer formatImpl(Object[] objects, StringBuffer buffer, in formatImpl() 700 public final StringBuffer format(Object object, StringBuffer buffer, in format() 971 StringBuffer buffer = new StringBuffer(); in parseVariable() local 1092 private String decodeDecimalFormat(StringBuffer buffer, Format format) { in decodeDecimalFormat() 1109 private String decodeSimpleDateFormat(StringBuffer buffer, Format format) { in decodeSimpleDateFormat() 1146 StringBuffer buffer = new StringBuffer(); in toPattern() local [all …]
|
D | Format.java | 117 public abstract StringBuffer format(Object object, StringBuffer buffer, in format() 178 StringBuffer buffer, char stop) { in upTo() 202 StringBuffer buffer, char stop, char start) { in upToWithQuotes()
|
D | ChoiceFormat.java | 127 StringBuffer buffer = new StringBuffer(); in applyPattern() local 238 public StringBuffer format(double value, StringBuffer buffer, in format() 262 public StringBuffer format(long value, StringBuffer buffer, in format() 451 StringBuilder buffer = new StringBuilder(); in toPattern() local
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
D | GBCharsetDecoderTest.java | 53 ByteBuffer buffer = ByteBuffer.allocate(20); in getMalformedByteBuffer() local
|
D | ASCCharsetDecoderTest.java | 58 ByteBuffer buffer = ByteBuffer.allocate(8); in getMalformedByteBuffer() local
|
/libcore/crypto/src/main/java/org/conscrypt/ |
D | OpenSSLBIOInputStream.java | 45 public int gets(byte[] buffer) throws IOException { in gets()
|