Home
last modified time | relevance | path

Searched refs:DirectByteBuffer (Results 1 – 18 of 18) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectCharBufferTest.java21 import java.nio.DirectByteBuffer;
60 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
DDirectDoubleBufferTest.java20 import java.nio.DirectByteBuffer;
59 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
DDirectFloatBufferTest.java20 import java.nio.DirectByteBuffer;
60 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
DDirectIntBufferTest.java20 import java.nio.DirectByteBuffer;
60 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
DDirectLongBufferTest.java20 import java.nio.DirectByteBuffer;
60 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
DDirectShortBufferTest.java20 import java.nio.DirectByteBuffer;
60 DirectByteBuffer directByteBuffer = (DirectByteBuffer) ByteBuffer.allocateDirect(10); in testJNIAccessByAddress()
/libcore/luni/src/main/java/java/nio/
DNioUtils.java43 DirectByteBuffer dbb = (DirectByteBuffer) buffer; in freeDirectBuffer()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java39 public class DirectByteBuffer extends MappedByteBuffer implements DirectBuffer { class
86 DirectByteBuffer(int capacity, MemoryRef memoryRef) { in DirectByteBuffer() method in DirectByteBuffer
98 private DirectByteBuffer(long addr, int cap) { in DirectByteBuffer() method in DirectByteBuffer
106 public DirectByteBuffer(int cap, long addr, in DirectByteBuffer() method in DirectByteBuffer
118 DirectByteBuffer(MemoryRef memoryRef, // package-private in DirectByteBuffer() method in DirectByteBuffer
124 DirectByteBuffer(MemoryRef memoryRef, // package-private in DirectByteBuffer() method in DirectByteBuffer
155 return new DirectByteBuffer(memoryRef, -1, 0, rem, rem, off, isReadOnly); in slice()
163 return new DirectByteBuffer(memoryRef, in duplicate()
177 return new DirectByteBuffer(memoryRef, in asReadOnlyBuffer()
DByteBufferAsShortBuffer.java49 if (bb instanceof DirectByteBuffer) { in ByteBufferAsShortBuffer()
137 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBufferAsDoubleBuffer.java50 if (bb instanceof DirectByteBuffer) { in ByteBufferAsDoubleBuffer()
139 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBufferAsFloatBuffer.java49 if (bb instanceof DirectByteBuffer) { in ByteBufferAsFloatBuffer()
138 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBufferAsIntBuffer.java49 if (bb instanceof DirectByteBuffer) { in ByteBufferAsIntBuffer()
138 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBufferAsLongBuffer.java49 if (bb instanceof DirectByteBuffer) { in ByteBufferAsLongBuffer()
138 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBufferAsCharBuffer.java49 if (bb instanceof DirectByteBuffer) { in ByteBufferAsCharBuffer()
142 if (!(bb instanceof DirectByteBuffer)) { in compact()
DByteBuffer.java240 DirectByteBuffer.MemoryRef memoryRef = new DirectByteBuffer.MemoryRef(capacity); in allocateDirect()
241 return new DirectByteBuffer(capacity, memoryRef); in allocateDirect()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java25 import java.nio.DirectByteBuffer;
419 private class MockNonArrayBackedByteBuffer extends DirectByteBuffer {
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java34 import java.nio.DirectByteBuffer;
969 return new DirectByteBuffer(0, 0, dummy, null, in map()
1011 return new DirectByteBuffer(isize, addr + pagePosition, mfd, um, in map()
/libcore/
Dopenjdk_java_files.mk381 ojluni/src/main/java/java/nio/DirectByteBuffer.java \