Home
last modified time | relevance | path

Searched refs:DirectBuffer (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java50 if (src instanceof DirectBuffer) in write()
90 ((DirectBuffer)bb).address() + pos, in writeFromNativeBuffer()
93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem); in writeFromNativeBuffer()
129 if (!(buf instanceof DirectBuffer)) { in write()
139 vec.putBase(iov_len, ((DirectBuffer)buf).address() + pos); in write()
191 if (dst instanceof DirectBuffer) in read()
220 n = nd.pread(fd, ((DirectBuffer)bb).address() + pos, in readIntoNativeBuffer()
223 n = nd.read(fd, ((DirectBuffer)bb).address() + pos, rem); in readIntoNativeBuffer()
262 if (!(buf instanceof DirectBuffer)) { in read()
269 vec.putBase(iov_len, ((DirectBuffer)buf).address() + pos); in read()
DDirectBuffer.java31 public interface DirectBuffer { interface
DUtil.java296 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); in free()
364 unsafe.setMemory(((DirectBuffer)bb).address(), bb.capacity(), (byte)0);
DDatagramChannelImpl.java429 if (dst instanceof DirectBuffer && rem > 0) in receive()
455 int n = receive0(fd, ((DirectBuffer)bb).address() + pos, rem, in receiveIntoNativeBuffer()
526 if (src instanceof DirectBuffer) in send()
565 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, in sendFromNativeBuffer()
DFileChannelImpl.java898 Cleaner cl = ((DirectBuffer)bb).cleaner(); in unmap()
/libcore/ojluni/src/main/java/java/util/zip/
DAdler32.java29 import sun.nio.ch.DirectBuffer;
111 if (buffer instanceof DirectBuffer) { in update()
112 adler = updateByteBuffer(adler, ((DirectBuffer)buffer).address(), pos, rem); in update()
DCRC32.java29 import sun.nio.ch.DirectBuffer;
108 if (buffer instanceof DirectBuffer) { in update()
109 crc = updateByteBuffer(crc, ((DirectBuffer)buffer).address(), pos, rem); in update()
/libcore/ojluni/annotations/mmodule/sun/nio/ch/
DDirectBuffer.annotated.java32 public interface DirectBuffer { interface
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DDirectBuffer.java31 public interface DirectBuffer { interface
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxUserDefinedFileAttributeView.java167 if (dst instanceof sun.nio.ch.DirectBuffer) { in read()
169 address = ((sun.nio.ch.DirectBuffer)dst).address() + pos; in read()
225 if (src instanceof sun.nio.ch.DirectBuffer) { in write()
227 address = ((sun.nio.ch.DirectBuffer)src).address() + pos; in write()
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java35 public class DirectByteBuffer extends java.nio.MappedByteBuffer implements sun.nio.ch.DirectBuffer {
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java32 public class DirectByteBuffer extends java.nio.MappedByteBuffer implements sun.nio.ch.DirectBuffer {
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java34 import sun.nio.ch.DirectBuffer;
38 public class DirectByteBuffer extends MappedByteBuffer implements DirectBuffer {
/libcore/
Dopenjdk_java_files.bp1419 "ojluni/src/main/java/sun/nio/ch/DirectBuffer.java",