Home
last modified time | relevance | path

Searched refs:bytesWritten (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java492 volatile int bytesWritten; field in FileIOInterruptTest.StreamWriter
508 bytesWritten += buffer.length; in run()
518 int lastCount = bytesWritten; in waitForThreadToBlock()
521 int newBytesWritten = bytesWritten; in waitForThreadToBlock()
526 lastCount = bytesWritten; in waitForThreadToBlock()
528 fail("Writer never started blocking. Bytes written: " + bytesWritten); in waitForThreadToBlock()
585 volatile int bytesWritten; field in FileIOInterruptTest.ChannelWriter
606 bytesWritten += channel.write(buffer1); in run()
608 bytesWritten += channel.write(new ByteBuffer[]{ buffer1, buffer2 }); in run()
619 int lastCount = bytesWritten; in waitForThreadToBlock()
[all …]
DAsynchronousFileChannelTest.java144 int bytesWritten = 0; in createTemporaryFile() local
145 while (bytesWritten < size) { in createTemporaryFile()
147 bytesWritten += buf.length; in createTemporaryFile()
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java92 private long bytesWritten; field in Inflater
279 bytesWritten += n; in inflate()
361 return bytesWritten; in getBytesWritten()
376 bytesRead = bytesWritten = 0; in reset()
DDeflater.java92 private long bytesWritten; field in Deflater
463 bytesWritten += n; in deflate()
530 return bytesWritten; in getBytesWritten()
545 bytesRead = bytesWritten = 0; in reset()
/libcore/luni/src/main/java/libcore/io/
DLinux.java157 final int bytesWritten; in pwrite() local
161 bytesWritten = pwriteBytes(fd, buffer, position, buffer.remaining(), offset); in pwrite()
163bytesWritten = pwriteBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + … in pwrite()
166 maybeUpdateBufferPosition(buffer, position, bytesWritten); in pwrite()
167 return bytesWritten; in pwrite()
280 final int bytesWritten; in write() local
283 bytesWritten = writeBytes(fd, buffer, position, buffer.remaining()); in write()
285bytesWritten = writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + p… in write()
288 maybeUpdateBufferPosition(buffer, position, bytesWritten); in write()
289 return bytesWritten; in write()
DIoBridge.java535 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); in write() local
536 byteCount -= bytesWritten; in write()
537 byteOffset += bytesWritten; in write()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java148 long bytesWritten = nd.writev(fd, vec.address, iov_len); in write() local
151 long left = bytesWritten; in write()
169 return bytesWritten; in write()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java140 private long bytesWritten; field in Inflater
DDeflater.java168 private long bytesWritten; field in Deflater