Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java425 int written = outputConsumed; in inflate()
426 bytesWritten += written; in inflate()
431 int written = (int) (result >>> 31 & 0x7fff_ffffL); in inflate() local
443 bytesWritten += written; in inflate()
445 return written; in inflate()
602 int written = outputConsumed; in inflate()
603 output.position(outputPos + written); in inflate()
604 bytesWritten += written; in inflate()
609 int written = (int) (result >>> 31 & 0x7fff_ffffL); in inflate() local
622 output.position(outputPos + written); in inflate()
[all …]
DZipOutputStream.java75 private long written = 0; field in ZipOutputStream
250 current = new XEntry(e, written); in putNextEntry()
297 written += e.csize; in closeEntry()
301 if (e.size != written - locoff) { in closeEntry()
304 " but got " + (written - locoff) + " bytes)"); in closeEntry()
351 written += len; in write()
352 if (written - locoff > entry.size) { in write()
379 long off = written; in finish()
382 writeEND(off, written - off); in finish()
507 locoff = written; in writeLOC()
[all …]
DDeflater.java624 int written = (int) (result >>> 31 & 0x7fff_ffffL); in deflate() local
636 bytesWritten += written; in deflate()
638 return written; in deflate()
794 int written = (int) (result >>> 31 & 0x7fff_ffffL); in deflate() local
806 output.position(outputPos + written); in deflate()
807 bytesWritten += written; in deflate()
809 return written; in deflate()
/libcore/benchmarks/src/benchmarks/
DBufferedZipFileBenchmark.java46 int written = 0; in setUp() local
47 while (written < compressedSize) { in setUp()
49 int toWrite = Math.min(compressedSize - written, data.length); in setUp()
51 written += toWrite; in setUp()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java170 int written; field in FileHandler.MeteredStream
172 MeteredStream(OutputStream out, int written) { in MeteredStream() argument
174 this.written = written; in MeteredStream()
180 written++; in write()
186 written += buff.length; in write()
192 written += len; in write()
688 if (limit > 0 && meter.written >= limit) { in publish()
/libcore/ojluni/src/main/java/java/io/
DDataOutputStream.java43 protected int written; field in DataOutputStream
68 int temp = written + value; in incCount()
72 written = temp; in incCount()
414 return written; in size()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java85 int written = 0; in writeFromNativeBuffer() local
89 written = nd.pwrite(fd, in writeFromNativeBuffer()
93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem); in writeFromNativeBuffer()
95 if (written > 0) in writeFromNativeBuffer()
96 bb.position(pos + written); in writeFromNativeBuffer()
97 return written; in writeFromNativeBuffer()
DDatagramChannelImpl.java563 int written; in sendFromNativeBuffer() local
565 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, in sendFromNativeBuffer()
570 written = rem; in sendFromNativeBuffer()
572 if (written > 0) in sendFromNativeBuffer()
573 bb.position(pos + written); in sendFromNativeBuffer()
574 return written; in sendFromNativeBuffer()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectOutputStreamTest.java197 boolean written = false; in test_drain()
201 written = (target.size() > initialSize); in test_drain()
205 written || (target.size() > initialSize)); in test_drain()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf25 # prior written permission. For written permission, please contact
29 # nor may "OpenSSL" appear in their names without prior written
51 # This product includes cryptographic software written by Eric Young
52 # (eay@cryptsoft.com). This product includes software written by Tim
/libcore/ojluni/src/main/java/java/nio/
DX-Buffer-bin.java.template56 * The $type$ value to be written
100 * The index at which the bytes will be written
103 * The $type$ value to be written
DX-Buffer.java.template166 * bytes rather than of the type being read or written.
699 * The $type$ to be written
746 * The index at which the $type$ will be written
749 * The $type$ value to be written
793 * The array into which $type$s are to be written
797 * written; must be non-negative and no larger than
801 * The maximum number of $type$s to be written to the given
878 * written; must be non-negative and less than
882 * The number of $type$s to be written to the given array;
1003 * intermediate location before being written into this buffer.
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSinkChannelTest.java163 int written = sink.write(buffer); in test_write_LByteBuffer_SourceClosed() local
239 long written = sink.write(bufArray); in test_write_$LByteBuffer_SourceClosed() local
378 long written = sink.write(bufArray, 0, 1); in test_write_$LByteBufferII_SourceClosed() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedOutputStreamTest.java111 byte[] written; field in BufferedOutputStreamTest.MockOutputStream
115 written = new byte[size]; in MockOutputStream()
120 written[count++] = (byte) b; in write()
124 return new String(written, 0, count); in getWritten()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java279 int written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite() local
280 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
281 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
284 written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite()
285 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
286 assertEquals(written + 4, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
289 written = Os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
290 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
291 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
294 written = Os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java154 private long written = 0; // 0x0 field in ZipOutputStream
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset-X-Coder.java.template49 * of such buffers. The output $otype$ sequence is written to a $otype$ buffer
509 * <p> The buffers are read from, and written to, starting at their current
512 * $otype$s will be written. The buffers' positions will be advanced to
513 * reflect the $itype$s read and the $otype$s written, but their marks and
675 * <p> Any additional output is written to the output buffer beginning at
677 * $otype$s will be written. The buffer's position will be advanced
772 * <p> The buffers are read from, and written to, starting at their current
775 * $otype$s will be written. The buffers' positions will be advanced to
776 * reflect the $itype$s read and the $otype$s written, but their marks and
817 * limit will follow the last $otype$ written.
/libcore/luni/
Dunicode-license.txt47 in these Data Files or Software without prior written authorization of the
/libcore/ojluni/src/test/
DLICENSE125 your rights to work written entirely by you; rather, the intent is to
142 b) Accompany it with a written offer, valid for at least three
235 the limitation as if written in the body of this License.
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
/libcore/ojluni/src/tools/
DLICENSE125 your rights to work written entirely by you; rather, the intent is to
142 b) Accompany it with a written offer, valid for at least three
235 the limitation as if written in the body of this License.
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
/libcore/
DLICENSE119 rights to work written entirely by you; rather, the intent is to exercise the
136 b) Accompany it with a written offer, valid for at least three years, to
219 such case, this License incorporates the limitation as if written in the body
313 'Gnomovision' (which makes passes at compilers) written by James Hacker.
DNOTICE61 or other dealings in this Software without prior written authorization
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
Dunsupported_new_apis.txt81 # when the spec and implementation are written and maintained consistently.
/libcore/benchmarks/libs/
Dcaliper.jar.txt55 means any form of electronic, verbal, or written communication sent
/libcore/ojluni/src/main/
DLICENSE127 rights to work written entirely by you; rather, the intent is to exercise the
144 b) Accompany it with a written offer, valid for at least three years, to
227 such case, this License incorporates the limitation as if written in the body
321 'Gnomovision' (which makes passes at compilers) written by James Hacker.
1273 dealings in these Data Files or Software without prior written
1313 written authorization of the copyright holder.

12