Home
last modified time | relevance | path

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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DLineNumberReaderTest.java59 lnr.readLine(); in test_getLineNumber()
60 lnr.readLine(); in test_getLineNumber()
74 line = lnr.readLine(); in test_markI()
77 .readLine())); in test_markI()
113 lnr.readLine(); in test_readLine()
114 line = lnr.readLine(); in test_readLine()
128 assertNotNull(reader.readLine()); in test_readLine()
129 assertNull(reader.readLine()); in test_readLine()
140 lnr.readLine(); in test_reset()
142 line = lnr.readLine(); in test_reset()
[all …]
DPrintWriterTest.java77 s = br.readLine(); in test_ConstructorLjava_io_OutputStream()
80 s = br.readLine(); in test_ConstructorLjava_io_OutputStream()
99 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
104 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
107 s = br.readLine(); in test_ConstructorLjava_io_OutputStreamZ()
254 s = br.readLine(); in test_print$C()
384 s = br.readLine(); in test_println()
386 s = br.readLine(); in test_println()
388 s = br.readLine(); in test_println()
408 s = br.readLine(); in test_println$C()
[all …]
DConsoleTest.java87 String line = console.readLine(); in test_readLine()
92 String line = console.readLine("%d %s", 2, "Please input a line of string to test:"); in test_readLine_LString_LObject()
DBufferedReaderTest.java65 assertEquals(line, bufferedReader.readLine()); in assertLines()
67 assertNull(bufferedReader.readLine()); in assertLines()
478 String r = br.readLine(); in test_readLine()
DDataInputStreamTest.java410 String line = dis.readLine(); in test_readLine()
498 public String readLine() throws IOException { in readLine() method in DataInputStreamTest.TestDataInputStream
/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedReaderTest.java223 line = br.readLine(); in test_readLine()
226 line = br.readLine(); in test_readLine()
229 line = br.readLine(); in test_readLine()
235 br.readLine(); in test_readLine()
329 assertEquals("1", r.readLine()); in test_readLine_all_line_endings()
330 assertEquals("2", r.readLine()); in test_readLine_all_line_endings()
331 assertEquals("3", r.readLine()); in test_readLine_all_line_endings()
332 assertEquals("4", r.readLine()); in test_readLine_all_line_endings()
333 assertNull(r.readLine()); in test_readLine_all_line_endings()
340 assertEquals("", r.readLine()); // The '\r' we read() didn't count. in test_readLine_interaction_with_read()
[all …]
DOldLineNumberReaderTest.java36 line = lnr.readLine(); in test_markI()
39 line.equals(lnr.readLine())); in test_markI()
125 lnr.readLine(); in test_readLine()
126 line = lnr.readLine(); in test_readLine()
133 lnr.readLine(); in test_readLine()
146 lnr.readLine(); in test_reset()
148 line = lnr.readLine(); in test_reset()
DOldAndroidDataInputStreamTest.java60 assertEquals("AbCdEfGhIjKlM", d.readLine()); in testDataInputStream()
61 assertEquals("OpQ", d.readLine()); in testDataInputStream()
62 assertEquals("StUvWxYz", d.readLine()); in testDataInputStream()
DOldDataInputStreamTest.java265 line = dis.readLine(); in test_readLine()
268 line = dis.readLine(); in test_readLine()
271 line = dis.readLine(); in test_readLine()
277 dis.readLine(); in test_readLine()
DOldAndroidLineNumberReaderTest.java74 assertEquals("AbCdEfGhIjKlM", e.readLine()); in testLineNumberReader()
DOldRandomAccessFileTest.java923 assertEquals("Test 1: Incorrect line read;", "Goodbye", raf.readLine()); in test_readLine()
924 assertEquals("Test 2: Incorrect line read;", "Cruel", raf.readLine()); in test_readLine()
925 assertEquals("Test 3: Incorrect line read;", "World", raf.readLine()); in test_readLine()
926 assertNull("Test 4: Incorrect line read; null expected.", raf.readLine()); in test_readLine()
930 raf.readLine(); in test_readLine()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessManagerTest.java45 assertEquals(greeting, readLine(process)); in testCat()
119 assertEquals("/", readLine(process)); in testPwd()
130 assertEquals("foo", readLine(process)); in testEnvironment()
133 String readLine(Process process) throws IOException { in readLine() method in ProcessManagerTest
136 return reader.readLine(); in readLine()
147 while ((line = reader.readLine()) != null) { in logErrors()
212 while (reader.readLine() != null) { in countLines()
/libcore/ojluni/src/main/java/java/io/
DLineNumberReader.java199 public String readLine() throws IOException { in readLine() method in LineNumberReader
201 String l = super.readLine(skipLF); in readLine()
DBufferedReader.java323 String readLine(boolean ignoreLF) throws IOException { in readLine() method in BufferedReader
399 public String readLine() throws IOException { in readLine() method in BufferedReader
400 return readLine(false); in readLine()
582 nextLine = readLine(); in lines()
DDataInput.java501 String readLine() throws IOException; in readLine() method
DDataInputStream.java498 public final String readLine() throws IOException { in readLine() method in DataInputStream
/libcore/ojluni/src/main/java/java/util/jar/
DManifest.java210 while ((len = fis.readLine(lbuf)) != -1) { in read()
369 public int readLine(byte[] b, int off, int len) throws IOException { in readLine() method in Manifest.FastInputStream
408 public int readLine(byte[] b) throws IOException { in readLine() method in Manifest.FastInputStream
409 return readLine(b, 0, b.length); in readLine()
/libcore/ojluni/annotations/hiddenapi/java/io/
DConsole.java58 public java.lang.String readLine(java.lang.String fmt, java.lang.Object... args) { in readLine() method in Console
62 public java.lang.String readLine() { in readLine() method in Console
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java312 while((line = br.readLine()) != null && !line.endsWith(".jar")); in read()
314 for(;line != null; line = br.readLine()) { in read()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java134 className = reader.readLine(); in createXMLReader()
/libcore/luni/src/test/java/libcore/java/math/
DCSVTest.java49 while ((line = br.readLine()) != null) { in TestCSVInputs()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java152 while ((line = br.readLine()) != null) { in cpuFieldContainsAes()
/libcore/tools/upstream/src/main/java/libcore/
DUtil.java62 while ((line = br.readLine()) != null) { in readLines()
/libcore/ojluni/annotations/hiddenapi/java/util/
DProperties.java166 int readLine() throws java.io.IOException { in readLine() method in Properties.LineReader
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java264 factoryClassName = rd.readLine(); in findJarServiceProvider()

12