Home
last modified time | relevance | path

Searched refs:asLongBuffer (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectLongBufferTest.java27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asLongBuffer(); in setUp()
62 LongBuffer longBuffer = directByteBuffer.asLongBuffer(); in testJNIAccessByAddress()
DDirectByteBufferTest.java104 LongBuffer longBuf = buf.asLongBuffer(); in testUnalignedReadsAndWrites()
DByteBufferTest.java1061 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/
DBufferTest.java175 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/
DByteBufferBenchmark.java220 … 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/
DByteBuffer.java1312 public abstract LongBuffer asLongBuffer(); in asLongBuffer() method in ByteBuffer
DHeapByteBuffer.java385 public LongBuffer asLongBuffer() { in asLongBuffer() method in HeapByteBuffer
DDirectByteBuffer.java626 public LongBuffer asLongBuffer() { in asLongBuffer() method in DirectByteBuffer