Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java76 private long written = 0; field in ZipOutputStream
238 current = new XEntry(e, written); in putNextEntry()
284 written += e.csize; in closeEntry()
288 if (e.size != written - locoff) { in closeEntry()
291 " but got " + (written - locoff) + " bytes)"); in closeEntry()
336 written += len; in write()
337 if (written - locoff > entry.size) { in write()
365 long off = written; in finish()
368 writeEND(off, written - off); in finish()
463 locoff = written; in writeLOC()
[all …]
/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/luni/src/main/java/libcore/net/
Dmime.types.README9 This package was written by Brian White <bcwhite@pobox.com> and others.
12 The "update-mime" program was written by Brian White and has been
/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.java551 int written; in sendFromNativeBuffer() local
553 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, in sendFromNativeBuffer()
558 written = rem; in sendFromNativeBuffer()
560 if (written > 0) in sendFromNativeBuffer()
561 bb.position(pos + written); in sendFromNativeBuffer()
562 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/luni/src/test/java/libcore/android/system/
DOsTest.java197 int written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite() local
198 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
199 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
202 written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite()
203 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
204 assertEquals(written + 4, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
207 written = Os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
208 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
209 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
212 written = Os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
[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/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java154 private long written = 0; // 0x0 field in ZipOutputStream
/libcore/luni/
Dunicode-license.txt47 in these Data Files or Software without prior written authorization of the
/libcore/
DNOTICE61 or other dealings in this Software without prior written authorization
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.
/libcore/benchmarks/libs/
Dcaliper.jar.txt55 means any form of electronic, verbal, or written communication sent
/libcore/ojluni/
DNOTICE405 rights to work written entirely by you; rather, the intent is to exercise the
422 b) Accompany it with a written offer, valid for at least three years, to
505 such case, this License incorporates the limitation as if written in the body
599 'Gnomovision' (which makes passes at compilers) written by James Hacker.
1551 dealings in these Data Files or Software without prior written
1591 written authorization of the copyright holder.