Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1028 ParsePosition tmpPos = new ParsePosition(startIdx); in parse() local
1036 … offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, hasDigitOffset); in parse()
1037 if (tmpPos.getErrorIndex() == -1) { in parse()
1042 if (tmpPos.getIndex() == maxPos || hasDigitOffset.value) { in parse()
1043 pos.setIndex(tmpPos.getIndex()); in parse()
1047 parsedPos = tmpPos.getIndex(); in parse()
1063 tmpPos.setIndex(startIdx); in parse()
1064 tmpPos.setErrorIndex(-1); in parse()
1066 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
1067 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]
DDecimalFormat.java2092 ParsePosition tmpPos = new ParsePosition(origPos);
2096 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2100 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2105 if (tmpPos.getIndex() > maxPosIndex) {
2106 maxPosIndex = tmpPos.getIndex();
2111 maxErrorPos = tmpPos.getErrorIndex();
2117 tmpPos = new ParsePosition(origPos);
2119 boolean result = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2125 if (tmpPos.getIndex() > maxPosIndex) {
2126 maxPosIndex = tmpPos.getIndex();
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1089 ParsePosition tmpPos = new ParsePosition(startIdx); in parse() local
1097 … offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, hasDigitOffset); in parse()
1098 if (tmpPos.getErrorIndex() == -1) { in parse()
1103 if (tmpPos.getIndex() == maxPos || hasDigitOffset.value) { in parse()
1104 pos.setIndex(tmpPos.getIndex()); in parse()
1108 parsedPos = tmpPos.getIndex(); in parse()
1124 tmpPos.setIndex(startIdx); in parse()
1125 tmpPos.setErrorIndex(-1); in parse()
1127 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
1128 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]
DDecimalFormat.java2106 ParsePosition tmpPos = new ParsePosition(origPos);
2110 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2114 found = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2119 if (tmpPos.getIndex() > maxPosIndex) {
2120 maxPosIndex = tmpPos.getIndex();
2125 maxErrorPos = tmpPos.getErrorIndex();
2131 tmpPos = new ParsePosition(origPos);
2133 boolean result = subparse(text, tmpPos, tmpDigitList, tmpStatus, currency,
2139 if (tmpPos.getIndex() > maxPosIndex) {
2140 maxPosIndex = tmpPos.getIndex();
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp828 ParsePosition tmpPos(startIdx); in parse() local
836 offset = parseOffsetLocalizedGMT(text, tmpPos, fallbackShortLocalizedGMT, &hasDigitOffset); in parse()
837 if (tmpPos.getErrorIndex() == -1) { in parse()
842 if (tmpPos.getIndex() == maxPos || hasDigitOffset) { in parse()
843 pos.setIndex(tmpPos.getIndex()); in parse()
847 parsedPos = tmpPos.getIndex(); in parse()
865 tmpPos.setIndex(startIdx); in parse()
866 tmpPos.setErrorIndex(-1); in parse()
868 offset = parseOffsetLocalizedGMT(text, tmpPos); in parse()
869 if (tmpPos.getErrorIndex() == -1) { in parse()
[all …]
Ddecimfmt.cpp1076 ParsePosition tmpPos(origPos); in parseForCurrency() local
1084 tmpPos, tmpDigitList, tmpStatus, currency); in parseForCurrency()
1090 tmpPos, tmpDigitList, tmpStatus, currency); in parseForCurrency()
1093 if (tmpPos.getIndex() > maxPosIndex) { in parseForCurrency()
1094 maxPosIndex = tmpPos.getIndex(); in parseForCurrency()
1101 maxErrorPos = tmpPos.getErrorIndex(); in parseForCurrency()
1111 ParsePosition tmpPos(origPos); in parseForCurrency() local
1125 tmpPos, tmpDigitList, tmpStatus, currency); in parseForCurrency()
1128 if (tmpPos.getIndex() > maxPosIndex) { in parseForCurrency()
1129 maxPosIndex = tmpPos.getIndex(); in parseForCurrency()
[all …]