Home
last modified time | relevance | path

Searched refs:InputStreamReader (Results 1 – 25 of 62) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java26 import java.io.InputStreamReader;
95 private InputStreamReader is;
97 private InputStreamReader reader;
109 reader = new InputStreamReader(in, "UTF-8"); in setUp()
118 is = new InputStreamReader(fis); in setUp()
167 reader = new InputStreamReader(in, "utf-8"); in test_close()
192 reader = new InputStreamReader(null); in test_ConstructorLjava_io_InputStream()
197 InputStreamReader reader2 = new InputStreamReader(in); in test_ConstructorLjava_io_InputStream()
207 is = new InputStreamReader(fis, "8859_1"); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
210 is = new InputStreamReader(fis, "Bogus"); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
[all …]
DPrintStreamTest.java23 import java.io.InputStreamReader;
263 InputStreamReader isr = new InputStreamReader(bis); in test_printC()
402 InputStreamReader isr = new InputStreamReader(bis); in test_println()
417 InputStreamReader isr = new InputStreamReader(bis); in test_println$C()
446 InputStreamReader isr = new InputStreamReader(bis); in test_printlnC()
460 InputStreamReader isr = new InputStreamReader(bis); in test_printlnD()
478 InputStreamReader isr = new InputStreamReader(bis); in test_printlnF()
495 InputStreamReader isr = new InputStreamReader(bis); in test_printlnI()
511 InputStreamReader isr = new InputStreamReader(bis); in test_printlnJ()
528 InputStreamReader isr = new InputStreamReader(bis); in test_printlnLjava_lang_Object()
[all …]
DOutputStreamWriterTest.java28 import java.io.InputStreamReader;
51 InputStreamReader isr;
416 InputStreamReader in = new InputStreamReader(fis); in testHandleEarlyEOFChar_1()
449 InputStreamReader isr = null; in testSingleCharIO()
471 isr = new InputStreamReader(new ByteArrayInputStream(result), in testSingleCharIO()
491 InputStreamReader isr = null; in testBlockIO()
520 isr = new InputStreamReader(new ByteArrayInputStream(result), in testBlockIO()
699 isr = new InputStreamReader(new ByteArrayInputStream(fos.toByteArray())); in openInputStream()
DByteArrayInputStreamTest.java23 import java.io.InputStreamReader;
117 InputStreamReader isr = new InputStreamReader(is); in test_read()
DLineNumberReaderTest.java22 import java.io.InputStreamReader;
122 LineNumberReader reader = new LineNumberReader(new InputStreamReader( in test_readLine()
126 reader = new LineNumberReader(new InputStreamReader( in test_readLine()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidInputStreamReaderTest.java20 import java.io.InputStreamReader;
34 InputStreamReader a = new InputStreamReader(aa, "ISO8859_1"); in testAscii()
58 InputStreamReader a = new InputStreamReader(aa); in testUtf8()
97 InputStreamReader r = new InputStreamReader(bais, enc[i]); in testStringy()
DOldInputStreamReaderTest.java24 import java.io.InputStreamReader;
37 private InputStreamReader reader;
39 private InputStreamReader is;
49 reader = new InputStreamReader(in, "UTF-8"); in setUp()
58 is = new InputStreamReader(fis); in setUp()
147 InputStreamReader isr = new InputStreamReader(bis, "ISO-8859-1"); in testInputStreamReaderSuccessiveReads()
170 is = new InputStreamReader(fis, "8859_1"); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
176 is = new InputStreamReader(fis, "Bogus"); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
197 is = new InputStreamReader(new Support_ASimpleInputStream(true)); in test_close()
264 InputStreamReader isr = new InputStreamReader(is, "SHIFT_JIS"); in test_readWhenCharacterSpansBuffer()
DInputStreamReaderTest.java20 import java.io.InputStreamReader;
36 InputStreamReader reader = new InputStreamReader(pin); in testReadDoesNotBlockUnnecessarily()
DOldFileWriterTest.java27 import java.io.InputStreamReader;
99 InputStreamReader in = null; in test_handleEarlyEOFChar_1()
101 in = new InputStreamReader(fis); in test_handleEarlyEOFChar_1()
160 InputStreamReader in = null; in test_handleExternalFileDescriptor()
162 in = new InputStreamReader(fis); in test_handleExternalFileDescriptor()
DOldOutputStreamWriterTest.java23 import java.io.InputStreamReader;
34 InputStreamReader isr;
307 InputStreamReader charsIn = new InputStreamReader(bytesIn, charset); in testEncodeCharset()
315 charsIn = new InputStreamReader(bytesIn, charset); in testEncodeCharset()
584 isr = new InputStreamReader(new ByteArrayInputStream(fos.toByteArray()), "UTF-8"); in openInputStream()
DOldFilterReaderTest.java23 import java.io.InputStreamReader;
122 fr = new MyFilterReader(new InputStreamReader( in test_read$CII_Exception()
/libcore/ojluni/src/main/java/java/io/
DInputStreamReader.java63 public class InputStreamReader extends Reader { class
75 public InputStreamReader(InputStream in) { in InputStreamReader() method in InputStreamReader
94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader() method in InputStreamReader
111 public InputStreamReader(InputStream in, Charset cs) { in InputStreamReader() method in InputStreamReader
126 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader() method in InputStreamReader
/libcore/ojluni/src/test/java/io/InputStreamReader/
DReadCharBuffer.java31 package test.java.io.InputStreamReader;
39 import java.io.InputStreamReader;
65 …try (Reader reader = new InputStreamReader(new ByteArrayInputStream("ABCDEFGHIJKLMNOPQRTUVWXYZ".ge… in read()
/libcore/ojluni/src/test/java/util/Properties/
DBug6609431.java36 import java.io.InputStreamReader;
57 new InputStreamReader(inputStream())) { in main()
DLoadParsing2.java33 import java.io.InputStreamReader;
53 props.load(new InputStreamReader(is, "UTF-8")); in getLoadedProperties()
DSaveEncoding.java37 import java.io.InputStreamReader;
77 new InputStreamReader(inFile)); in main()
/libcore/ojluni/src/test/java/io/FileReader/
DConstructorTest.java30 import java.io.InputStreamReader;
87 InputStreamReader isr = new InputStreamReader(is, charset);) { in test()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessManagerTest.java28 import java.io.InputStreamReader;
149 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in readLine()
158 = new BufferedReader(new InputStreamReader(in)); in logErrors()
222 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in countLines()
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DUnsupportedNewApis.java22 import java.io.InputStreamReader;
68 try (BufferedReader reader = new BufferedReader(new InputStreamReader(in))) { in parse()
/libcore/ojluni/src/test/java/net/Socks/
DSocksIPv6Test.java35 import java.io.InputStreamReader;
153 new InputStreamReader(conn.getInputStream()))) { in testSocksOverIPv6()
186 new InputStreamReader(conn.getInputStream()))) { in testSocksOverIPv6Hostname()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java17 import java.io.InputStreamReader;
133 reader = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in createXMLReader()
/libcore/ojluni/src/test/java/text/testlib/
DHexDumpReader.java31 import java.io.InputStreamReader;
52 = new BufferedReader(new InputStreamReader(new FileInputStream(hexFile), in getStreamFromHexDump()
/libcore/luni/src/test/java/libcore/java/math/
DCSVTest.java4 import java.io.InputStreamReader;
47 br = new BufferedReader(new InputStreamReader( in TestCSVInputs()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java27 import java.io.InputStreamReader;
255 rd = new BufferedReader(new InputStreamReader(is, "UTF-8"), DEFAULT_LINE_LENGTH); in findJarServiceProvider()
257 rd = new BufferedReader(new InputStreamReader(is), DEFAULT_LINE_LENGTH); in findJarServiceProvider()
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java26 import java.io.InputStreamReader;
121 Reader reader = new InputStreamReader(in); in streamToStringCallable()

123