Lines Matching refs:endIndex
119 final int endIndex = startIndex + n;
120 if (endIndex < source.length()) {
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) {
123 pos.setIndex(endIndex);
144 final int endIndex = pos.getIndex();
147 if (startIndex == endIndex) {
174 final int endIndex = startIndex + expected.length();
176 (endIndex > source.length()) ||
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) {
185 pos.setIndex(endIndex);