Searched defs:buffers (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DUtil.java41 // 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 DBlockGuardOs.java267 @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 DForwardingOs.java150 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 DLinux.java189 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 DOs.java137 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 DOs.java429 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 Dlibcore_io_Linux.cpp2017 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)) {

Completed in 105 milliseconds