Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 148) 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.java283 public int read(ByteBuffer buffer, long position) throws IOException { in read()
290 public int read(ByteBuffer buffer) throws IOException { in read()
294 private int readImpl(ByteBuffer buffer, long position) throws IOException { in readImpl()
387 ByteBuffer buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count); in transferFrom() local
397 ByteBuffer buffer = ByteBuffer.allocate((int) count); in transferFrom() local
444 ByteBuffer buffer = null; in transferTo() local
472 public int write(ByteBuffer buffer, long position) throws IOException { in write()
479 public int write(ByteBuffer buffer) throws IOException { in write()
483 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()
/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/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
DSimpleDateFormat.java470 StringBuffer buffer = new StringBuffer(); in formatToCharacterIteratorImpl() local
514 private StringBuffer formatImpl(Date date, StringBuffer buffer, in formatImpl()
567 private void append(StringBuffer buffer, FieldPosition position, in append()
696 private void appendDayOfWeek(StringBuffer buffer, int count, boolean standAlone) { in appendDayOfWeek()
710 private void appendMonth(StringBuffer buffer, int count, boolean standAlone) { in appendMonth()
738 private void appendTimeZone(StringBuffer buffer, int count, boolean generalTimeZone) { in appendTimeZone()
763 private void appendMilliseconds(StringBuffer buffer, int count, int value) { in appendMilliseconds()
774 numberFormat.format(Integer.valueOf(value), buffer, p); in appendMilliseconds() local
781 private void appendNumber(StringBuffer buffer, int count, int value) { in appendNumber()
787 numberFormat.format(Integer.valueOf(value), buffer, new FieldPosition(0)); in appendNumber() local
[all …]
/libcore/luni/src/main/java/java/nio/channels/
DReadableByteChannel.java65 public int read(ByteBuffer buffer) throws IOException; in read()
DWritableByteChannel.java63 public int write(ByteBuffer buffer) throws IOException; in write()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBufferTest.java33 StringBuffer buffer = new StringBuffer("abcde"); in test_setLengthI() local
95 StringBuffer buffer = new StringBuffer(); in test_toString() local
125 StringBuffer buffer = new StringBuffer(25); in test_trimToSize() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DGBCharsetDecoderTest.java53 ByteBuffer buffer = ByteBuffer.allocate(20); in getMalformedByteBuffer() local
DASCCharsetDecoderTest.java58 ByteBuffer buffer = ByteBuffer.allocate(8); in getMalformedByteBuffer() local

123456