Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DScanner.java1011 private String findPatternInBuffer(Pattern pattern, int horizon) { in findPatternInBuffer() argument
1017 if (horizon > 0) { in findPatternInBuffer()
1018 horizonLimit = position + horizon; in findPatternInBuffer()
1050 if ((horizon == 0) || (searchLimit != horizonLimit)) in findPatternInBuffer()
1651 public String findWithinHorizon(String pattern, int horizon) { in findWithinHorizon() argument
1652 return findWithinHorizon(patternCache.forName(pattern), horizon); in findWithinHorizon()
1686 public String findWithinHorizon(Pattern pattern, int horizon) { in findWithinHorizon() argument
1690 if (horizon < 0) in findWithinHorizon()
1696 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon()