Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 142) sorted by relevance

123456

/libcore/luni/src/main/java/java/io/
DStringBufferInputStream.java33 protected String buffer; field in StringBufferInputStream
81 @Override public synchronized int read(byte[] buffer, int byteOffset, int byteCount) { in read()
DObjectOutput.java54 public void write(byte[] buffer) throws IOException; in write()
71 public void write(byte[] buffer, int offset, int count) throws IOException; in write()
DObjectInput.java65 public int read(byte[] buffer) throws IOException; in read()
76 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException; in read()
DOutputStream.java81 public void write(byte[] buffer) throws IOException { in write()
103 public void write(byte[] buffer, int offset, int count) throws IOException { in write()
DInputStream.java161 public int read(byte[] buffer) throws IOException { in read()
176 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
DPushbackInputStream.java166 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()
DPushbackReader.java172 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()
DReader.java140 public int read(char[] buffer) throws IOException { in read()
153 public abstract int read(char[] buffer, int offset, int count) throws IOException; in read()
DDataOutput.java41 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/
DSupport_OutputStream.java17 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/
DFileChannelImpl.java279 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/
DHeapBufferIterator.java28 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()
DBlockGuardOs.java122 …@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/
DOldFilterWriterTest.java48 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
DOldFilterReaderTest.java58 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
DInputStreamReaderTest.java37 char[] buffer = new char[1024]; in testReadDoesNotBlockUnnecessarily() local
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldErrorManagerTest.java55 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/
DWritableByteChannel.java63 public int write(ByteBuffer buffer) throws IOException; in write()
DReadableByteChannel.java65 public int read(ByteBuffer buffer) throws IOException; in read()
/libcore/luni/src/main/java/java/text/
DMessageFormat.java387 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 …]
DFormat.java117 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()
DChoiceFormat.java127 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/
DGBCharsetDecoderTest.java53 ByteBuffer buffer = ByteBuffer.allocate(20); in getMalformedByteBuffer() local
DASCCharsetDecoderTest.java58 ByteBuffer buffer = ByteBuffer.allocate(8); in getMalformedByteBuffer() local
/libcore/crypto/src/main/java/org/conscrypt/
DOpenSSLBIOInputStream.java45 public int gets(byte[] buffer) throws IOException { in gets()

123456