Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java47 NativeDispatcher nd) in write() argument
51 return writeFromNativeBuffer(fd, src, position, nd); in write()
65 int n = writeFromNativeBuffer(fd, bb, position, nd); in write()
77 long position, NativeDispatcher nd) in writeFromNativeBuffer() argument
89 written = nd.pwrite(fd, in writeFromNativeBuffer()
93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem); in writeFromNativeBuffer()
100 static long write(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) in write() argument
103 return write(fd, bufs, 0, bufs.length, nd); in write()
107 NativeDispatcher nd) in write() argument
148 long bytesWritten = nd.writev(fd, vec.address, iov_len); in write()
[all …]
DFileChannelImpl.java65 private final FileDispatcher nd; field in FileChannelImpl
107 this.nd = new FileDispatcherImpl(append); in FileChannelImpl()
147 nd.release(fd, fl.position(), fl.size()); in implCloseChannel()
166 nd.close(fd); in implCloseChannel()
197 n = IOUtil.read(fd, dst, -1, nd); in read()
225 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
249 n = IOUtil.write(fd, src, -1, nd); in write()
277 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
309 p = (append) ? nd.size(fd) : position0(fd, -1); in position()
359 s = nd.size(fd); in size()
[all …]
DSimpleAsynchronousFileChannelImpl.java51 private static final FileDispatcher nd = new FileDispatcherImpl(); field in SimpleAsynchronousFileChannelImpl
102 nd.close(fdObj); in close()
113 n = nd.size(fdObj); in size()
136 n = nd.size(fdObj); in truncate()
142 n = nd.truncate(fdObj, size); in truncate()
162 n = nd.force(fdObj, metaData); in force()
206 n = nd.lock(fdObj, true, position, size, shared); in implLock()
262 n = nd.lock(fdObj, false, position, size, shared); in tryLock()
284 nd.release(fdObj, fli.position(), fli.size()); in implRelease()
320 n = IOUtil.read(fdObj, dst, position, nd); in implRead()
[all …]
DSinkChannelImpl.java40 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in SinkChannelImpl
88 nd.preClose(fd); in implCloseSelectableChannel()
106 nd.close(fd); in kill()
167 n = IOUtil.write(fd, src, -1, nd); in write()
190 n = IOUtil.write(fd, srcs, nd); in write()
DSourceChannelImpl.java41 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in SourceChannelImpl
89 nd.preClose(fd); in implCloseSelectableChannel()
107 nd.close(fd); in kill()
172 n = IOUtil.read(fd, dst, -1, nd); in read()
203 n = IOUtil.read(fd, dsts, nd); in read()
DUnixAsynchronousSocketChannelImpl.java48 private final static NativeDispatcher nd = new SocketDispatcher(); field in UnixAsynchronousSocketChannelImpl
108 nd.close(fd); in UnixAsynchronousSocketChannelImpl()
234 nd.close(fd); in implClose()
409 n = (int)IOUtil.read(fd, readBuffers, nd); in finishRead()
411 n = IOUtil.read(fd, readBuffer, -1, nd); in finishRead()
530 n = (int)IOUtil.read(fd, dsts, nd); in implRead()
532 n = IOUtil.read(fd, dst, -1, nd); in implRead()
604 n = (int)IOUtil.write(fd, writeBuffers, nd); in finishWrite()
606 n = IOUtil.write(fd, writeBuffer, -1, nd); in finishWrite()
713 n = (int)IOUtil.write(fd, srcs, nd); in implWrite()
[all …]
DUnixAsynchronousServerSocketChannelImpl.java49 private final static NativeDispatcher nd = new SocketDispatcher(); field in UnixAsynchronousServerSocketChannelImpl
86 nd.close(fd); // prevent leak in UnixAsynchronousServerSocketChannelImpl()
106 nd.close(fd); in implClose()
235 nd.close(newfd); in finishAccept()
DSocketChannelImpl.java71 private static NativeDispatcher nd; field in SocketChannelImpl
421 n = IOUtil.read(fd, buf, -1, nd); in read()
481 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
512 n = IOUtil.write(fd, buf, -1, nd); in write()
545 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
885 nd.preClose(fd); in implCloseSelectableChannel()
927 nd.close(fd); in kill()
1097 nd = new SocketDispatcher();
DServerSocketChannelImpl.java47 private static NativeDispatcher nd; field in ServerSocketChannelImpl
289 nd.preClose(fd); in implCloseSelectableChannel()
307 nd.close(fd); in kill()
442 nd = new SocketDispatcher();
DDatagramChannelImpl.java53 private static NativeDispatcher nd = new DatagramDispatcher(); field in DatagramChannelImpl
593 n = IOUtil.read(fd, buf, -1, nd); in read()
622 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
649 n = IOUtil.write(fd, buf, -1, nd); in write()
678 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
1054 nd.preClose(fd); in implCloseSelectableChannel()
1080 nd.close(fd); in kill()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DFileChannelImpl.java260 private final sun.nio.ch.FileDispatcher nd; field in FileChannelImpl
263 nd = null;
371 private static final sun.nio.ch.NativeDispatcher nd; field in FileChannelImpl.Unmapper
374 nd = null;