Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java484 volatile int bytesWritten; field in FileIOInterruptTest.StreamWriter
500 bytesWritten += buffer.length; in run()
510 int lastCount = bytesWritten; in waitForThreadToBlock()
513 int newBytesWritten = bytesWritten; in waitForThreadToBlock()
518 lastCount = bytesWritten; in waitForThreadToBlock()
520 fail("Writer never started blocking. Bytes written: " + bytesWritten); in waitForThreadToBlock()
577 volatile int bytesWritten; field in FileIOInterruptTest.ChannelWriter
598 bytesWritten += channel.write(buffer1); in run()
600 bytesWritten += channel.write(new ByteBuffer[]{ buffer1, buffer2 }); in run()
611 int lastCount = bytesWritten; in waitForThreadToBlock()
[all …]
/libcore/luni/src/main/java/libcore/io/
DPosix.java133 final int bytesWritten; in pwrite() local
137 bytesWritten = pwriteBytes(fd, buffer, position, buffer.remaining(), offset); in pwrite()
139bytesWritten = pwriteBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + … in pwrite()
142 maybeUpdateBufferPosition(buffer, position, bytesWritten); in pwrite()
143 return bytesWritten; in pwrite()
245 final int bytesWritten; in write() local
248 bytesWritten = writeBytes(fd, buffer, position, buffer.remaining()); in write()
250bytesWritten = writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + p… in write()
253 maybeUpdateBufferPosition(buffer, position, bytesWritten); in write()
254 return bytesWritten; in write()
DIoBridge.java497 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); in write() local
498 byteCount -= bytesWritten; in write()
499 byteOffset += bytesWritten; in write()
/libcore/luni/src/main/native/
Djava_util_zip_Deflater.cpp102 jint bytesWritten = stream->stream.next_out - initialNextOut; in Deflater_deflateImpl() local
108 return bytesWritten; in Deflater_deflateImpl()
Djava_util_zip_Inflater.cpp123 jint bytesWritten = stream->stream.next_out - initialNextOut; in Inflater_inflateImpl() local
129 return bytesWritten; in Inflater_inflateImpl()
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java492 int bytesWritten = 0; in writeImpl() local
498 bytesWritten = Libcore.os.write(fd, buffer); in writeImpl()
500 bytesWritten = Libcore.os.pwrite(fd, buffer, position); in writeImpl()
509 return bytesWritten; in writeImpl()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java504 int bytesWritten = IoBridge.sendto(fd, buffer, offset, byteCount, 0, null, 0); in write() local
505 byteCount -= bytesWritten; in write()
506 offset += bytesWritten; in write()