/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | DateNumberFormat.java | 211 public Number parse(String text, ParsePosition parsePosition) { argument 215 int base = parsePosition.getIndex(); 248 parsePosition.setIndex(base + offset);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CompactDecimalFormat.java | 309 public Number parse(String text, ParsePosition parsePosition) { argument
|
H A D | NFRuleSet.java | 737 * @param parsePosition The initial position is ignored and assumed 752 public Number parse(String text, ParsePosition parsePosition, double upperBound) { argument 769 tempResult = fractionRule.doParse(text, parsePosition, false, upperBound); 770 if (parsePosition.getIndex() > highWaterMark.getIndex()) { 772 highWaterMark.setIndex(parsePosition.getIndex()); 775 // if (parsePosition.getErrorIndex() > highWaterMark.getErrorIndex()) { 776 // highWaterMark.setErrorIndex(parsePosition.getErrorIndex()); 778 parsePosition.setIndex(0); 796 tempResult = rules[i].doParse(text, parsePosition, isFractionRuleSet, upperBound); 797 if (parsePosition [all...] |
H A D | NFSubstitution.java | 378 * @param parsePosition On entry, ignored, but assumed to be 0. 396 * no match this is new Long(0) (not null), and parsePosition 399 public Number doParse(String text, ParsePosition parsePosition, double baseValue, argument 418 tempResult = ruleSet.parse(text, parsePosition, upperBound); 419 if (lenientParse && !ruleSet.isFractionSet() && parsePosition.getIndex() == 0) { 420 tempResult = ruleSet.owner.getDecimalFormat().parse(text, parsePosition); 425 tempResult = numberFormat.parse(text, parsePosition); 432 if (parsePosition.getIndex() != 0) { 945 * @param parsePosition Ignored on entry, updated on exit to point to 950 public Number doParse(String text, ParsePosition parsePosition, doubl argument 1251 doParse(String text, ParsePosition parsePosition, double baseValue, double upperBound, boolean lenientParse) argument 1558 doParse(String text, ParsePosition parsePosition, double baseValue, double upperBound, boolean lenientParse) argument [all...] |
H A D | PluralFormat.java | 653 * @param parsePosition defines the position where parsing is to begin, 659 public Number parse(String text, ParsePosition parsePosition) { argument
|
H A D | NFRule.java | 891 * @param parsePosition On entry, the value is ignored and assumed to 906 public Number doParse(String text, ParsePosition parsePosition, boolean isFractionRule, argument 924 // parsePosition.setErrorIndex(pp.getErrorIndex()); 929 parsePosition.setIndex(pp.getIndex()); 934 parsePosition.setIndex(pp.getIndex()); 1012 // if (temp> parsePosition.getErrorIndex()) { 1013 // parsePosition.setErrorIndex(temp); 1020 // if (temp > parsePosition.getErrorIndex()) { 1021 // parsePosition.setErrorIndex(temp); 1035 parsePosition [all...] |
H A D | RuleBasedNumberFormat.java | 1261 * @param parsePosition On entry, contains the position of the first character 1270 public Number parse(String text, ParsePosition parsePosition) { argument 1272 // parsePosition tells us where to start parsing. We copy the 1276 String workingText = text.substring(parsePosition.getIndex()); 1320 parsePosition.setIndex(parsePosition.getIndex() + highWaterMark.getIndex()); 1323 // parsePosition.setErrorIndex(parsePosition.getIndex() + highWaterMark.getErrorIndex());
|
H A D | NumberFormat.java | 272 * @param parsePosition the position at which to start the parse 278 ParsePosition parsePosition) { 279 return parse(source, parsePosition); 399 public abstract Number parse(String text, ParsePosition parsePosition); argument 413 ParsePosition parsePosition = new ParsePosition(0); 414 Number result = parse(text, parsePosition); 415 if (parsePosition.getIndex() == 0) { 417 parsePosition.getErrorIndex()); 277 parseObject(String source, ParsePosition parsePosition) argument
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
H A D | RbnfDemo.java | 91 parsePosition = new ParsePosition(0); 108 parsePosition.setIndex(0); 109 Number temp = numberFormatter.parse(fieldText, parsePosition); 110 if (temp == null || parsePosition.getIndex() == 0) { 137 parsePosition.setIndex(0); 138 theNumber = spelloutFormatter.parse(fieldText, parsePosition) 140 if (parsePosition.getIndex() == 0) { 145 else if (parsePosition.getIndex() < fieldText.length()) { 146 textField.select(parsePosition.getIndex(), fieldText.length()); 161 parsePosition 443 private ParsePosition parsePosition; field in class:RbnfDemo [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
H A D | DecimalFormat.java | 768 * @param parsePosition defines the position where parsing is to begin, and upon 775 public Number parse(String text, ParsePosition parsePosition) { argument 776 return super.parse(text, parsePosition);
|
H A D | NumberFormat.java | 256 * @param parsePosition the position at which to start the parse 262 ParsePosition parsePosition) { 263 return numberFormat.parse(source, parsePosition); 411 public Number parse(String text, ParsePosition parsePosition) { argument 412 return numberFormat.parse(text, parsePosition); 261 parseObject(String source, ParsePosition parsePosition) argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | DateNumberFormat.java | 207 public Number parse(String text, ParsePosition parsePosition) { argument 211 int base = parsePosition.getIndex(); 244 parsePosition.setIndex(base + offset);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CompactDecimalFormat.java | 322 public Number parse(String text, ParsePosition parsePosition) { argument
|
H A D | NFRuleSet.java | 736 * @param parsePosition The initial position is ignored and assumed 751 public Number parse(String text, ParsePosition parsePosition, double upperBound) { argument 768 tempResult = fractionRule.doParse(text, parsePosition, false, upperBound); 769 if (parsePosition.getIndex() > highWaterMark.getIndex()) { 771 highWaterMark.setIndex(parsePosition.getIndex()); 774 // if (parsePosition.getErrorIndex() > highWaterMark.getErrorIndex()) { 775 // highWaterMark.setErrorIndex(parsePosition.getErrorIndex()); 777 parsePosition.setIndex(0); 795 tempResult = rules[i].doParse(text, parsePosition, isFractionRuleSet, upperBound); 796 if (parsePosition [all...] |
H A D | NFSubstitution.java | 377 * @param parsePosition On entry, ignored, but assumed to be 0. 395 * no match this is new Long(0) (not null), and parsePosition 398 public Number doParse(String text, ParsePosition parsePosition, double baseValue, argument 417 tempResult = ruleSet.parse(text, parsePosition, upperBound); 418 if (lenientParse && !ruleSet.isFractionSet() && parsePosition.getIndex() == 0) { 419 tempResult = ruleSet.owner.getDecimalFormat().parse(text, parsePosition); 424 tempResult = numberFormat.parse(text, parsePosition); 431 if (parsePosition.getIndex() != 0) { 944 * @param parsePosition Ignored on entry, updated on exit to point to 949 public Number doParse(String text, ParsePosition parsePosition, doubl argument 1250 doParse(String text, ParsePosition parsePosition, double baseValue, double upperBound, boolean lenientParse) argument 1557 doParse(String text, ParsePosition parsePosition, double baseValue, double upperBound, boolean lenientParse) argument [all...] |
H A D | PluralFormat.java | 670 * @param parsePosition defines the position where parsing is to begin, 677 public Number parse(String text, ParsePosition parsePosition) { argument
|
H A D | NFRule.java | 890 * @param parsePosition On entry, the value is ignored and assumed to 905 public Number doParse(String text, ParsePosition parsePosition, boolean isFractionRule, argument 923 // parsePosition.setErrorIndex(pp.getErrorIndex()); 928 parsePosition.setIndex(pp.getIndex()); 933 parsePosition.setIndex(pp.getIndex()); 1011 // if (temp> parsePosition.getErrorIndex()) { 1012 // parsePosition.setErrorIndex(temp); 1019 // if (temp > parsePosition.getErrorIndex()) { 1020 // parsePosition.setErrorIndex(temp); 1034 parsePosition [all...] |
H A D | RuleBasedNumberFormat.java | 1288 * @param parsePosition On entry, contains the position of the first character 1298 public Number parse(String text, ParsePosition parsePosition) { argument 1300 // parsePosition tells us where to start parsing. We copy the 1304 String workingText = text.substring(parsePosition.getIndex()); 1348 parsePosition.setIndex(parsePosition.getIndex() + highWaterMark.getIndex()); 1351 // parsePosition.setErrorIndex(parsePosition.getIndex() + highWaterMark.getErrorIndex());
|
H A D | NumberFormat.java | 285 * @param parsePosition the position at which to start the parse 292 ParsePosition parsePosition) { 293 return parse(source, parsePosition); 426 public abstract Number parse(String text, ParsePosition parsePosition); argument 441 ParsePosition parsePosition = new ParsePosition(0); 442 Number result = parse(text, parsePosition); 443 if (parsePosition.getIndex() == 0) { 445 parsePosition.getErrorIndex()); 291 parseObject(String source, ParsePosition parsePosition) argument
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
H A D | NumberFormatJDK.java | 200 public Number parse(String text, ParsePosition parsePosition) { argument 201 return fJdkNfmt.parse(text, parsePosition); 204 //public Object parseObject(String source, ParsePosition parsePosition)
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | NumberFormatICU.java | 162 public Number parse(String source, ParsePosition parsePosition) { argument 163 return fIcuNfmt.parse(source, parsePosition);
|
/external/messageformat/java/com/ibm/icu/simple/ |
H A D | PluralFormat.java | 406 * @param parsePosition defines the position where parsing is to begin, 413 public Number parse(String text, ParsePosition parsePosition) { argument
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | NumberRegressionTests.java | 1934 public Number parse(String text, ParsePosition parsePosition) { argument
|
/external/icu/icu4c/source/i18n/ |
H A D | nfsubs.cpp | 158 ParsePosition& parsePosition, 224 ParsePosition& parsePosition, 295 ParsePosition& parsePosition, 654 * @param parsePosition On entry, ignored, but assumed to be 0. 672 * no match this is new Long(0) (not null), and parsePosition 677 ParsePosition& parsePosition, 701 ruleSet->parse(text, parsePosition, upperBound, result); 702 if (lenientParse && !ruleSet->isFractionRuleSet() && parsePosition.getIndex() == 0) { 706 fmt->parse(text, result, parsePosition); 713 numberFormat->parse(text, result, parsePosition); 676 doParse(const UnicodeString& text, ParsePosition& parsePosition, double baseValue, double upperBound, UBool lenientParse, Formattable& result) const argument 920 doParse(const UnicodeString& text, ParsePosition& parsePosition, double baseValue, double upperBound, UBool lenientParse, Formattable& result) const argument 1107 doParse(const UnicodeString& text, ParsePosition& parsePosition, double baseValue, double , UBool lenientParse, Formattable& resVal) const argument 1238 doParse(const UnicodeString& text, ParsePosition& parsePosition, double baseValue, double upperBound, UBool , Formattable& result) const argument [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberRegressionTests.java | 1933 public Number parse(String text, ParsePosition parsePosition) { argument
|