Home
last modified time | relevance | path

Searched refs:nextLine (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DBufferedReader.java577 String nextLine = null; in lines()
581 if (nextLine != null) { in lines()
585 nextLine = readLine(); in lines()
586 return (nextLine != null); in lines()
595 if (nextLine != null || hasNext()) { in lines()
596 String line = nextLine; in lines()
597 nextLine = null; in lines()
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java137 sc.nextLine(); in useCase1()
188 String text = sc.nextLine(); in useCase3()
192 sc.nextLine(); in useCase3()
251 sc.nextLine(); in useCase5()
269 sc.nextLine(); in useCase5()
433 if (!sc.nextLine().equals("1")) failCount++; in hasNextLineTest()
437 if (!sc.nextLine().equals("")) failCount++; in hasNextLineTest()
441 if (!sc.nextLine().equals(" 3")) failCount++; in hasNextLineTest()
447 if (!sc.nextLine().equals(" 4")) failCount++; in hasNextLineTest()
449 if (!sc.nextLine().equals("5")) failCount++; in hasNextLineTest()
[all …]
/libcore/ojluni/src/tools/build/tools/spp/
DSpp.java157 String ln = in.nextLine(); in spp()
165 in.nextLine(); in spp()
/libcore/benchmarks/src/benchmarks/regression/
DScannerBenchmark.java109 scanner.nextLine(); in readAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java5006 assertEquals("", s.nextLine()); in test_findInLine_LPattern()
5009 assertEquals("", s.nextLine()); in test_findInLine_LPattern()
5024 s.nextLine(); in test_findInLine_LPattern()
5027 s.nextLine(); in test_findInLine_LPattern()
5419 s.nextLine(); in test_nextLine()
5425 String result = s.nextLine(); in test_nextLine()
5432 result = s.nextLine(); in test_nextLine()
5439 result = s.nextLine(); in test_nextLine()
5446 result = s.nextLine(); in test_nextLine()
5454 result = s.nextLine(); in test_nextLine()
[all …]
DPropertiesTest.java714 assertTrue(scanner.nextLine().startsWith("#A Header")); in test_storeLjava_io_WriterLjava_lang_String()
715 assertTrue(scanner.nextLine().startsWith("#")); in test_storeLjava_io_WriterLjava_lang_String()
DControlTest.java418 assertEquals(newValue, scanner.nextLine()); in changeProperties()
/libcore/ojluni/src/main/java/java/util/
DScanner.java1662 public String nextLine() { in nextLine() method in Scanner
/libcore/api/
Dcurrent.txt14820 method public String nextLine();