Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DIOUtil.c210 NATIVE_METHOD(IOUtil, iovMax, "()I"),
211 NATIVE_METHOD(IOUtil, fdLimit, "()I"),
212 NATIVE_METHOD(IOUtil, drain, "(I)Z"),
213 NATIVE_METHOD(IOUtil, makePipe, "(Z)J"),
214 NATIVE_METHOD(IOUtil, configureBlocking, "(Ljava/io/FileDescriptor;Z)V"),
215 NATIVE_METHOD(IOUtil, setfdVal, "(Ljava/io/FileDescriptor;I)V"),
216 NATIVE_METHOD(IOUtil, fdVal, "(Ljava/io/FileDescriptor;)I"),
217 NATIVE_METHOD(IOUtil, randomBytes, "([B)Z"),
DAndroid.bp35 "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()
167 n = IOUtil.write(fd, src, -1, nd); in write()
190 n = IOUtil.write(fd, srcs, nd); in write()
DUnixAsynchronousSocketChannelImpl.java106 IOUtil.configureBlocking(fd, false); in UnixAsynchronousSocketChannelImpl()
113 this.fdVal = IOUtil.fdVal(fd); in UnixAsynchronousSocketChannelImpl()
129 this.fdVal = IOUtil.fdVal(fd); in UnixAsynchronousSocketChannelImpl()
130 IOUtil.configureBlocking(fd, false); in UnixAsynchronousSocketChannelImpl()
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()
[all …]
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()
DPollSelectorImpl.java57 long pipeFds = IOUtil.makePipe(false); in PollSelectorImpl()
97 IOUtil.drain(fd0); in doSelect()
DSocketChannelImpl.java131 this.fdVal = IOUtil.fdVal(fd); in SocketChannelImpl()
148 this.fdVal = IOUtil.fdVal(fd); in SocketChannelImpl()
168 this.fdVal = IOUtil.fdVal(fd); 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()
593 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DServerSocketChannelImpl.java89 this.fdVal = IOUtil.fdVal(fd); in ServerSocketChannelImpl()
100 this.fdVal = IOUtil.fdVal(fd); in ServerSocketChannelImpl()
264 IOUtil.configureBlocking(newfd, true); in accept()
283 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DDatagramChannelImpl.java128 this.fdVal = IOUtil.fdVal(fd); in DatagramChannelImpl()
159 this.fdVal = IOUtil.fdVal(fd); in DatagramChannelImpl()
174 this.fdVal = IOUtil.fdVal(fd); 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()
690 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DFileChannelImpl.java197 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()
528 int thisFDVal = IOUtil.fdVal(fd); in transferToDirectly()
529 int targetFDVal = IOUtil.fdVal(targetFD); in transferToDirectly()
792 n = IOUtil.read(fd, dst, position, nd); in readInternal()
829 n = IOUtil.write(fd, src, position, nd); in writeInternal()
DPollArrayWrapper.java75 putDescriptor(totalChannels, IOUtil.fdVal(sc.getFD())); in addEntry()
DUnixAsynchronousServerSocketChannelImpl.java84 IOUtil.configureBlocking(fd, false); in UnixAsynchronousServerSocketChannelImpl()
90 this.fdVal = IOUtil.fdVal(fd); in UnixAsynchronousServerSocketChannelImpl()
DPort.java128 int fdVal = IOUtil.fdVal(fd); in attachForeignChannel()
DSimpleAsynchronousFileChannelImpl.java320 n = IOUtil.read(fdObj, dst, position, nd); in implRead()
374 n = IOUtil.write(fdObj, src, position, nd); in implWrite()
DIOUtil.java37 public class IOUtil { class
44 private IOUtil() { } // No instantiation in IOUtil() method in IOUtil
DNet.java420 return IOUtil.newFD(socket0(preferIPv6, stream, false, fastLoopback));
424 return IOUtil.newFD(socket0(isIPv6Available(), stream, true, fastLoopback));
DUtil.java43 private static final int TEMP_BUF_POOL_SIZE = IOUtil.IOV_MAX;
/libcore/
Dopenjdk_java_files.bp1552 "ojluni/src/main/java/sun/nio/ch/IOUtil.java",