Searched refs:ithOccurrence (Results 1 – 3 of 3) sorted by relevance
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/ |
H A D | MarkOccurrenceTest1d8.java | 115 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence) { in find() argument 116 if (ithOccurrence < 1) in find() 117 throw new IllegalStateException("ithOccurrence = " + ithOccurrence); in find() 118 return find(s, pattern, ithOccurrence, 0); in find() 121 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence, int startIdx) { in find() argument 127 if (ithOccurrence == 1) in find() 129 return find(s, pattern, ithOccurrence - 1, idx + 1); in find()
|
H A D | BreakContinueTargetFinderTest.java | 110 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence) { in find() argument 111 if (ithOccurrence < 1) in find() 112 throw new IllegalStateException("ithOccurrence = " + ithOccurrence); in find() 113 return find(s, pattern, ithOccurrence, 0); in find() 116 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence, int startIdx) { in find() argument 122 if (ithOccurrence == 1) in find() 124 return find(s, pattern, ithOccurrence-1, idx+1); in find()
|
H A D | MarkOccurrenceTest1d7.java | 118 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence) { in find() argument 119 if (ithOccurrence < 1) in find() 120 throw new IllegalStateException("ithOccurrence = " + ithOccurrence); in find() 121 return find(s, pattern, ithOccurrence, 0); in find() 124 private OccurrenceLocation find(StringBuffer s, String pattern, int ithOccurrence, int startIdx) { in find() argument 130 if (ithOccurrence == 1) in find() 132 return find(s, pattern, ithOccurrence - 1, idx + 1); in find()
|