Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java99 final MemoryRef memoryRef; field in DirectByteBuffer
101 DirectByteBuffer(int capacity, MemoryRef memoryRef) { in DirectByteBuffer() argument
102 super(-1, 0, capacity, capacity, memoryRef.buffer, memoryRef.offset); in DirectByteBuffer()
105 this.memoryRef = memoryRef; in DirectByteBuffer()
106 this.address = memoryRef.allocatedAddress + memoryRef.offset; in DirectByteBuffer()
115 memoryRef = new MemoryRef(addr, this); in DirectByteBuffer()
128 memoryRef = new MemoryRef(addr, null); in DirectByteBuffer()
130 cleaner = Cleaner.create(memoryRef, unmapper); in DirectByteBuffer()
136 DirectByteBuffer(MemoryRef memoryRef, // package-private in DirectByteBuffer() argument
139 this(memoryRef, mark, pos, lim, cap, off, false); in DirectByteBuffer()
[all …]
DByteBuffer.java347 DirectByteBuffer.MemoryRef memoryRef = new DirectByteBuffer.MemoryRef(capacity); in allocateDirect() local
348 return new DirectByteBuffer(capacity, memoryRef); in allocateDirect()
DX-Buffer.java.template347 DirectByteBuffer.MemoryRef memoryRef = new DirectByteBuffer.MemoryRef(capacity);
348 return new DirectByteBuffer(capacity, memoryRef);
/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
444 final java.nio.DirectByteBuffer.MemoryRef memoryRef; field in DirectByteBuffer
447 memoryRef = null;
/libcore/luni/src/main/java/java/nio/
DNioUtils.java63 dbb.memoryRef.free(); in freeDirectBuffer()