Home
last modified time | relevance | path

Searched refs:written (Results 1 – 24 of 24) 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/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
95 * The index at which the bytes will be written
98 * The $type$ value to be written
DX-Buffer.java.template161 * bytes rather than of the type being read or written.
678 * The $type$ to be written
725 * The index at which the $type$ will be written
728 * The $type$ value to be written
772 * The array into which $type$s are to be written
776 * written; must be non-negative and no larger than
780 * The maximum number of $type$s to be written to the given
857 * written; must be non-negative and less than
861 * The number of $type$s to be written to the given array;
975 * 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.java269 int written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite() local
270 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
271 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
274 written = Os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite()
275 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
276 assertEquals(written + 4, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
279 written = Os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
280 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
281 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
284 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/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/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/
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.
/libcore/api/
Dcurrent.txt1500 field protected int written;