Home
last modified time | relevance | path

Searched refs:byteCounts (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/nio/
DIoVec.java37 private final int[] byteCounts; field in IoVec
48 this.byteCounts = new int[bufferCount]; in IoVec()
66 byteCounts[i] = remaining; in init()
75 int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts); in doTransfer()
81 return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts); in doTransfer()
91 if (byteCounts[i] < byteCount) { in didTransfer()
93 byteCount -= byteCounts[i]; in didTransfer()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java238 …@Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) t… in readv() argument
240 return os.readv(fd, buffers, offsets, byteCounts); in readv()
316 …c int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoExc… in writev() argument
318 return os.writev(fd, buffers, offsets, byteCounts); in writev()
DForwardingOs.java127 … int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return os.readv(… in readv() argument
166 … int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return os.writev… in writev() argument
DOs.java120 …public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Errn… in readv() argument
159 …public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Err… in writev() argument
DPosix.java169 …public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thro… in readv() argument
261 …public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thr… in writev() argument
/libcore/luni/src/main/java/android/system/
DOs.java360 …[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return Libcore.os.re… in readv() argument
524 …[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return Libcore.os.wr… in writev() argument
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp227 ScopedIntArrayRO byteCounts(mEnv, javaByteCounts); in init() local
228 if (byteCounts.get() == NULL) { in init()
242 iov.iov_len = byteCounts[i]; in init()
1172 …Env* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { in Posix_readv() argument
1174 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_readv()
1526 …Env* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { in Posix_writev() argument
1528 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_writev()