Home
last modified time | relevance | path

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

12

/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.java22 import java.io.InputStreamReader;
226 InputStreamReader isr = new InputStreamReader(bis); in test_printC()
365 InputStreamReader isr = new InputStreamReader(bis); in test_println()
380 InputStreamReader isr = new InputStreamReader(bis); in test_println$C()
409 InputStreamReader isr = new InputStreamReader(bis); in test_printlnC()
423 InputStreamReader isr = new InputStreamReader(bis); in test_printlnD()
441 InputStreamReader isr = new InputStreamReader(bis); in test_printlnF()
458 InputStreamReader isr = new InputStreamReader(bis); in test_printlnI()
474 InputStreamReader isr = new InputStreamReader(bis); in test_printlnJ()
491 InputStreamReader isr = new InputStreamReader(bis); in test_printlnLjava_lang_Object()
[all …]
DByteArrayInputStreamTest.java23 import java.io.InputStreamReader;
117 InputStreamReader isr = new InputStreamReader(is); in test_read()
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()
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()
DFileInputStreamTest.java25 import java.io.InputStreamReader;
213 InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName)); in test_read()
/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.java26 import java.io.InputStreamReader;
99 InputStreamReader in = null; in test_handleEarlyEOFChar_1()
101 in = new InputStreamReader(fis); in test_handleEarlyEOFChar_1()
DOldFilterReaderTest.java23 import java.io.InputStreamReader;
122 fr = new MyFilterReader(new InputStreamReader( in test_read$CII_Exception()
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()
/libcore/ojluni/src/main/java/java/io/
DInputStreamReader.java62 public class InputStreamReader extends Reader { class
71 public InputStreamReader(InputStream in) { in InputStreamReader() method in InputStreamReader
94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader() method in InputStreamReader
112 public InputStreamReader(InputStream in, Charset cs) { in InputStreamReader() method in InputStreamReader
128 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader() method in InputStreamReader
DFileReader.java45 public class FileReader extends InputStreamReader {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessManagerTest.java26 import java.io.InputStreamReader;
133 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in readLine()
142 = new BufferedReader(new InputStreamReader(in)); in logErrors()
206 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in countLines()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java12 import java.io.InputStreamReader;
129 reader = new BufferedReader (new InputStreamReader (in, StandardCharsets.UTF_8)); in createXMLReader()
/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/tzdata/tools/src/main/libcore/tzdata/update/tools/
DCreateTzDataBundle.java22 import java.io.InputStreamReader;
116 try (Reader reader = new InputStreamReader(new FileInputStream(f))) { in loadProperties()
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java26 import java.io.InputStreamReader;
143 Reader reader = new InputStreamReader(in); in streamToStringCallable()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java26 import java.io.InputStreamReader;
272 rd = new BufferedReader(new InputStreamReader(in, "UTF-8"), DEFAULT_LINE_LENGTH); in loadFromServicesFile()
274 rd = new BufferedReader(new InputStreamReader(in), DEFAULT_LINE_LENGTH); in loadFromServicesFile()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java26 import java.io.InputStreamReader;
338 rd = new BufferedReader(new InputStreamReader(in, "UTF-8"), DEFAULT_LINE_LENGTH); in loadFromServicesFile()
340 rd = new BufferedReader(new InputStreamReader(in), DEFAULT_LINE_LENGTH); in loadFromServicesFile()
/libcore/tzdata/update/src/main/libcore/tzdata/update/
DFileUtils.java22 import java.io.InputStreamReader;
187 new InputStreamReader(in, StandardCharsets.UTF_8)); in readLines()
/libcore/benchmarks/src/benchmarks/regression/
DParseBenchmark.java23 import java.io.InputStreamReader;
110 Reader reader = new InputStreamReader(in, "UTF-8"); in resourceToString()
/libcore/luni/src/test/java/libcore/xml/
DXsltXPathConformanceTestSuite.java25 import java.io.InputStreamReader;
590 reader = new InputStreamReader(in, "UTF-16LE"); in fileToString()
592 reader = new InputStreamReader(in, "UTF-16BE"); in fileToString()
596 reader = new InputStreamReader(in, "UTF-8"); in fileToString()
599 reader = new InputStreamReader(in); in fileToString()

12