Searched refs:asDoubleBuffer (Results 1 - 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DDirectDoubleBufferTest.java27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asDoubleBuffer();
61 DoubleBuffer doubleBuffer = directByteBuffer.asDoubleBuffer();
H A DByteBufferTest.java878 doubleBuffer = buf.asDoubleBuffer();
892 doubleBuffer = buf.asDoubleBuffer();
907 doubleBuffer = buf.asDoubleBuffer();
919 doubleBuffer = buf.asDoubleBuffer();
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java141 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().get(doubles, 1, 1);
145 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().get(doubles, 1, 1);
231 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().put(doubles, 1, 1);
233 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().put(doubles, 1, 1);
311 assertEquals(ByteOrder.BIG_ENDIAN, b.asDoubleBuffer().order());
319 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asDoubleBuffer().order());
375 return ByteBuffer.allocate(10*8).order(order).asDoubleBuffer();
830 b.asDoubleBuffer().get();
835 b.asDoubleBuffer().get(0);
1031 b.asDoubleBuffer()
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java157 DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer();
308 DoubleBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer();
/libcore/ojluni/src/main/java/java/nio/
H A DByteBuffer.java1502 public abstract DoubleBuffer asDoubleBuffer(); method in class:ByteBuffer
H A DHeapByteBuffer.java489 public DoubleBuffer asDoubleBuffer() { method in class:HeapByteBuffer
H A DDirectByteBuffer.java792 public DoubleBuffer asDoubleBuffer() { method in class:DirectByteBuffer

Completed in 33 milliseconds