Home | History | Annotate | Download | only in i18n

Lines Matching defs:startIdx

817     int32_t startIdx = pos.getIndex();
828 ParsePosition tmpPos(startIdx);
865 tmpPos.setIndex(startIdx);
882 tmpPos.setIndex(startIdx);
903 tmpPos.setIndex(startIdx);
921 tmpPos.setIndex(startIdx);
946 LocalPointer<TimeZoneNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status));
948 pos.setErrorIndex(startIdx);
955 matchPos = startIdx + specificMatches->getMatchLengthAt(i);
979 tzdbTimeZoneNames->find(text, startIdx, nameTypes, status));
981 pos.setErrorIndex(startIdx);
988 matchPos = startIdx + tzdbNameMatches->getMatchLengthAt(i);
1034 len = gnames->findBestMatch(text, startIdx, genericNameTypes, tzID, tt, status);
1037 pos.setErrorIndex(startIdx);
1045 pos.setIndex(startIdx + len);
1054 tmpPos.setIndex(startIdx);
1066 tmpPos.setIndex(startIdx);
1078 tmpPos.setIndex(startIdx);
1092 if (parsedPos > startIdx) {
1116 tmpPos.setIndex(startIdx);
1134 U_ASSERT(parsedPos == startIdx + 1); // only when "Z" is used
1142 tmpPos.setIndex(startIdx);
1164 tmpPos.setIndex(startIdx);
1196 LocalPointer<TimeZoneNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, ALL_SIMPLE_NAME_TYPES, status));
1198 pos.setErrorIndex(startIdx);
1205 if (startIdx + specificMatches->getMatchLengthAt(i) > matchPos) {
1207 matchPos = startIdx + specificMatches->getMatchLengthAt(i);
1223 tzdbTimeZoneNames->find(text, startIdx, ALL_SIMPLE_NAME_TYPES, status));
1225 pos.setErrorIndex(startIdx);
1232 if (startIdx + tzdbNameMatches->getMatchLengthAt(i) > matchPos) {
1234 matchPos = startIdx + tzdbNameMatches->getMatchLengthAt(i);
1254 genMatchLen = gnames->findBestMatch(text, startIdx, ALL_GENERIC_NAME_TYPES, tzID, tt, status);
1257 pos.setErrorIndex(startIdx);
1261 if (genMatchLen > 0 && parsedPos < startIdx + genMatchLen) {
1262 parsedPos = startIdx + genMatchLen;
1271 tmpPos.setIndex(startIdx);
1284 tmpPos.setIndex(startIdx);
1297 if (parsedPos > startIdx) {
1313 pos.setErrorIndex(startIdx);
2843 int32_t startIdx = pos.getIndex();
2848 LocalPointer<TimeZoneNames::MatchInfoCollection> exemplarMatches(fTimeZoneNames->find(text, startIdx, UTZNM_EXEMPLAR_LOCATION, status));
2850 pos.setErrorIndex(startIdx);
2856 if (startIdx + exemplarMatches->getMatchLengthAt(i) > parsedPos) {
2858 parsedPos = startIdx + exemplarMatches->getMatchLengthAt(i);
2868 pos.setErrorIndex(startIdx);