Searched refs:readLine (Results 1 - 25 of 42) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DLineNumberReaderTest.java59 lnr.readLine();
60 lnr.readLine();
74 line = lnr.readLine();
77 .readLine()));
107 * java.io.LineNumberReader#readLine()
113 lnr.readLine();
114 line = lnr.readLine();
128 assertNotNull(reader.readLine());
129 assertNull(reader.readLine());
140 lnr.readLine();
[all...]
H A DPrintWriterTest.java77 s = br.readLine();
80 s = br.readLine();
99 s = br.readLine();
104 s = br.readLine();
107 s = br.readLine();
254 s = br.readLine();
384 s = br.readLine();
386 s = br.readLine();
388 s = br.readLine();
408 s = br.readLine();
[all...]
H A DConsoleTest.java87 String line = console.readLine();
92 String line = console.readLine("%d %s", 2, "Please input a line of string to test:");
H A DBufferedReaderTest.java39 * The spec says that BufferedReader.readLine() considers only "\r", "\n"
65 assertEquals(line, bufferedReader.readLine());
67 assertNull(bufferedReader.readLine());
472 * @tests java.io.BufferedReader#readLine()
475 // Test for method java.lang.String java.io.BufferedReader.readLine()
478 String r = br.readLine();
479 assertEquals("readLine returned incorrect string", "Test_All_Tests", r
482 fail("Exception during readLine test");
H A DDataInputStreamTest.java403 * java.io.DataInputStream#readLine()
410 String line = dis.readLine();
498 public String readLine() throws IOException { method in class:DataInputStreamTest.TestDataInputStream
/libcore/luni/src/test/java/libcore/java/io/
H A DOldBufferedReaderTest.java223 line = br.readLine();
226 line = br.readLine();
229 line = br.readLine();
235 br.readLine();
329 assertEquals("1", r.readLine());
330 assertEquals("2", r.readLine());
331 assertEquals("3", r.readLine());
332 assertEquals("4", r.readLine());
333 assertNull(r.readLine());
340 assertEquals("", r.readLine()); // Th
[all...]
H A DOldLineNumberReaderTest.java36 line = lnr.readLine();
39 line.equals(lnr.readLine()));
125 lnr.readLine();
126 line = lnr.readLine();
133 lnr.readLine();
146 lnr.readLine();
148 line = lnr.readLine();
H A DOldAndroidDataInputStreamTest.java60 assertEquals("AbCdEfGhIjKlM", d.readLine());
61 assertEquals("OpQ", d.readLine());
62 assertEquals("StUvWxYz", d.readLine());
H A DOldDataInputStreamTest.java265 line = dis.readLine();
268 line = dis.readLine();
271 line = dis.readLine();
277 dis.readLine();
H A DOldAndroidLineNumberReaderTest.java74 assertEquals("AbCdEfGhIjKlM", e.readLine());
H A DOldRandomAccessFileTest.java914 * java.io.RandomAccessFile#readLine()
917 // Test for method java.lang.String java.io.RandomAccessFile.readLine()
923 assertEquals("Test 1: Incorrect line read;", "Goodbye", raf.readLine());
924 assertEquals("Test 2: Incorrect line read;", "Cruel", raf.readLine());
925 assertEquals("Test 3: Incorrect line read;", "World", raf.readLine());
926 assertNull("Test 4: Incorrect line read; null expected.", raf.readLine());
930 raf.readLine();
/libcore/ojluni/src/main/java/java/io/
H A DDataInput.java501 String readLine() throws IOException; method in interface:DataInput
H A DLineNumberReader.java199 public String readLine() throws IOException { method in class:LineNumberReader
201 String l = super.readLine(skipLF);
H A DBufferedReader.java56 * invocation of read() or readLine() could cause bytes to be read from the
319 * @see java.io.LineNumberReader#readLine()
323 String readLine(boolean ignoreLF) throws IOException { method in class:BufferedReader
399 public String readLine() throws IOException { method in class:BufferedReader
400 return readLine(false);
582 nextLine = readLine();
H A DConsole.java55 * {@link #readLine()}, {@link #readPassword()}, {@link #format format()},
121 * <tt>{@link #readLine}</tt>.
244 public String readLine(String fmt, Object ... args) { method in class:Console
272 public String readLine() { method in class:Console
273 return readLine("");
475 * readLine()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DProcessManagerTest.java45 assertEquals(greeting, readLine(process));
117 assertEquals("/", readLine(process));
128 assertEquals("foo", readLine(process));
131 String readLine(Process process) throws IOException { method in class:ProcessManagerTest
134 return reader.readLine();
145 while ((line = reader.readLine()) != null) {
210 while (reader.readLine() != null) {
/libcore/ojluni/src/main/java/sun/misc/
H A DMetaIndex.java178 line = reader.readLine();
184 while ((line = reader.readLine()) != null) {
H A DJarIndex.java315 while((line = br.readLine()) != null && !line.endsWith(".jar"));
317 for(;line != null; line = br.readLine()) {
/libcore/ojluni/src/main/java/java/util/jar/
H A DManifest.java210 while ((len = fis.readLine(lbuf)) != -1) {
369 public int readLine(byte[] b, int off, int len) throws IOException { method in class:Manifest.FastInputStream
408 public int readLine(byte[] b) throws IOException { method in class:Manifest.FastInputStream
409 return readLine(b, 0, b.length);
/libcore/support/src/test/java/libcore/java/security/
H A DCpuFeatures.java67 while ((line = br.readLine()) != null) {
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DXMLReaderFactory.java131 className = reader.readLine();
/libcore/luni/src/test/java/libcore/java/math/
H A DCSVTest.java49 while ((line = br.readLine()) != null) {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLTest.java138 while ((nextline = buf.readLine()) != null) {
290 while ((inputLine = dis.readLine()) != null) {
309 while ((inputLine = dis.readLine()) != null) {
/libcore/ojluni/src/main/java/java/util/
H A DProperties.java348 while ((limit = lr.readLine()) >= 0) {
419 int readLine() throws IOException { method in class:Properties.LineReader
/libcore/luni/src/main/java/javax/xml/datatype/
H A DFactoryFinder.java264 factoryClassName = rd.readLine();

Completed in 323 milliseconds

12