Home
last modified time | relevance | path

Searched defs:buffers (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
DScatteringByteChannel.java52 public long read(ByteBuffer[] buffers) throws IOException; in read()
88 public long read(ByteBuffer[] buffers, int offset, int length) in read()
DGatheringByteChannel.java56 public long write(ByteBuffer[] buffers) throws IOException; in write()
93 public long write(ByteBuffer[] buffers, int offset, int length) in write()
DFileChannel.java414 public final long read(ByteBuffer[] buffers) throws IOException { in read()
453 public abstract long read(ByteBuffer[] buffers, int start, int number) in read()
713 public final long write(ByteBuffer[] buffers) throws IOException { in write()
754 public abstract long write(ByteBuffer[] buffers, int offset, int length) in write()
/libcore/luni/src/main/java/java/nio/
DPipeImpl.java82 public long read(ByteBuffer[] buffers) throws IOException { in read()
86 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException { in read()
117 public long write(ByteBuffer[] buffers) throws IOException { in write()
121 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException { in write()
DFileChannelImpl.java347 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException { in read()
512 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException { in write()
524 …static int calculateTotalRemaining(ByteBuffer[] buffers, int offset, int length, boolean copyingIn… in calculateTotalRemaining()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java74 … ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; in test_readv() local
91 … ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; in test_writev() local
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java238 …@Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) t… in readv()
316 …@Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) … in writev()
DOs.java120 …public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Errn… in readv()
159 …public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Err… in writev()
DForwardingOs.java127 …public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Errn… in readv()
166 …public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Err… in writev()
DPosix.java169 …public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thro… in readv()
261 …public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thr… in writev()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java2916 ByteBuffer[] buffers = new ByteBuffer[3]; in test_write$LByteBuffer2() local
2948 ByteBuffer[] buffers = new ByteBuffer[3]; in test_write$LByteBuffer_buffers() local
2990 ByteBuffer[] buffers = new ByteBuffer[3]; in test_write$LByteBuffer_writes() local
3059 ByteBuffer[] buffers = new ByteBuffer[1]; in test_write$LByteBuffer_invalid() local
DFileChannelTest.java1321 ByteBuffer[] buffers = new ByteBuffer[2]; in test_read$LByteBuffer_mock() local
/libcore/luni/src/main/java/android/system/
DOs.java360 …public static int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thro… in readv()
524 …public static int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thr… in writev()
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp1172 static jint Posix_readv(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offse… in Posix_readv()
1526 static jint Posix_writev(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offs… in Posix_writev()