/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Util.java | 41 // The number of temp buffers in our pool 44 // Per-thread cache of temporary direct buffers 55 * A simple cache of direct buffers. 58 // the array of buffers 59 private ByteBuffer[] buffers; field in class:Util.BufferCache 61 // the number of buffers in the cache 72 buffers = new ByteBuffer[TEMP_BUF_POOL_SIZE]; 83 ByteBuffer[] buffers = this.buffers; 86 ByteBuffer buf = buffers[star [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 267 @Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { argument 269 return os.readv(fd, buffers, offsets, byteCounts); 351 @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { argument 353 return os.writev(fd, buffers, offsets, byteCounts);
|
H A D | ForwardingOs.java | 150 public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return os.readv(fd, buffers, offsets, byteCounts); } argument 196 public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return os.writev(fd, buffers, offsets, byteCounts); } argument
|
H A D | Linux.java | 189 public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException; argument 291 public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException; argument
|
H A D | Os.java | 137 public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException; argument 183 public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException; argument
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 429 public static int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return Libcore.os.readv(fd, buffers, offsets, byteCounts); } argument 644 public static int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return Libcore.os.writev(fd, buffers, offsets, byteCounts); } argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Linux.cpp | 2017 static jint Linux_readv(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { argument 2018 IoVec<ScopedBytesRW> ioVec(env, env->GetArrayLength(buffers)); 2019 if (!ioVec.init(buffers, offsets, byteCounts)) { 2456 static jint Linux_writev(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { argument 2457 IoVec<ScopedBytesRO> ioVec(env, env->GetArrayLength(buffers)); 2458 if (!ioVec.init(buffers, offsets, byteCounts)) {
|