Home | History | Annotate | Download | only in text

Lines Matching refs:startIdx

1017         int startIdx = pos.getIndex();
1028 ParsePosition tmpPos = new ParsePosition(startIdx);
1063 tmpPos.setIndex(startIdx);
1078 tmpPos.setIndex(startIdx);
1098 tmpPos.setIndex(startIdx);
1115 tmpPos.setIndex(startIdx);
1139 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes);
1143 if (startIdx + match.matchLength() > parsedPos) {
1145 parsedPos = startIdx + match.matchLength();
1160 getTZDBTimeZoneNames().find(text, startIdx, nameTypes);
1164 if (startIdx + match.matchLength() > parsedPos) {
1166 parsedPos = startIdx + match.matchLength();
1198 GenericMatchInfo bestGeneric = getTimeZoneGenericNames().findBestMatch(text, startIdx, genericNameTypes);
1199 if (bestGeneric != null && (startIdx + bestGeneric.matchLength() > parsedPos)) {
1201 pos.setIndex(startIdx + bestGeneric.matchLength());
1208 tmpPos.setIndex(startIdx);
1220 tmpPos.setIndex(startIdx);
1232 tmpPos.setIndex(startIdx);
1245 if (parsedPos > startIdx) {
1268 tmpPos.setIndex(startIdx);
1286 assert parsedPos == startIdx + 1; // only when "Z" is used
1295 tmpPos.setIndex(startIdx);
1317 tmpPos.setIndex(startIdx);
1353 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, ALL_SIMPLE_NAME_TYPES);
1358 if (startIdx + match.matchLength() > matchPos) {
1360 matchPos = startIdx + match.matchLength();
1373 getTZDBTimeZoneNames().find(text, startIdx, ALL_SIMPLE_NAME_TYPES);
1378 if (startIdx + match.matchLength() > matchPos) {
1380 matchPos = startIdx + match.matchLength();
1394 GenericMatchInfo genericMatch = getTimeZoneGenericNames().findBestMatch(text, startIdx, ALL_GENERIC_NAME_TYPES);
1395 if (genericMatch != null && parsedPos < startIdx + genericMatch.matchLength()) {
1396 parsedPos = startIdx + genericMatch.matchLength();
1405 tmpPos.setIndex(startIdx);
1418 tmpPos.setIndex(startIdx);
1431 if (parsedPos > startIdx) {
1445 pos.setErrorIndex(startIdx);
3006 int startIdx = pos.getIndex();
3011 Collection<MatchInfo> exemplarMatches = _tznames.find(text, startIdx, nameTypes);
3015 if (startIdx + match.matchLength() > parsedPos) {
3017 parsedPos = startIdx + match.matchLength();
3026 pos.setErrorIndex(startIdx);