/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 179 private final BlockDataOutputStream bout; field in ObjectOutputStream 241 bout = new BlockDataOutputStream(out); in ObjectOutputStream() 246 bout.setBlockDataMode(true); in ObjectOutputStream() 275 bout = null; in ObjectOutputStream() 453 bout.setBlockDataMode(false); in defaultWriteObject() 455 bout.setBlockDataMode(true); in defaultWriteObject() 493 bout.setBlockDataMode(false); in writeFields() 495 bout.setBlockDataMode(true); in writeFields() 512 bout.setBlockDataMode(false); in reset() 513 bout.writeByte(TC_RESET); in reset() [all …]
|
D | ObjectStreamClass.java | 1671 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in computeDefaultSUID() local 1672 DataOutputStream dout = new DataOutputStream(bout); in computeDefaultSUID() 1796 byte[] hashBytes = md.digest(bout.toByteArray()); in computeDefaultSUID()
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
D | X509Factory.java | 113 private static int readFully(InputStream in, ByteArrayOutputStream bout, in readFully() argument 122 bout.write(buffer, 0, n); in readFully() 489 ByteArrayOutputStream bout = new ByteArrayOutputStream(2048); in readOneBlock() local 490 bout.write(c); in readOneBlock() 491 readBERInternal(is, bout, c); in readOneBlock() 492 return bout.toByteArray(); in readOneBlock() 611 ByteArrayOutputStream bout, int tag) throws IOException { in readBERInternal() argument 621 bout.write(tag); in readBERInternal() 628 bout.write(n); in readBERInternal() 638 int subTag = readBERInternal(is, bout, -1); in readBERInternal() [all …]
|
/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 | 162 BufferedOutputStream bout = new BufferedOutputStream(out); in connect() local 163 setOutputStream(bout); in connect()
|
D | FileHandler.java | 175 BufferedOutputStream bout = new BufferedOutputStream(fout); in open() local 176 meter = new MeteredStream(bout, len); in open()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | GZIPInputStreamTest.java | 160 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/ |
D | PropertiesTest.java | 1113 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/ |
D | ProviderTest.java | 620 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in writeProperties() local 621 PrintStream ps = new PrintStream(bout); in writeProperties() 626 return bout.toByteArray(); in writeProperties()
|