/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 81 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet() 83 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet() 171 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().put(chars, 1, 4); in testByteSwappedBulkPut() 173 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().put(chars, 1, 4); in testByteSwappedBulkPut() 256 assertEquals(ByteOrder.BIG_ENDIAN, b.asCharBuffer().order()); in testByteBufferByteOrder() 264 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asCharBuffer().order()); in testByteBufferByteOrder() 290 return ByteBuffer.allocate(10).order(order).asCharBuffer(); in allocateCharBuffer() 733 assertEquals("Hello", b.asCharBuffer().toString()); in testCharBufferSubSequence() 735 CharBuffer cb = b.asCharBuffer(); in testCharBufferSubSequence() 764 b.asCharBuffer().get(); in testBug6085292() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectCharBufferTest.java | 27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*Character.BYTES).asCharBuffer(); in setUp() 61 CharBuffer charBuffer = directByteBuffer.asCharBuffer(); in testJNIAccessByAddress()
|
D | ByteBufferTest.java | 852 charBuffer = buf.asCharBuffer(); in testAsCharBuffer() 863 charBuffer = buf.asCharBuffer(); in testAsCharBuffer() 875 charBuffer = buf.asCharBuffer(); in testAsCharBuffer() 887 charBuffer = buf.asCharBuffer(); in testAsCharBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | OldCharsetEncoderDecoderBufferTest.java | 51 out = ByteBuffer.wrap(bBuf).asCharBuffer(); in testDecoderOutputBuffer()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | DirectByteBuffer.annotated.java | 79 public final java.nio.CharBuffer asCharBuffer() { throw new RuntimeException("Stub!"); } in asCharBuffer() method in DirectByteBuffer
|
D | ByteBuffer.annotated.java | 100 public abstract java.nio.CharBuffer asCharBuffer(); in asCharBuffer() method in ByteBuffer
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 126 … CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_getCharArray() 287 … CharBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_putCharArray()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 165 public abstract java.nio.CharBuffer asCharBuffer(); in asCharBuffer() method in ByteBuffer
|
D | DirectByteBuffer.java | 199 public final java.nio.CharBuffer asCharBuffer() { in asCharBuffer() method in DirectByteBuffer
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 111 @libcore.util.NonNull public abstract java.nio.CharBuffer asCharBuffer(); in asCharBuffer() method in ByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1184 public abstract CharBuffer asCharBuffer(); in asCharBuffer() method in ByteBuffer
|
D | HeapByteBuffer.java | 244 public CharBuffer asCharBuffer() { in asCharBuffer() method in HeapByteBuffer
|
D | DirectByteBuffer.java | 433 public final CharBuffer asCharBuffer() { in asCharBuffer() method in DirectByteBuffer
|