Searched defs:written (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DDataOutputStream.java40 * The number of bytes written to the data output stream so far.
43 protected int written; field in class:DataOutputStream
52 * underlying output stream. The counter <code>written</code> is
64 * Increases the written counter by the specified value
68 int temp = written + value;
72 written = temp;
78 * is thrown, the counter <code>written</code> is incremented by
83 * @param b the <code>byte</code> to be written.
95 * If no exception is thrown, the counter <code>written</code> is
113 * bytes to be written ou
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DBufferedOutputStreamTest.java106 assertEquals("Bytes not written after flush", 500,
111 byte[] written; field in class:BufferedOutputStreamTest.MockOutputStream
115 written = new byte[size];
120 written[count++] = (byte) b;
124 return new String(written, 0, count);
135 assertEquals("Bytes written, not buffered", 0, bais.available());
138 assertEquals("Bytes not written after flush", 500, bais.available());
141 assertTrue("Bytes not written when buffer full",
145 assertEquals("Incorrect bytes written", new String(wbytes, 0,
153 assertEquals("Large data should be written directl
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DFileHandler.java127 * would typically cause log files to be written on Solaris to
129 * would be typically written to C:\TEMP\java0.log and C:\TEMP\java1.log
166 * (b) keeps track of how many bytes have been written
170 int written; field in class:FileHandler.MeteredStream
172 MeteredStream(OutputStream out, int written) { argument
174 this.written = written;
180 written++;
186 written += buff.length;
192 written
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipOutputStream.java76 private long written = 0; field in class:ZipOutputStream
187 * @param e the ZIP entry to be written
238 current = new XEntry(e, written);
284 written += e.csize;
288 if (e.size != written - locoff) {
291 " but got " + (written - locoff) + " bytes)");
310 * will block until all the bytes are written.
311 * @param b the data to be written
313 * @param len the number of bytes that are written
336 written
[all...]

Completed in 166 milliseconds