Lines Matching refs:startIndex
118 final int startIndex = pos.getIndex();
119 final int endIndex = startIndex + n;
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) {
142 final int startIndex = pos.getIndex();
147 if (startIndex == endIndex) {
173 final int startIndex = pos.getIndex();
174 final int endIndex = startIndex + expected.length();
175 if ((startIndex >= source.length()) ||
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) {
179 pos.setIndex(startIndex);
180 pos.setErrorIndex(startIndex);