/libcore/luni/src/test/java/libcore/java/io/ |
D | OldOutputStreamWriterTest.java | 24 import java.io.OutputStreamWriter; 33 OutputStreamWriter osw; 43 osw = new OutputStreamWriter(fos, "UTF-8"); in setUp() 57 OutputStreamWriter writer = null; in test_ConstructorLjava_io_OutputStream() 60 writer = new OutputStreamWriter(null); in test_ConstructorLjava_io_OutputStream() 67 writer = new OutputStreamWriter(new Support_OutputStream()); in test_ConstructorLjava_io_OutputStream() 84 osw = new OutputStreamWriter(null, "utf-8"); in test_ConstructorLjava_io_OutputStreamLjava_lang_String() 91 osw = new OutputStreamWriter(fos, (String) null); in test_ConstructorLjava_io_OutputStreamLjava_lang_String() 98 osw = new OutputStreamWriter(fos, ""); in test_ConstructorLjava_io_OutputStreamLjava_lang_String() 105 osw = new OutputStreamWriter(fos, "Bogus"); in test_ConstructorLjava_io_OutputStreamLjava_lang_String() [all …]
|
D | OldAndroidOutputStreamWriterTest.java | 20 import java.io.OutputStreamWriter; 31 OutputStreamWriter a = new OutputStreamWriter(aa, "ISO8859_1"); in testOutputStreamWriter()
|
D | OutputStreamWriterTest.java | 35 OutputStreamWriter writer = new OutputStreamWriter(os, "UTF-8"); in testFlushCount() 54 OutputStreamWriter writer = new OutputStreamWriter(baos, "UTF-32BE"); in testFlush()
|
D | OldFilterWriterTest.java | 23 import java.io.OutputStreamWriter; 104 fw = new MyFilterWriter(new OutputStreamWriter( in test_write$CII_Exception()
|
D | OldInputStreamReaderTest.java | 25 import java.io.OutputStreamWriter; 52 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
|
D | OldBufferedReaderTest.java | 24 import java.io.OutputStreamWriter; 387 PrintWriter pw = new PrintWriter(new OutputStreamWriter(pos)); in test_8778372()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | OutputStreamWriterTest.java | 29 import java.io.OutputStreamWriter; 42 private OutputStreamWriter writer; 49 OutputStreamWriter osw; 64 writer = new OutputStreamWriter(out, "utf-8"); in setUp() 67 osw = new OutputStreamWriter(fos); in setUp() 304 writer = new OutputStreamWriter(null); in testOutputStreamWriterOutputStream() 309 OutputStreamWriter writer2 = new OutputStreamWriter(out); in testOutputStreamWriterOutputStream() 318 writer = new OutputStreamWriter(null, "utf-8"); in testOutputStreamWriterOutputStreamString() 324 writer = new OutputStreamWriter(out, ""); in testOutputStreamWriterOutputStreamString() 330 writer = new OutputStreamWriter(out, "badname"); in testOutputStreamWriterOutputStreamString() [all …]
|
D | UnsupportedEncodingExceptionTest.java | 21 import java.io.OutputStreamWriter; 32 new OutputStreamWriter(new ByteArrayOutputStream(), "BogusEncoding"); in test_Constructor() 47 new OutputStreamWriter(new ByteArrayOutputStream(), "BogusEncoding"); in test_ConstructorLjava_lang_String()
|
D | BufferedWriterTest.java | 23 import java.io.OutputStreamWriter; 114 BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new ByteArrayOutputStream())); in test_close2()
|
D | WriterTesterTest.java | 33 import java.io.OutputStreamWriter; 205 return new OutputStreamWriter(out, "UTF-8"); in create()
|
D | InputStreamReaderTest.java | 27 import java.io.OutputStreamWriter; 112 OutputStreamWriter osw = new OutputStreamWriter(bos); in setUp()
|
/libcore/ojluni/src/main/java/java/io/ |
D | OutputStreamWriter.java | 76 public class OutputStreamWriter extends Writer { class 93 public OutputStreamWriter(OutputStream out, String charsetName) in OutputStreamWriter() method in OutputStreamWriter 107 public OutputStreamWriter(OutputStream out) { in OutputStreamWriter() method in OutputStreamWriter 124 public OutputStreamWriter(OutputStream out, Charset cs) { in OutputStreamWriter() method in OutputStreamWriter 142 public OutputStreamWriter(OutputStream out, CharsetEncoder enc) { in OutputStreamWriter() method in OutputStreamWriter
|
D | PrintWriter.java | 164 this(new BufferedWriter(new OutputStreamWriter(out, charset)), autoFlush); in PrintWriter() 200 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileName))), in PrintWriter() 208 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset)), in PrintWriter() 309 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file))), in PrintWriter()
|
D | PrintStream.java | 77 private OutputStreamWriter charOut; 204 this.charOut = new OutputStreamWriter(this, charset); in PrintStream() 441 charOut = charset != null ? new OutputStreamWriter(this, charset) : in getTextOut() 442 new OutputStreamWriter(this); in getTextOut()
|
D | FileWriter.java | 54 public class FileWriter extends OutputStreamWriter {
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | PssInstrumentation.java | 27 import java.io.OutputStreamWriter; 46 try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(output), cs)) { in takeMeasurement()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesTest.java | 45 import java.io.OutputStreamWriter; 112 return new OutputStreamWriter( in getFOSW() 208 props.store(new OutputStreamWriter(baos, "UTF-8"), in EscapeSpace() 275 props.store(new OutputStreamWriter(baos, "EUC_JP"), "A test"); in SaveEncoding() 363 originalProps.store(new OutputStreamWriter(baos, "UTF-8"), in SaveLoadBasher() 388 props.store(new OutputStreamWriter(baos, "UTF-8"), "A test"); in SaveSeparator() 411 p.store(new OutputStreamWriter(myos, "UTF-8"), "Test"); in SaveClose() 434 OutputStreamWriter osw = new OutputStreamWriter(baos); in checkMalformedUnicodeEscape() 505 props.store(new OutputStreamWriter(baos, "UTF-8"), in SaveComments()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | StreamHandler.java | 146 writer = new OutputStreamWriter(output); in setOutputStream() 149 writer = new OutputStreamWriter(output, encoding); in setOutputStream() 181 writer = new OutputStreamWriter(output); in setEncoding() 183 writer = new OutputStreamWriter(output, encoding); in setEncoding()
|
/libcore/ojluni/src/test/java/io/FileWriter/ |
D | ConstructorTest.java | 30 import java.io.OutputStreamWriter; 164 … try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(file), charset)) { in writeWithOutputStreamWriter()
|
/libcore/ojluni/src/test/java/io/Writer/ |
D | Append.java | 39 OutputStreamWriter.class, FileWriter.class
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | StandardCharsetsEncoderTest.java | 29 import java.io.OutputStreamWriter; 207 return new BufferedWriter(new OutputStreamWriter(out, StandardCharsets.US_ASCII)); in createAsciiWriter()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 27 import java.io.OutputStreamWriter; 712 myProps.store(new OutputStreamWriter(out), "A Header"); in test_storeLjava_io_WriterLjava_lang_String() 738 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String() 745 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String() 750 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
|
/libcore/ojluni/src/test/java/net/Socks/ |
D | SocksIPv6Test.java | 36 import java.io.OutputStreamWriter;
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlSerializer.java | 382 ? new OutputStreamWriter(os) in setOutput() 383 : new OutputStreamWriter(os, encoding)); in setOutput()
|
/libcore/ojluni/src/main/java/jdk/internal/util/jar/ |
D | JarIndex.java | 256 (new OutputStreamWriter(out, UTF_8)); in write()
|