/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 178 private final BlockDataOutputStream bout; field in ObjectOutputStream 248 bout = new BlockDataOutputStream(out); in ObjectOutputStream() 253 bout.setBlockDataMode(true); in ObjectOutputStream() 283 bout = null; in ObjectOutputStream() 462 bout.setBlockDataMode(false); in defaultWriteObject() 464 bout.setBlockDataMode(true); in defaultWriteObject() 503 bout.setBlockDataMode(false); in writeFields() 505 bout.setBlockDataMode(true); in writeFields() 522 bout.setBlockDataMode(false); in reset() 523 bout.writeByte(TC_RESET); in reset() [all …]
|
D | ObjectStreamClass.java | 1814 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in computeDefaultSUID() local 1815 DataOutputStream dout = new DataOutputStream(bout); in computeDefaultSUID() 1957 byte[] hashBytes = md.digest(bout.toByteArray()); in computeDefaultSUID()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidSerializationTest.java | 35 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testSerialization() local 36 ObjectOutputStream oout = new ObjectOutputStream(bout); in testSerialization() 40 ByteArrayInputStream bin = new ByteArrayInputStream(bout.toByteArray()); in testSerialization()
|
D | OldOutputStreamWriterTest.java | 203 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in test_close() local 205 OutputStreamWriter writer = new OutputStreamWriter(bout, in test_close() 210 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 214 bout.reset(); in test_close() 215 writer = new OutputStreamWriter(bout, "ISO2022JP"); in test_close() 220 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 224 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 228 bout.reset(); in test_close() 229 writer = new OutputStreamWriter(bout, "ISO2022JP"); in test_close() 236 new String(bout.toByteArray(), "ISO8859_1")); in test_close()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | OutputStreamWriterTest.java | 579 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in test_close() local 581 OutputStreamWriter writer = new OutputStreamWriter(bout, in test_close() 586 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 590 bout.reset(); in test_close() 591 writer = new OutputStreamWriter(bout, "ISO2022JP"); in test_close() 596 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 600 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() 604 bout.reset(); in test_close() 605 writer = new OutputStreamWriter(bout, "ISO2022JP"); in test_close() 611 new String(bout.toByteArray(), "ISO8859_1")); in test_close()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SocketHandler.java | 176 BufferedOutputStream bout = new BufferedOutputStream(out); in connect() local 177 setOutputStream(bout); in connect()
|
D | FileHandler.java | 212 BufferedOutputStream bout = new BufferedOutputStream(fout); in open() local 213 meter = new MeteredStream(bout, len); in open()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | GZIPInputStreamTest.java | 173 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in test_read$BII() local 174 GZIPOutputStream out = new GZIPOutputStream(bout); in test_read$BII() 177 byte[] comp = bout.toByteArray(); in test_read$BII()
|
/libcore/ojluni/src/test/java/util/Base64/ |
D | TestBase64.java | 491 ByteBuffer bout = enc.encode(bin); in testEncode() local 492 byte[] buf = new byte[bout.remaining()]; in testEncode() 493 bout.get(buf); in testEncode() 504 ByteBuffer bout = dec.decode(bin); in testDecode() local 505 byte[] buf = new byte[bout.remaining()]; in testDecode() 506 bout.get(buf); in testDecode()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 1157 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writeProperties() local 1158 ps = new PrintStream(bout); in writeProperties() 1163 return bout.toByteArray(); in writeProperties() 1168 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writePropertiesXMLUTF_8() local 1169 ps = new PrintStream(bout, true, "UTF-8"); in writePropertiesXMLUTF_8() 1181 return bout.toByteArray(); in writePropertiesXMLUTF_8() 1186 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writePropertiesXMLISO_8859_1() local 1187 ps = new PrintStream(bout, true, "ISO-8859-1"); in writePropertiesXMLISO_8859_1() 1199 return bout.toByteArray(); in writePropertiesXMLISO_8859_1()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderTest.java | 614 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writeProperties() local 615 PrintStream ps = new PrintStream(bout); in writeProperties() 620 return bout.toByteArray(); in writeProperties()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | MethodTypeTest.java | 431 try (java.io.ByteArrayOutputStream bout = new java.io.ByteArrayOutputStream(); in writeSerial() argument 432 java.io.ObjectOutputStream out = new java.io.ObjectOutputStream(bout) in writeSerial() 436 return bout.toByteArray(); in writeSerial()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectOutputStream.java | 267 private final java.io.ObjectOutputStream.BlockDataOutputStream bout; field in ObjectOutputStream 270 bout = null;
|