Home
last modified time | relevance | path

Searched refs:BufferedReader (Results 1 – 25 of 43) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedReaderTest.java20 import java.io.BufferedReader;
37 BufferedReader br;
43 br = new BufferedReader(new Support_StringReader(testString)); in test_ConstructorLjava_io_Reader()
50 br = new BufferedReader(new Support_StringReader(testString), 0); in test_ConstructorLjava_io_ReaderI()
54 br = new BufferedReader(new Support_StringReader(testString), 1024); in test_ConstructorLjava_io_ReaderI()
61 br = new BufferedReader(new Support_StringReader(testString)); in test_close()
71 br = new BufferedReader(ssr); in test_close()
86 br = new BufferedReader(new Support_StringReader(testString)); in test_markI()
99 br = new BufferedReader(new Support_StringReader(testString), 800); in test_markI()
111 Reader in = new BufferedReader(new Support_StringReader(new String( in test_markI()
[all …]
DOldAndroidBufferedReaderTest.java19 import java.io.BufferedReader;
37 BufferedReader a = new BufferedReader(aa, 5); in testBufferedReader()
44 BufferedReader b = new BufferedReader(ba, 15); in testBufferedReader()
51 BufferedReader c = new BufferedReader(ca); in testBufferedReader()
58 BufferedReader d = new BufferedReader(da); in testBufferedReader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedReaderTest.java20 import java.io.BufferedReader;
34 BufferedReader br;
62 BufferedReader bufferedReader in assertLines()
63 = new BufferedReader(new Support_StringReader(in)); in assertLines()
92 br = new BufferedReader(new Support_StringReader(testString)); in test_close()
107 br = new BufferedReader(new Support_StringReader(testString)); in test_markI()
118 br = new BufferedReader(new Support_StringReader(testString), 800); in test_markI()
131 Reader in = new BufferedReader(new Support_StringReader(new String( in test_markI()
141 in = new BufferedReader(new Support_StringReader(new String(chars)), 12); in test_markI()
149 BufferedReader br = new BufferedReader(new StringReader("01234"), 2); in test_markI()
[all …]
DPrintWriterTest.java20 import java.io.BufferedReader;
64 BufferedReader br;
76 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStream()
98 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStreamZ()
103 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStreamZ()
253 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_print$C()
383 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_println()
407 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_println$C()
427 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_printlnC()
447 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_printlnD()
[all …]
DFileWriterTest.java20 import java.io.BufferedReader;
36 private BufferedReader br;
48 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_io_File()
102 br = new BufferedReader(new FileReader(fis.getFD())); in test_ConstructorLjava_io_FileDescriptor()
121 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_String()
139 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
152 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_StringZ()
/libcore/tools/upstream/src/main/java/libcore/
DUtil.java19 import java.io.BufferedReader;
59 BufferedReader br = (reader instanceof BufferedReader) in readLines()
60 ? (BufferedReader) reader : new BufferedReader(reader); in readLines()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessManagerTest.java23 import java.io.BufferedReader;
149 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in readLine()
157 BufferedReader reader in logErrors()
158 = new BufferedReader(new InputStreamReader(in)); in logErrors()
222 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); in countLines()
/libcore/ojluni/src/test/java/util/Properties/
DSaveEncoding.java32 import java.io.BufferedReader;
76 BufferedReader in = new BufferedReader( in main()
/libcore/ojluni/src/test/java/net/Socks/
DSocksIPv6Test.java32 import java.io.BufferedReader;
152 try (BufferedReader reader = new BufferedReader( in testSocksOverIPv6()
185 try (BufferedReader reader = new BufferedReader( in testSocksOverIPv6Hostname()
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DUnsupportedNewApis.java19 import java.io.BufferedReader;
68 try (BufferedReader reader = new BufferedReader(new InputStreamReader(in))) { in parse()
DExpectedUpstreamFile.java19 import java.io.BufferedReader;
41 try (BufferedReader in = new BufferedReader(new FileReader(mPath.toFile()))) { in readAllEntries()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java15 import java.io.BufferedReader;
124 BufferedReader reader; in createXMLReader()
133 reader = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in createXMLReader()
/libcore/ojluni/src/test/java/text/testlib/
DHexDumpReader.java26 import java.io.BufferedReader;
51 try (BufferedReader reader in getStreamFromHexDump()
52 = new BufferedReader(new InputStreamReader(new FileInputStream(hexFile), in getStreamFromHexDump()
/libcore/luni/src/test/java/libcore/java/math/
DCSVTest.java3 import java.io.BufferedReader;
44 BufferedReader br = null; in TestCSVInputs()
47 br = new BufferedReader(new InputStreamReader( in TestCSVInputs()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java20 import java.io.BufferedReader;
152 try (BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo"))) { in cpuFieldContainsAes()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java22 import java.io.BufferedReader;
253 BufferedReader rd; in findJarServiceProvider()
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/luni/src/test/java/libcore/java/nio/charset/
DStandardCharsetsEncoderTest.java22 import java.io.BufferedReader;
83 try (BufferedReader reader = createAsciiReader(openResource(fileName))) { in testCharset()
210 private static BufferedReader createAsciiReader(InputStream in) { in createAsciiReader()
211 return new BufferedReader(new InputStreamReader(in, StandardCharsets.US_ASCII)); in createAsciiReader()
/libcore/ojluni/src/test/java/lang/String/
DLines.java34 import java.io.BufferedReader;
77 Stream<String> brLines = new BufferedReader(new StringReader(string)).lines(); in testString()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java21 import java.io.BufferedReader;
270 BufferedReader rd; in loadFromServicesFile()
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.java21 import java.io.BufferedReader;
336 BufferedReader rd; in loadFromServicesFile()
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/ojluni/src/test/java/util/Base64/
DTestBase64Golden.java33 import java.io.BufferedReader;
65 BufferedReader br = new BufferedReader(new InputStreamReader(is, DEF_CHARSET)); in readAllLines()
/libcore/ojluni/src/test/java/math/BigInteger/
DModPowPowersof2.java34 import java.io.BufferedReader;
/libcore/ojluni/src/main/java/java/io/
DBufferedReader.java71 public class BufferedReader extends Reader { class
101 public BufferedReader(Reader in, int sz) { in BufferedReader() method in BufferedReader
116 public BufferedReader(Reader in) { in BufferedReader() method in BufferedReader
/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java19 import java.io.BufferedReader;
135 BufferedReader buf = new BufferedReader(new InputStreamReader( in testSetURLStreamHandlerFactory()
284 BufferedReader dis = null; in testOpenStream()
288 dis = new BufferedReader( in testOpenStream()
307 dis = new BufferedReader( in testOpenStream()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java25 import java.io.BufferedReader;
357BufferedReader r = new BufferedReader(new InputStreamReader(i),testString.getBytes().length);
396BufferedReader r = new BufferedReader(new InputStreamReader(helloWorld2),testString.getBytes().len…
1210 BufferedReader buf = new BufferedReader(new InputStreamReader(

12