Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 154) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStringReaderTest.java45 char[] buf = new char[10]; in test_close() local
63 char[] buf = new char[10]; in test_markI() local
97 char[] buf = new char[testString.length()]; in test_read$CII() local
131 char[] buf = new char[10]; in test_reset() local
144 char[] buf = new char[10]; in test_skipJ() local
DFileWriterTest.java49 char[] buf = new char[100]; in test_ConstructorLjava_io_File() local
103 char[] buf = new char[100]; in test_ConstructorLjava_io_FileDescriptor() local
122 char[] buf = new char[100]; in test_ConstructorLjava_lang_String() local
140 char[] buf = new char[100]; in test_ConstructorLjava_lang_StringZ() local
DFileReaderTest.java47 char[] buf = new char[100]; in test_ConstructorLjava_io_File() local
63 char[] buf = new char[100]; in test_ConstructorLjava_io_FileDescriptor() local
79 char[] buf = new char[100]; in test_ConstructorLjava_lang_String() local
DBufferedReaderTest.java106 char[] buf = null; in test_markI() local
210 char[] buf = new char[14]; in test_read() local
289 char[] buf = new char[testString.length()]; in test_read$CII() local
510 char[] buf = new char[testString.length()]; in test_reset() local
565 char[] buf = new char[testString.length()]; in test_skipJ() local
DPipedWriterTest.java29 public char[] buf = new char[10]; field in PipedWriterTest.PReader
77 char[] buf = new char[10]; in test_ConstructorLjava_io_PipedReader() local
95 char[] buf = new char[10]; in test_close() local
114 char[] buf = new char[10]; in test_connectLjava_io_PipedReader() local
133 char[] buf = new char[10]; in test_flush() local
178 char[] buf = new char[10]; in test_write$CII() local
399 char[] buf = new char[10]; in test_write_$CII_MultiThread() local
DBufferedInputStreamTest.java148 static byte[] buf; field in BufferedInputStreamTest.MockBufferedInputStream
191 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_close() local
275 BufferedInputStream buf = new BufferedInputStream( in test_markI() local
520 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_skipJ() local
532 BufferedInputStream buf = new BufferedInputStream(null, 5); in test_skip_NullInputStream() local
/libcore/luni/src/main/java/java/io/
DCharArrayReader.java31 protected char[] buf; field in CharArrayReader
56 public CharArrayReader(char[] buf) { in CharArrayReader()
76 public CharArrayReader(char[] buf, int offset, int length) { in CharArrayReader()
DByteArrayInputStream.java31 protected byte[] buf; field in ByteArrayInputStream
57 public ByteArrayInputStream(byte[] buf) { in ByteArrayInputStream()
75 public ByteArrayInputStream(byte[] buf, int offset, int length) { in ByteArrayInputStream()
DWriter.java93 public void write(char[] buf) throws IOException { in write()
113 public abstract void write(char[] buf, int offset, int count) throws IOException; in write()
164 char[] buf = new char[count]; in write() local
/libcore/luni/src/main/java/java/lang/
DIntegralToString.java386 sb.append0(buf, cursor, bufLen - cursor); in sb.append0() argument
400 private static int intIntoCharArray(char[] buf, int cursor, int n) { in intIntoCharArray()
430 char[] buf = new char[bufLen]; in intToBinaryString() local
447 char[] buf = new char[bufLen]; in longToBinaryString() local
466 char[] buf = new char[2]; // We always want two digits. in byteToHexString() local
474 char[] buf = new char[bytes.length * 2]; in bytesToHexString() local
485 char[] buf = new char[bufLen]; in intToHexString() local
503 char[] buf = new char[bufLen]; in longToHexString() local
515 char[] buf = new char[bufLen]; in intToOctalString() local
531 char[] buf = new char[bufLen]; in longToOctalString() local
/libcore/luni/src/test/java/libcore/java/io/
DOldReaderTest.java36 CharBuffer buf = CharBuffer.allocate(4); in test_Reader_CharBufferChar() local
54 char[] buf = new char[4]; in test_Read_$C() local
98 char[] buf = new char[4]; in test_skip() local
116 @Override public int read(char[] buf, int offset, int count) { in read()
/libcore/luni/src/main/java/java/util/zip/
DAdler32.java64 public void update(byte[] buf) { in update()
72 public void update(byte[] buf, int offset, int byteCount) { in update()
77 private native long updateImpl(byte[] buf, int offset, int byteCount, long adler1); in updateImpl()
DCRC32.java65 public void update(byte[] buf) { in update()
73 public void update(byte[] buf, int offset, int byteCount) { in update()
79 private native long updateImpl(byte[] buf, int offset, int byteCount, long crc1); in updateImpl()
DDeflater.java201 public int deflate(byte[] buf) { in deflate()
211 public synchronized int deflate(byte[] buf, int offset, int byteCount) { in deflate()
228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate()
235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl()
244 … private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); in deflateImpl()
380 public synchronized void setDictionary(byte[] buf, int offset, int byteCount) { in setDictionary()
386 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); in setDictionaryImpl()
392 public void setInput(byte[] buf) { in setInput()
400 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
414 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
DInflater.java213 public int inflate(byte[] buf) throws DataFormatException { in inflate()
226 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate()
244 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl()
303 public synchronized void setInput(byte[] buf) { in setInput()
311 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
319 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestIncompatibleException.java52 StringBuffer buf = new StringBuffer( in incompatibleFeature() local
63 StringBuffer buf = new StringBuffer( in incompatibleLoad() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DIntBufferTest.java37 protected IntBuffer buf; field in IntBufferTest
614 void loadTestData1(IntBuffer buf) { in loadTestData1()
621 void loadTestData2(IntBuffer buf) { in loadTestData2()
628 void assertContentEquals(IntBuffer buf, int array[], in assertContentEquals()
635 void assertContentEquals(IntBuffer buf, IntBuffer other) { in assertContentEquals()
642 void assertContentLikeTestData1(IntBuffer buf, in assertContentLikeTestData1()
DFloatBufferTest.java37 protected FloatBuffer buf; field in FloatBufferTest
638 void loadTestData1(FloatBuffer buf) { in loadTestData1()
645 void loadTestData2(FloatBuffer buf) { in loadTestData2()
652 void assertContentEquals(FloatBuffer buf, float array[], in assertContentEquals()
659 void assertContentEquals(FloatBuffer buf, FloatBuffer other) { in assertContentEquals()
666 void assertContentLikeTestData1(FloatBuffer buf, in assertContentLikeTestData1()
DLongBufferTest.java37 protected LongBuffer buf; field in LongBufferTest
621 void loadTestData1(LongBuffer buf) { in loadTestData1()
628 void loadTestData2(LongBuffer buf) { in loadTestData2()
635 void assertContentEquals(LongBuffer buf, long array[], in assertContentEquals()
642 void assertContentEquals(LongBuffer buf, LongBuffer other) { in assertContentEquals()
649 void assertContentLikeTestData1(LongBuffer buf, in assertContentLikeTestData1()
DShortBufferTest.java36 protected ShortBuffer buf; field in ShortBufferTest
601 void loadTestData1(ShortBuffer buf) { in loadTestData1()
608 void loadTestData2(ShortBuffer buf) { in loadTestData2()
615 void assertContentEquals(ShortBuffer buf, short array[], in assertContentEquals()
622 void assertContentEquals(ShortBuffer buf, ShortBuffer other) { in assertContentEquals()
629 void assertContentLikeTestData1(ShortBuffer buf, in assertContentLikeTestData1()
DDoubleBufferTest.java36 protected DoubleBuffer buf; field in DoubleBufferTest
628 void loadTestData1(DoubleBuffer buf) { in loadTestData1()
635 void loadTestData2(DoubleBuffer buf) { in loadTestData2()
642 private void assertContentEquals(DoubleBuffer buf, double array[], in assertContentEquals()
649 private void assertContentEquals(DoubleBuffer buf, DoubleBuffer other) { in assertContentEquals()
656 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1()
DWrappedShortBufferTest.java82 ShortBuffer buf = ShortBuffer.wrap(array, 2, 16); in testWrappedShortBuffer_IllegalArg() local
/libcore/luni/src/test/java/libcore/java/nio/
DNoArrayTest.java31 private void assertNoArray(ByteBuffer buf) { in assertNoArray()
/libcore/support/src/test/java/tests/support/
DSupport_StringWriter.java24 private StringBuffer buf; field in Support_StringWriter
113 public void write(char[] buf, int offset, int count) { in write()
/libcore/luni/src/main/native/
Dreadlink.cpp28 LocalArray<512> buf(bufSize); in readlink() local

1234567