Home
last modified time | relevance | path

Searched refs:workPos (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java1315 ParsePosition workPos = new ParsePosition(1); in doParse() local
1321 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1322 workPos.setIndex(0); in doParse()
1323 … digit = ruleSet.parse(workText, workPos, 10, nonNumericalExecutedRuleMask).intValue(); in doParse()
1324 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1325 Number n = ruleSet.owner.getDecimalFormat().parse(workText, workPos); in doParse()
1331 if (workPos.getIndex() != 0) { in doParse()
1335 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1336 workText = workText.substring(workPos.getIndex()); in doParse()
1636 ParsePosition workPos = new ParsePosition(1); in doParse() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java1316 ParsePosition workPos = new ParsePosition(1); in doParse() local
1322 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1323 workPos.setIndex(0); in doParse()
1324 … digit = ruleSet.parse(workText, workPos, 10, nonNumericalExecutedRuleMask).intValue(); in doParse()
1325 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1326 Number n = ruleSet.owner.getDecimalFormat().parse(workText, workPos); in doParse()
1332 if (workPos.getIndex() != 0) { in doParse()
1336 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1337 workText = workText.substring(workPos.getIndex()); in doParse()
1637 ParsePosition workPos = new ParsePosition(1); in doParse() local
[all …]
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp1142 ParsePosition workPos(1); in doParse() local
1150 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1151 workPos.setIndex(0); in doParse()
1153 getRuleSet()->parse(workText, workPos, 10, nonNumericalExecutedRuleMask, temp); in doParse()
1160 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1170 fmt->parse(workText, temp, workPos); in doParse()
1175 if (workPos.getIndex() != 0) { in doParse()
1180 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1181 workText.removeBetween(0, workPos.getIndex()); in doParse()
1277 ParsePosition workPos(1); in doParse() local
[all …]