/libcore/luni/src/main/java/java/nio/ |
D | IoVec.java | 37 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/ |
D | BlockGuardOs.java | 238 …@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()
|
D | ForwardingOs.java | 127 … 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
|
D | Os.java | 120 …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
|
D | Posix.java | 169 …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/ |
D | Os.java | 360 …[] 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/ |
D | libcore_io_Posix.cpp | 227 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()
|