Home
last modified time | relevance | path

Searched refs:bout (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidSerializationTest.java35 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testSerialization() local
36 ObjectOutputStream oout = new ObjectOutputStream(bout); in testSerialization()
40 ByteArrayInputStream bin = new ByteArrayInputStream(bout.toByteArray()); in testSerialization()
DOldOutputStreamWriterTest.java203 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/
DOutputStreamWriterTest.java579 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java160 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in test_read$BII() local
161 GZIPOutputStream out = new GZIPOutputStream(bout); in test_read$BII()
164 byte[] comp = bout.toByteArray(); in test_read$BII()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java1113 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writeProperties() local
1114 ps = new PrintStream(bout); in writeProperties()
1119 return bout.toByteArray(); in writeProperties()
1124 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writePropertiesXMLUTF_8() local
1125 ps = new PrintStream(bout, true, "UTF-8"); in writePropertiesXMLUTF_8()
1137 return bout.toByteArray(); in writePropertiesXMLUTF_8()
1142 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writePropertiesXMLISO_8859_1() local
1143 ps = new PrintStream(bout, true, "ISO-8859-1"); in writePropertiesXMLISO_8859_1()
1155 return bout.toByteArray(); in writePropertiesXMLISO_8859_1()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java587 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writeProperties() local
588 PrintStream ps = new PrintStream(bout); in writeProperties()
593 return bout.toByteArray(); in writeProperties()