Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/io/
DDataOutputStream.java39 protected int written; field in DataOutputStream
72 if (written < 0) { in size()
73 written = Integer.MAX_VALUE; in size()
75 return written; in size()
99 written += count; in write()
115 written++; in write()
129 written++; in writeBoolean()
145 written++; in writeByte()
157 written += bytes.length; in writeBytes()
167 written += bytes.length; in writeChars()
[all …]
DObjectOutputStream.java377 byte[] written = primitiveTypesBuffer.toByteArray(); in drain()
379 while (offset < written.length) { in drain()
380 int toWrite = written.length - offset > 1024 ? 1024 in drain()
381 : written.length - offset; in drain()
391 output.write(written, offset, toWrite); in drain()
/libcore/luni/src/test/java/libcore/io/
DOsTest.java149 int written = Libcore.os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite() local
150 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
151 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
154 written = Libcore.os.write(fd, byteBuffer); in test_byteBufferPositions_write_pwrite()
155 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
156 assertEquals(written + 4, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
159 written = Libcore.os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
160 assertTrue(written > 0); in test_byteBufferPositions_write_pwrite()
161 assertEquals(written, byteBuffer.position()); in test_byteBufferPositions_write_pwrite()
164 written = Libcore.os.pwrite(fd, byteBuffer, 64 /* offset */); in test_byteBufferPositions_write_pwrite()
[all …]
/libcore/benchmarks/src/benchmarks/
DBufferedZipFileBenchmark.java44 int written = 0; in setUp() local
45 while (written < compressedSize) { in setUp()
47 int toWrite = Math.min(compressedSize - written, data.length); in setUp()
49 written += toWrite; in setUp()
/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/src/main/java/java/nio/
DDatagramChannelImpl.java422 int written = result; in write() local
430 return written; in write()
DSocketChannelImpl.java382 int written = result; in write() local
390 return written; in write()
/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
/libcore/benchmarks/libs/
Dcaliper.jar.txt55 means any form of electronic, verbal, or written communication sent
/libcore/expectations/
Dknownfailures.txt1477 …description: "Some OkHttp tests were written before the introduction of TLS_FALLBACK_SCSV and have…