Home
last modified time | relevance | path

Searched refs:bufs (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java100 static long write(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) in write() argument
103 return write(fd, bufs, 0, bufs.length, nd); in write()
106 static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, in write() argument
120 ByteBuffer buf = bufs[i]; in write()
230 static long read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) in read() argument
233 return read(fd, bufs, 0, bufs.length, nd); in read()
236 static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, in read() argument
250 ByteBuffer buf = bufs[i]; in read()
/libcore/ojluni/src/main/java/sun/security/util/
DDerOutputStream.java383 byte[][] bufs = new byte[streams.length][]; in putOrderedSet()
385 bufs[i] = streams[i].toByteArray(); in putOrderedSet()
387 Arrays.<byte[]>sort(bufs, order); in putOrderedSet()
391 bytes.write(bufs[i]); in putOrderedSet()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java466 ByteBuffer[] bufs = { ByteBuffer.allocate(8) }; in test_size() local
467 assertEquals(8, specialFile.read(bufs, 0, 1)); in test_size()