Home
last modified time | relevance | path

Searched refs:IOUtil (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/native/
DIOUtil.c208 NATIVE_METHOD(IOUtil, iovMax, "()I"),
209 NATIVE_METHOD(IOUtil, fdLimit, "()I"),
210 NATIVE_METHOD(IOUtil, drain, "(I)Z"),
211 NATIVE_METHOD(IOUtil, makePipe, "(Z)J"),
212 NATIVE_METHOD(IOUtil, configureBlocking, "(Ljava/io/FileDescriptor;Z)V"),
213 NATIVE_METHOD(IOUtil, setfdVal, "(Ljava/io/FileDescriptor;I)V"),
214 NATIVE_METHOD(IOUtil, fdVal, "(Ljava/io/FileDescriptor;)I"),
215 NATIVE_METHOD(IOUtil, randomBytes, "([B)Z"),
Dopenjdksub.mk22 IOUtil.c \
/libcore/ojluni/src/main/java/sun/nio/ch/
DPipeImpl.java42 long pipeFds = IOUtil.makePipe(true); in PipeImpl()
46 IOUtil.setfdVal(sourcefd, readFd); in PipeImpl()
49 IOUtil.setfdVal(sinkfd, writeFd); in PipeImpl()
DSinkChannelImpl.java81 this.fdVal = IOUtil.fdVal(fd); in SinkChannelImpl()
112 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
168 n = IOUtil.write(fd, src, -1, nd); in write()
191 n = IOUtil.write(fd, srcs, nd); in write()
DSourceChannelImpl.java82 this.fdVal = IOUtil.fdVal(fd); in SourceChannelImpl()
113 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
172 n = IOUtil.read(fd, dst, -1, nd); in read()
203 n = IOUtil.read(fd, dsts, nd); in read()
DDevPollSelectorImpl.java68 long pipeFds = IOUtil.makePipe(false); in DevPollSelectorImpl()
95 IOUtil.drain(fd0); in doSelect()
163 int fd = IOUtil.fdVal(ski.channel.getFD()); in implRegister()
186 int fd = IOUtil.fdVal(sk.channel.getFD()); in putEventOps()
DPollSelectorImpl.java57 long pipeFds = IOUtil.makePipe(false); in PollSelectorImpl()
83 IOUtil.drain(fd0); in doSelect()
DSocketChannelImpl.java108 this.fdVal = IOUtil.fdVal(fd); in SocketChannelImpl()
119 this.fdVal = IOUtil.fdVal(fd); in SocketChannelImpl()
133 this.fdVal = IOUtil.fdVal(fd); in SocketChannelImpl()
382 n = IOUtil.read(fd, buf, -1, nd); in read()
452 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
490 n = IOUtil.write(fd, buf, -1, nd); in write()
527 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
577 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DServerSocketChannelImpl.java89 this.fdVal = IOUtil.fdVal(fd); in ServerSocketChannelImpl()
100 this.fdVal = IOUtil.fdVal(fd); in ServerSocketChannelImpl()
255 IOUtil.configureBlocking(newfd, true); in accept()
274 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DDatagramChannelImpl.java117 this.fdVal = IOUtil.fdVal(fd); in DatagramChannelImpl()
144 this.fdVal = IOUtil.fdVal(fd); in DatagramChannelImpl()
155 this.fdVal = IOUtil.fdVal(fd); in DatagramChannelImpl()
566 n = IOUtil.read(fd, buf, -1, nd); in read()
595 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
622 n = IOUtil.write(fd, buf, -1, nd); in write()
651 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
663 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DEPollSelectorImpl.java65 long pipeFds = IOUtil.makePipe(false); in EPollSelectorImpl()
90 IOUtil.drain(fd0); in doSelect()
DFileChannelImpl.java158 n = IOUtil.read(fd, dst, -1, nd); in read()
188 n = IOUtil.read(fd, dsts, offset, length, nd); in read()
214 n = IOUtil.write(fd, src, -1, nd); in write()
244 n = IOUtil.write(fd, srcs, offset, length, nd); in write()
441 int thisFDVal = IOUtil.fdVal(fd); in transferToDirectly()
442 int targetFDVal = IOUtil.fdVal(targetFD); in transferToDirectly()
721 n = IOUtil.read(fd, dst, position, nd); in readInternal()
760 n = IOUtil.write(fd, src, position, nd); in writeInternal()
DPollArrayWrapper.java77 putDescriptor(totalChannels, IOUtil.fdVal(sc.getFD())); in addEntry()
DIOUtil.java37 class IOUtil { class
44 private IOUtil() { } // No instantiation in IOUtil() method in IOUtil
DEPollArrayWrapper.java71 private static final int OPEN_MAX = IOUtil.fdLimit();
DNet.java433 return IOUtil.newFD(socket0(preferIPv6, stream, false));
437 return IOUtil.newFD(socket0(isIPv6Available(), stream, true));
DDevPollArrayWrapper.java74 static final int OPEN_MAX = IOUtil.fdLimit();
DUtil.java49 private static final int TEMP_BUF_POOL_SIZE = IOUtil.IOV_MAX;
/libcore/
Dopenjdk_java_files.mk1207 ojluni/src/main/java/sun/nio/ch/IOUtil.java \