Home
last modified time | relevance | path

Searched refs:tmpPos (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1029 ParsePosition tmpPos = new ParsePosition(startIdx); in parse() local
1037 … offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, hasDigitOffset); in parse()
1038 if (tmpPos.getErrorIndex() == -1) { in parse()
1043 if (tmpPos.getIndex() == maxPos || hasDigitOffset.value) { in parse()
1044 pos.setIndex(tmpPos.getIndex()); in parse()
1048 parsedPos = tmpPos.getIndex(); in parse()
1064 tmpPos.setIndex(startIdx); in parse()
1065 tmpPos.setErrorIndex(-1); in parse()
1067 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
1068 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]
DDecimalFormat_ICU58_Android.java2107 ParsePosition tmpPos = new ParsePosition(origPos);
2111 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2115 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2120 if (tmpPos.getIndex() > maxPosIndex) {
2121 maxPosIndex = tmpPos.getIndex();
2126 maxErrorPos = tmpPos.getErrorIndex();
2132 tmpPos = new ParsePosition(origPos);
2134 boolean result = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2140 if (tmpPos.getIndex() > maxPosIndex) {
2141 maxPosIndex = tmpPos.getIndex();
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1090 ParsePosition tmpPos = new ParsePosition(startIdx); in parse() local
1098 … offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, hasDigitOffset); in parse()
1099 if (tmpPos.getErrorIndex() == -1) { in parse()
1104 if (tmpPos.getIndex() == maxPos || hasDigitOffset.value) { in parse()
1105 pos.setIndex(tmpPos.getIndex()); in parse()
1109 parsedPos = tmpPos.getIndex(); in parse()
1125 tmpPos.setIndex(startIdx); in parse()
1126 tmpPos.setErrorIndex(-1); in parse()
1128 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
1129 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]
DDecimalFormat_ICU58_Android.java2119 ParsePosition tmpPos = new ParsePosition(origPos);
2123 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2127 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2132 if (tmpPos.getIndex() > maxPosIndex) {
2133 maxPosIndex = tmpPos.getIndex();
2138 maxErrorPos = tmpPos.getErrorIndex();
2144 tmpPos = new ParsePosition(origPos);
2146 boolean result = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2152 if (tmpPos.getIndex() > maxPosIndex) {
2153 maxPosIndex = tmpPos.getIndex();
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp832 ParsePosition tmpPos(startIdx); in parse() local
840 offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, &hasDigitOffset); in parse()
841 if (tmpPos.getErrorIndex() == -1) { in parse()
846 if (tmpPos.getIndex() == maxPos || hasDigitOffset) { in parse()
847 pos.setIndex(tmpPos.getIndex()); in parse()
851 parsedPos = tmpPos.getIndex(); in parse()
869 tmpPos.setIndex(startIdx); in parse()
870 tmpPos.setErrorIndex(-1); in parse()
872 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
873 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]