/libcore/ojluni/src/test/java/nio/channels/Channels/ |
D | ShortWrite.java | 42 static int bytesWritten = 0; field in ShortWrite 54 bytesWritten += n; in testShortWrite() 81 System.out.format("Bytes written: %d, expected: %d\n", bytesWritten, in testShortWrite() 83 if (bytesWritten != expected) in testShortWrite()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 492 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 …]
|
D | AsynchronousFileChannelTest.java | 146 int bytesWritten = 0; in createTemporaryFile() local 147 while (bytesWritten < size) { in createTemporaryFile() 149 bytesWritten += buf.length; in createTemporaryFile()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 108 private long bytesWritten; field in Inflater 426 bytesWritten += written; in inflate() 443 bytesWritten += written; in inflate() 604 bytesWritten += written; in inflate() 623 bytesWritten += written; in inflate() 688 return bytesWritten; in getBytesWritten() 705 bytesRead = bytesWritten = 0; in reset()
|
D | Deflater.java | 109 private long bytesWritten; field in Deflater 636 bytesWritten += written; in deflate() 807 bytesWritten += written; in deflate() 872 return bytesWritten; in getBytesWritten() 888 bytesRead = bytesWritten = 0; in reset()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 158 final int bytesWritten; in pwrite() local 162 bytesWritten = pwriteBytes(fd, buffer, position, buffer.remaining(), offset); in pwrite() 164 …bytesWritten = pwriteBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + … in pwrite() 167 maybeUpdateBufferPosition(buffer, position, bytesWritten); in pwrite() 168 return bytesWritten; in pwrite() 283 final int bytesWritten; in write() local 286 bytesWritten = writeBytes(fd, buffer, position, buffer.remaining()); in write() 288 …bytesWritten = writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + p… in write() 291 maybeUpdateBufferPosition(buffer, position, bytesWritten); in write() 292 return bytesWritten; in write()
|
D | IoBridge.java | 646 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); in write() local 647 byteCount -= bytesWritten; in write() 648 byteOffset += bytesWritten; in write()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOUtil.java | 148 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/ |
D | Inflater.java | 140 private long bytesWritten; field in Inflater
|
D | Deflater.java | 168 private long bytesWritten; field in Deflater
|