Searched refs:asLongBuffer (Results 1 – 8 of 8) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectLongBufferTest.java | 27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asLongBuffer(); in setUp() 62 LongBuffer longBuffer = directByteBuffer.asLongBuffer(); in testJNIAccessByAddress()
|
D | DirectByteBufferTest.java | 104 LongBuffer longBuf = buf.asLongBuffer(); in testUnalignedReadsAndWrites()
|
D | ByteBufferTest.java | 1061 longBuffer = buf.asLongBuffer(); in testAsLongBuffer() 1072 longBuffer = buf.asLongBuffer(); in testAsLongBuffer() 1084 longBuffer = buf.asLongBuffer(); in testAsLongBuffer() 1096 longBuffer = buf.asLongBuffer(); in testAsLongBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 175 b.order(ByteOrder.BIG_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet() 179 b.order(ByteOrder.LITTLE_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet() 250 b.order(ByteOrder.BIG_ENDIAN).asLongBuffer().put(longs, 1, 1); in testByteSwappedBulkPut() 252 b.order(ByteOrder.LITTLE_ENDIAN).asLongBuffer().put(longs, 1, 1); in testByteSwappedBulkPut() 314 assertEquals(ByteOrder.BIG_ENDIAN, b.asLongBuffer().order()); in testByteBufferByteOrder() 322 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asLongBuffer().order()); in testByteBufferByteOrder() 468 return ByteBuffer.allocate(10*8).order(order).asLongBuffer(); in allocateLongBuffer() 866 b.asLongBuffer().get(); in testBug6085292() 871 b.asLongBuffer().get(0); in testBug6085292() 1287 b.asLongBuffer(); in testAsMethods() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 220 … LongBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asLongBuffer(); in timeLongBuffer_getLongArray() 371 … LongBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asLongBuffer(); in timeLongBuffer_putLongArray()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1312 public abstract LongBuffer asLongBuffer(); in asLongBuffer() method in ByteBuffer
|
D | HeapByteBuffer.java | 385 public LongBuffer asLongBuffer() { in asLongBuffer() method in HeapByteBuffer
|
D | DirectByteBuffer.java | 626 public LongBuffer asLongBuffer() { in asLongBuffer() method in DirectByteBuffer
|