Home
last modified time | relevance | path

Searched refs:memoryRef (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java96 final MemoryRef memoryRef; field in DirectByteBuffer
98 DirectByteBuffer(int capacity, MemoryRef memoryRef) { in DirectByteBuffer() argument
99 super(-1, 0, capacity, capacity, memoryRef.buffer, memoryRef.offset); in DirectByteBuffer()
102 this.memoryRef = memoryRef; in DirectByteBuffer()
103 this.address = memoryRef.allocatedAddress + memoryRef.offset; in DirectByteBuffer()
112 memoryRef = new MemoryRef(addr, this); in DirectByteBuffer()
124 memoryRef = new MemoryRef(addr, null); in DirectByteBuffer()
126 cleaner = Cleaner.create(memoryRef, unmapper); in DirectByteBuffer()
130 DirectByteBuffer(MemoryRef memoryRef, // package-private in DirectByteBuffer() argument
133 this(memoryRef, mark, pos, lim, cap, off, false); in DirectByteBuffer()
[all …]
DByteBuffer.java258 DirectByteBuffer.MemoryRef memoryRef = new DirectByteBuffer.MemoryRef(capacity); in allocateDirect() local
259 return new DirectByteBuffer(capacity, memoryRef); in allocateDirect()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java34 DirectByteBuffer(int capacity, java.nio.DirectByteBuffer.MemoryRef memoryRef) { in DirectByteBuffer() argument
56 java.nio.DirectByteBuffer.MemoryRef memoryRef, in DirectByteBuffer() argument
67 java.nio.DirectByteBuffer.MemoryRef memoryRef, in DirectByteBuffer() argument
437 final java.nio.DirectByteBuffer.MemoryRef memoryRef; field in DirectByteBuffer
440 memoryRef = null;
/libcore/luni/src/main/java/java/nio/
DNioUtils.java65 dbb.memoryRef.free(); in freeDirectBuffer()