Home
last modified time | relevance | path

Searched refs:findInLine (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java4912 s.findInLine((Pattern) null); in test_findInLine_LPattern()
4916 String result = s.findInLine(Pattern.compile("^")); in test_findInLine_LPattern()
4918 result = s.findInLine(Pattern.compile("$")); in test_findInLine_LPattern()
4926 result = s.findInLine(Pattern.compile("a\nb*")); in test_findInLine_LPattern()
4930 result = s.findInLine(Pattern.compile("\\.")); in test_findInLine_LPattern()
4934 result = s.findInLine(Pattern.compile("\\p{Lower}+")); in test_findInLine_LPattern()
4940 result = s.findInLine(Pattern.compile("\\p{Digit}{5}")); in test_findInLine_LPattern()
4950 result = s.findInLine(Pattern.compile("\\p{Lower}+")); in test_findInLine_LPattern()
4962 result = s.findInLine(Pattern.compile("\\p{Digit}+")); in test_findInLine_LPattern()
4971 s.findInLine((Pattern) null); in test_findInLine_LPattern()
[all …]
/libcore/ojluni/src/main/java/java/util/
DScanner.java1588 public String findInLine(String pattern) { in findInLine() method in Scanner
1589 return findInLine(patternCache.forName(pattern)); in findInLine()
1610 public String findInLine(Pattern pattern) { in findInLine() method in Scanner