Home
last modified time | relevance | path

Searched refs:written (Results 1 – 16 of 16) 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()
369 long off = written; in finish()
372 writeEND(off, written - off); in finish()
467 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()
687 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.java567 int written; in sendFromNativeBuffer() local
569 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, in sendFromNativeBuffer()
574 written = rem; in sendFromNativeBuffer()
576 if (written > 0) in sendFromNativeBuffer()
577 bb.position(pos + written); in sendFromNativeBuffer()
578 return written; in sendFromNativeBuffer()
/libcore/luni/src/test/java/libcore/io/
DOsTest.java187 int written = Libcore.os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite() local
188 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
189 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
192 written = Libcore.os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite()
193 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
194 assertEquals(written + 4, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
197 written = Libcore.os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
198 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
199 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
202 written = Libcore.os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
[all …]
/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/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/
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.