Searched refs:ioVec (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/java/nio/ |
D | FileChannelImpl.java | 330 private int transferIoVec(IoVec ioVec) throws IOException { in transferIoVec() argument 331 if (ioVec.init() == 0) { in transferIoVec() 338 bytesTransferred = ioVec.doTransfer(fd); in transferIoVec() 343 ioVec.didTransfer(bytesTransferred); in transferIoVec()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 1173 IoVec<ScopedBytesRW> ioVec(env, env->GetArrayLength(buffers)); in Posix_readv() local 1174 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_readv() 1177 return IO_FAILURE_RETRY(env, ssize_t, readv, javaFd, ioVec.get(), ioVec.size()); in Posix_readv() 1527 IoVec<ScopedBytesRO> ioVec(env, env->GetArrayLength(buffers)); in Posix_writev() local 1528 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_writev() 1531 return IO_FAILURE_RETRY(env, ssize_t, writev, javaFd, ioVec.get(), ioVec.size()); in Posix_writev()
|