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.java1016 private String findPatternInBuffer(Pattern pattern, int horizon) { in findPatternInBuffer() argument
1022 if (horizon > 0) { in findPatternInBuffer()
1023 horizonLimit = position + horizon; in findPatternInBuffer()
1055 if ((horizon == 0) || (searchLimit != horizonLimit)) in findPatternInBuffer()
1657 public String findWithinHorizon(String pattern, int horizon) { in findWithinHorizon() argument
1658 return findWithinHorizon(patternCache.forName(pattern), horizon); in findWithinHorizon()
1692 public String findWithinHorizon(Pattern pattern, int horizon) { in findWithinHorizon() argument
1696 if (horizon < 0) in findWithinHorizon()
1702 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon()