/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectShortBufferTest.java | 26 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*Short.BYTES).asShortBuffer(); in setUp() 61 ShortBuffer shortBuffer = directByteBuffer.asShortBuffer(); in testJNIAccessByAddress()
|
D | DirectByteBufferTest.java | 76 ShortBuffer shortBuf = buf.asShortBuffer(); in testUnalignedReadsAndWrites()
|
D | ByteBufferTest.java | 1148 shortBuffer = buf.asShortBuffer(); in testAsShortBuffer() 1159 shortBuffer = buf.asShortBuffer(); in testAsShortBuffer() 1171 shortBuffer = buf.asShortBuffer(); in testAsShortBuffer() 1183 shortBuffer = buf.asShortBuffer(); in testAsShortBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 131 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().get(shorts, 1, 4); in testByteSwappedBulkGet() 138 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shorts, 1, 4); in testByteSwappedBulkGet() 202 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().put(shorts, 1, 4); in testByteSwappedBulkPut() 204 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().put(shorts, 1, 4); in testByteSwappedBulkPut() 261 assertEquals(ByteOrder.BIG_ENDIAN, b.asShortBuffer().order()); in testByteBufferByteOrder() 269 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asShortBuffer().order()); in testByteBufferByteOrder() 445 return ByteBuffer.allocate(10*8).order(order).asShortBuffer(); in allocateShortBuffer() 824 b.asShortBuffer().get(); in testBug6085292() 829 b.asShortBuffer().get(0); in testBug6085292() 956 b.asShortBuffer().get(0); in testAccess() [all …]
|
D | OldDirectShortBufferTest.java | 31 ShortBuffer shortBuffer = byteBuffer.asShortBuffer(); in testPutWhenOffsetIsNonZero()
|
D | OldAndroidNIOTest.java | 349 ShortBuffer sb = bb.asShortBuffer(); in byteBufferTest() 357 sb = bb.asShortBuffer(); in byteBufferTest()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | DirectByteBuffer.annotated.java | 89 public final java.nio.ShortBuffer asShortBuffer() { throw new RuntimeException("Stub!"); } in asShortBuffer() method in DirectByteBuffer
|
D | ByteBuffer.annotated.java | 110 public abstract java.nio.ShortBuffer asShortBuffer(); in asShortBuffer() method in ByteBuffer
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 241 … ShortBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asShortBuffer(); in timeShortBuffer_getShortArray() 392 … ShortBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asShortBuffer(); in timeShortBuffer_putShortArray()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 183 public abstract java.nio.ShortBuffer asShortBuffer(); in asShortBuffer() method in ByteBuffer
|
D | DirectByteBuffer.java | 243 public final java.nio.ShortBuffer asShortBuffer() { in asShortBuffer() method in DirectByteBuffer
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 121 @libcore.util.NonNull public abstract java.nio.ShortBuffer asShortBuffer(); in asShortBuffer() method in ByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1293 public abstract ShortBuffer asShortBuffer(); in asShortBuffer() method in ByteBuffer
|
D | HeapByteBuffer.java | 305 public ShortBuffer asShortBuffer() { in asShortBuffer() method in HeapByteBuffer
|
D | DirectByteBuffer.java | 535 public final ShortBuffer asShortBuffer() { in asShortBuffer() method in DirectByteBuffer
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 813 short value = buffer.asShortBuffer().get(); in readShort()
|