Home
last modified time | relevance | path

Searched refs:scanner (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerParseLargeFileBenchmarkTest.java33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); in testParseLargeFile() local
35 while (scanner.hasNext()) { in testParseLargeFile()
36 scanner.next(); in testParseLargeFile()
38 scanner.close(); in testParseLargeFile()
DControlTest.java422 Scanner scanner = new Scanner(file); in changeProperties() local
423 assertEquals(newValue, scanner.nextLine()); in changeProperties()
424 scanner.close(); in changeProperties()
DPropertiesTest.java713 Scanner scanner = new Scanner(out.toString()); in test_storeLjava_io_WriterLjava_lang_String() local
714 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()
DScannerTest.java5635 final Scanner scanner = new Scanner(pis); in test_hasNextLine_sequence() local
5640 while (scanner.hasNextLine()) { in test_hasNextLine_sequence()
5641 String line = scanner.nextLine(); in test_hasNextLine_sequence()
5663 assertFalse(scanner.hasNextLine()); in test_hasNextLine_sequence()
/libcore/ojluni/src/main/java/sun/security/util/
DPropertyExpander.java74 scanner: in expand()
89 break scanner; in expand() local
102 break scanner; in expand() local
138 break scanner; in expand() local