Home
last modified time | relevance | path

Searched refs:getByteBuffer (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUTF16CharsetDecoderTest.java47 protected ByteBuffer getByteBuffer() { in getByteBuffer() method in UTF16CharsetDecoderTest
62 ByteBuffer b = getByteBuffer(); in getHeadlessByteBuffer()
72 implTestDecodeByteBufferCharBuffer(getByteBuffer()); in testLittleEndianByteBufferCharBuffer()
79 implTestDecodeByteBufferCharBuffer(getByteBuffer().asReadOnlyBuffer()); in testLittleEndianReadOnlyByteBufferCharBuffer()
DUTFCharsetDecoderTest.java53 ByteBuffer buffer = ByteBuffer.allocate(getByteBuffer().remaining() + 1); in getMalformedByteBuffer()
55 buffer.put(getByteBuffer()); in getMalformedByteBuffer()
68 protected ByteBuffer getByteBuffer() { in getByteBuffer() method in UTFCharsetDecoderTest
DCharsetDecoderTest.java218 ByteBuffer in = getByteBuffer(); in implTestDecodeByteBuffer()
226 in = getByteBuffer().asReadOnlyBuffer(); in implTestDecodeByteBuffer()
301 implTestDecodeByteBufferCharBuffer(getByteBuffer()); in testDecodeByteBufferCharBuffer()
305 implTestDecodeByteBufferCharBuffer(getByteBuffer()); in testDecodeByteBufferCharBufferReadOnly()
365 in = getByteBuffer(); in implTestDecodeByteBufferCharBuffer()
532 protected ByteBuffer getByteBuffer() { in getByteBuffer() method in CharsetDecoderTest
537 return getByteBuffer(); in getHeadlessByteBuffer()
592 decoder.decode(getByteBuffer()); in testResetIllegalState()
594 decoder.decode(getByteBuffer(), CharBuffer.allocate(3), false); in testResetIllegalState()
596 decoder.decode(getByteBuffer(), CharBuffer.allocate(3), true); in testResetIllegalState()
[all …]
DUTF16BECharsetDecoderTest.java68 protected ByteBuffer getByteBuffer() { in getByteBuffer() method in UTF16BECharsetDecoderTest
DUTF16LECharsetDecoderTest.java68 protected ByteBuffer getByteBuffer() { in getByteBuffer() method in UTF16LECharsetDecoderTest
DASCCharsetDecoderTest.java60 buffer.put(getByteBuffer()); in getMalformedByteBuffer()
DGBCharsetDecoderTest.java55 buffer.put(getByteBuffer()); in getMalformedByteBuffer()
/libcore/ojluni/src/main/java/sun/nio/
DByteBuffered.java57 public ByteBuffer getByteBuffer() throws IOException; in getByteBuffer() method
/libcore/ojluni/src/main/java/sun/misc/
DResource.java159 public ByteBuffer getByteBuffer() throws IOException { in getByteBuffer() method in Resource
162 return ((ByteBuffered)in).getByteBuffer(); in getByteBuffer()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java454 java.nio.ByteBuffer bb = res.getByteBuffer(); in defineClass()