/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | IOUtil.java | 47 NativeDispatcher nd) 51 return writeFromNativeBuffer(fd, src, position, nd); 65 int n = writeFromNativeBuffer(fd, bb, position, nd); 77 long position, NativeDispatcher nd) 89 written = nd.pwrite(fd, 93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem); 100 static long write(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) argument 103 return write(fd, bufs, 0, bufs.length, nd); 107 NativeDispatcher nd) 148 long bytesWritten = nd 46 write(FileDescriptor fd, ByteBuffer src, long position, NativeDispatcher nd) argument 76 writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument 106 write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) argument 185 read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) argument 207 readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument 230 read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) argument 236 read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) argument [all...] |
H A D | SimpleAsynchronousFileChannelImpl.java | 51 private static final FileDispatcher nd = new FileDispatcherImpl(); field in class:SimpleAsynchronousFileChannelImpl 102 nd.close(fdObj); 113 n = nd.size(fdObj); 136 n = nd.size(fdObj); 142 n = nd.truncate(fdObj, size); 162 n = nd.force(fdObj, metaData); 206 n = nd.lock(fdObj, true, position, size, shared); 262 n = nd.lock(fdObj, false, position, size, shared); 284 nd.release(fdObj, fli.position(), fli.size()); 320 n = IOUtil.read(fdObj, dst, position, nd); [all...] |
H A D | SinkChannelImpl.java | 40 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:SinkChannelImpl 88 nd.preClose(fd); 106 nd.close(fd); 167 n = IOUtil.write(fd, src, -1, nd); 190 n = IOUtil.write(fd, srcs, nd);
|
H A D | SourceChannelImpl.java | 41 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:SourceChannelImpl 89 nd.preClose(fd); 107 nd.close(fd); 171 n = IOUtil.read(fd, dst, -1, nd); 202 n = IOUtil.read(fd, dsts, nd);
|
H A D | FileChannelImpl.java | 65 private final FileDispatcher nd; field in class:FileChannelImpl 107 this.nd = new FileDispatcherImpl(append); 146 nd.release(fd, fl.position(), fl.size()); 165 nd.close(fd); 194 n = IOUtil.read(fd, dst, -1, nd); 222 n = IOUtil.read(fd, dsts, offset, length, nd); 246 n = IOUtil.write(fd, src, -1, nd); 274 n = IOUtil.write(fd, srcs, offset, length, nd); 302 p = (append) ? nd.size(fd) : position0(fd, -1); 349 s = nd 834 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:FileChannelImpl.Unmapper [all...] |
H A D | UnixAsynchronousSocketChannelImpl.java | 48 private final static NativeDispatcher nd = new SocketDispatcher(); field in class:UnixAsynchronousSocketChannelImpl 108 nd.close(fd); 234 nd.close(fd); 409 n = (int)IOUtil.read(fd, readBuffers, nd); 411 n = IOUtil.read(fd, readBuffer, -1, nd); 530 n = (int)IOUtil.read(fd, dsts, nd); 532 n = IOUtil.read(fd, dst, -1, nd); 604 n = (int)IOUtil.write(fd, writeBuffers, nd); 606 n = IOUtil.write(fd, writeBuffer, -1, nd); 713 n = (int)IOUtil.write(fd, srcs, nd); [all...] |
H A D | UnixAsynchronousServerSocketChannelImpl.java | 49 private final static NativeDispatcher nd = new SocketDispatcher(); field in class:UnixAsynchronousServerSocketChannelImpl 86 nd.close(fd); // prevent leak 106 nd.close(fd); 235 nd.close(newfd);
|
H A D | SocketChannelImpl.java | 71 private static NativeDispatcher nd; field in class:SocketChannelImpl 378 // - implCloseSelectableChannel() invokes nd.preClose() 384 // - implCloseSelectableChannel() invokes nd.preClose() after 390 // - implCloseSelectableChannel() invokes nd.preClose() after 403 // invokes nd.preClose(), signals reader/writer thred and quickly 404 // moves on to nd.close() in kill(), which does a real close. 419 // nd.preClose(). 421 n = IOUtil.read(fd, buf, -1, nd); 481 n = IOUtil.read(fd, dsts, offset, length, nd); 512 n = IOUtil.write(fd, buf, -1, nd); [all...] |
H A D | ServerSocketChannelImpl.java | 47 private static NativeDispatcher nd; field in class:ServerSocketChannelImpl 289 nd.preClose(fd); 307 nd.close(fd); 442 nd = new SocketDispatcher();
|
H A D | DatagramChannelImpl.java | 72 private static NativeDispatcher nd = new DatagramDispatcher(); field in class:DatagramChannelImpl 601 n = IOUtil.read(fd, buf, -1, nd); 630 n = IOUtil.read(fd, dsts, offset, length, nd); 657 n = IOUtil.write(fd, buf, -1, nd); 686 n = IOUtil.write(fd, srcs, offset, length, nd); 1062 nd.preClose(fd); 1088 nd.close(fd);
|
/libcore/ojluni/src/main/native/ |
H A D | net_util_md.c | 49 #include <inet/nd.h>
|