Home
last modified time | relevance | path

Searched refs:br (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedReaderTest.java37 BufferedReader br; field in OldBufferedReaderTest
43 br = new BufferedReader(new Support_StringReader(testString)); in test_ConstructorLjava_io_Reader()
44 assertNotNull(br); 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()
55 assertNotNull(br); in test_ConstructorLjava_io_ReaderI()
61 br = new BufferedReader(new Support_StringReader(testString)); in test_close()
62 br.close(); in test_close()
63 br.read(); in test_close()
71 br = new BufferedReader(ssr); in test_close()
[all …]
DOldFileReaderTest.java26 FileReader br; field in OldFileReaderTest
31 br = new FileReader(noFile); in test_ConstructorLjava_io_File()
40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst"); in test_ConstructorLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedReaderTest.java34 BufferedReader br; field in BufferedReaderTest
92 br = new BufferedReader(new Support_StringReader(testString)); in test_close()
93 br.close(); in test_close()
94 br.read(); in test_close()
107 br = new BufferedReader(new Support_StringReader(testString)); in test_markI()
108 br.skip(500); in test_markI()
109 br.mark(1000); in test_markI()
110 br.skip(250); in test_markI()
111 br.reset(); in test_markI()
113 br.read(buf, 0, 500); in test_markI()
[all …]
DPrintWriterTest.java64 BufferedReader br; field in PrintWriterTest
76 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStream()
77 s = br.readLine(); in test_ConstructorLjava_io_OutputStream()
80 s = br.readLine(); in test_ConstructorLjava_io_OutputStream()
98 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStreamZ()
99 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
103 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_ConstructorLjava_io_OutputStreamZ()
104 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
107 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
253 br = new BufferedReader(new Support_StringReader(bao.toString())); in test_print$C()
[all …]
DFileReaderTest.java31 FileReader br; field in FileReaderTest
46 br = new FileReader(f); in test_ConstructorLjava_io_File()
48 int r = br.read(buf); in test_ConstructorLjava_io_File()
49 br.close(); in test_ConstructorLjava_io_File()
62 br = new FileReader(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
64 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor()
65 br.close(); in test_ConstructorLjava_io_FileDescriptor()
78 br = new FileReader(f.getPath()); in test_ConstructorLjava_lang_String()
80 int r = br.read(buf); in test_ConstructorLjava_lang_String()
81 br.close(); in test_ConstructorLjava_lang_String()
[all …]
DFileWriterTest.java36 private BufferedReader br; field in FileWriterTest
48 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_io_File()
50 int r = br.read(buf); in test_ConstructorLjava_io_File()
51 br.close(); in test_ConstructorLjava_io_File()
102 br = new BufferedReader(new FileReader(fis.getFD())); in test_ConstructorLjava_io_FileDescriptor()
104 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor()
105 br.close(); in test_ConstructorLjava_io_FileDescriptor()
121 br = new BufferedReader(new FileReader(f.getPath())); in test_ConstructorLjava_lang_String()
123 int r = br.read(buf); in test_ConstructorLjava_lang_String()
124 br.close(); in test_ConstructorLjava_lang_String()
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DCSVTest.java44 BufferedReader br = null; in TestCSVInputs() local
47 br = new BufferedReader(new InputStreamReader( in TestCSVInputs()
49 while ((line = br.readLine()) != null) { in TestCSVInputs()
57 if (br != null) { in TestCSVInputs()
58 br.close(); in TestCSVInputs()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java149 try (BufferedReader br = new BufferedReader(new FileReader("/proc/cpuinfo"))) { in cpuFieldContainsAes() argument
152 while ((line = br.readLine()) != null) { in cpuFieldContainsAes()
/libcore/tools/upstream/src/main/java/libcore/
DUtil.java59 BufferedReader br = (reader instanceof BufferedReader) in readLines() local
62 while ((line = br.readLine()) != null) { in readLines()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java303 BufferedReader br = new BufferedReader in read() local
312 while((line = br.readLine()) != null && !line.endsWith(".jar")); in read()
314 for(;line != null; line = br.readLine()) { in read()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java954 BufferedReader br = new BufferedReader(new InputStreamReader(bais, in validateOutput() local
957 assertEquals(expectString, br.readLine()); in validateOutput()
959 br.readLine(); in validateOutput()
960 assertNull(br.readLine()); in validateOutput()
961 br.close(); in validateOutput()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java3744 BufferedReader br = Files.newBufferedReader(path, cs);
3746 return br.lines().onClose(asUncheckedRunnable(br));
3749 br.close();
/libcore/ojluni/
DNOTICE1493 empty), use default metadata<br>