Searched refs:horizon (Results 1 – 1 of 1) sorted by relevance
1011 private String findPatternInBuffer(Pattern pattern, int horizon) { in findPatternInBuffer() argument1017 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() argument1652 return findWithinHorizon(patternCache.forName(pattern), horizon); in findWithinHorizon()1686 public String findWithinHorizon(Pattern pattern, int horizon) { in findWithinHorizon() argument1690 if (horizon < 0) in findWithinHorizon()1696 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon()