/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessageRegressionTest.java | 170 if (pos.getErrorIndex() != -1) { in Test4052223() 176 logln("unparsable string , should fail at " + pos.getErrorIndex()); in Test4052223() 177 if (pos.getErrorIndex() == -1) in Test4052223() 180 if (pos.getErrorIndex() != 4) in Test4052223() 181 errln("setErrorIndex failed, got " + pos.getErrorIndex() + " instead of 4"); in Test4052223() 190 if (pos.getErrorIndex() != -1 && obj.doubleValue() == -1.0) in Test4052223() 191 errln("Parse with \"are negative\" failed, at " + pos.getErrorIndex()); in Test4052223() 194 if (pos.getErrorIndex() != -1 && obj.doubleValue() == 0.0) in Test4052223() 195 errln("Parse with \"are no or fraction\" failed, at " + pos.getErrorIndex()); in Test4052223() 198 if (pos.getErrorIndex() == -1 && !Double.isNaN(obj.doubleValue())) in Test4052223() [all …]
|
D | DateFormatRegressionTest.java | 884 logln("Parse pos = " + pos.getIndex() + ", error pos = " + pos.getErrorIndex()); in Test4210209() 885 if (pos.getErrorIndex() != -1) { in Test4210209() 1297 if(p.getErrorIndex() != -1) in TestT10239() 1302 if(p.getErrorIndex() != -1) { in TestT10239() 1303 … + " against pattern " + item.pattern + " -- idx["+p.getIndex()+"] errIdx["+p.getErrorIndex()+"]"); in TestT10239() 1364 int errorIdx = pp.getErrorIndex(); in TestT10334() 1433 if(p.getErrorIndex() != -1) in TestT10619() 1438 if(p.getErrorIndex() != -1) { in TestT10619() 1439 … error for string " +item.parseString + " -- idx["+p.getIndex()+"] errIdx["+p.getErrorIndex()+"]"); in TestT10619() 1461 int errorIdx = pp.getErrorIndex(); in TestT10906()
|
D | NumberFormatRegressionTest.java | 381 if (pos.getErrorIndex() >= 0) { in TestT9293() 382 errln("FAIL: Parsing " + txt + " - error index: " + pos.getErrorIndex()); in TestT9293()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessageRegressionTest.java | 169 if (pos.getErrorIndex() != -1) { in Test4052223() 175 logln("unparsable string , should fail at " + pos.getErrorIndex()); in Test4052223() 176 if (pos.getErrorIndex() == -1) in Test4052223() 179 if (pos.getErrorIndex() != 4) in Test4052223() 180 errln("setErrorIndex failed, got " + pos.getErrorIndex() + " instead of 4"); in Test4052223() 189 if (pos.getErrorIndex() != -1 && obj.doubleValue() == -1.0) in Test4052223() 190 errln("Parse with \"are negative\" failed, at " + pos.getErrorIndex()); in Test4052223() 193 if (pos.getErrorIndex() != -1 && obj.doubleValue() == 0.0) in Test4052223() 194 errln("Parse with \"are no or fraction\" failed, at " + pos.getErrorIndex()); in Test4052223() 197 if (pos.getErrorIndex() == -1 && !Double.isNaN(obj.doubleValue())) in Test4052223() [all …]
|
D | DateFormatRegressionTest.java | 883 logln("Parse pos = " + pos.getIndex() + ", error pos = " + pos.getErrorIndex()); in Test4210209() 884 if (pos.getErrorIndex() != -1) { in Test4210209() 1296 if(p.getErrorIndex() != -1) in TestT10239() 1301 if(p.getErrorIndex() != -1) { in TestT10239() 1302 … + " against pattern " + item.pattern + " -- idx["+p.getIndex()+"] errIdx["+p.getErrorIndex()+"]"); in TestT10239() 1363 int errorIdx = pp.getErrorIndex(); in TestT10334() 1432 if(p.getErrorIndex() != -1) in TestT10619() 1437 if(p.getErrorIndex() != -1) { in TestT10619() 1438 … error for string " +item.parseString + " -- idx["+p.getIndex()+"] errIdx["+p.getErrorIndex()+"]"); in TestT10619() 1460 int errorIdx = pp.getErrorIndex(); in TestT10906()
|
D | NumberFormatRegressionTest.java | 380 if (pos.getErrorIndex() >= 0) { in TestT9293() 381 errln("FAIL: Parsing " + txt + " - error index: " + pos.getErrorIndex()); in TestT9293()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | ExceptionHandler.java | 113 if (ifeA.getErrorIndex() != ifeB.getErrorIndex()) { in hasSameBehavior() 133 if (ifeA.getErrorIndex() != ifeB.getErrorIndex()) { in hasSameBehavior()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | ExceptionHandler.java | 114 if (ifeA.getErrorIndex() != ifeB.getErrorIndex()) { in hasSameBehavior() 134 if (ifeA.getErrorIndex() != ifeB.getErrorIndex()) { in hasSameBehavior()
|
/external/icu/icu4c/source/test/intltest/ |
D | msfmrgts.cpp | 285 if (pos.getErrorIndex() != -1) { in Test4052223() 297 logln(UnicodeString("unparsable string , should fail at ") + pos.getErrorIndex()); in Test4052223() 298 if (pos.getErrorIndex() == -1) in Test4052223() 301 if (pos.getErrorIndex() != 4) in Test4052223() 302 errln(UnicodeString("setErrorIndex failed, got ") + pos.getErrorIndex() + " instead of 4"); in Test4052223() 311 if (pos.getErrorIndex() != -1 && obj.getDouble() == -1.0) in Test4052223() 312 errln(UnicodeString("Parse with \"are negative\" failed, at ") + pos.getErrorIndex()); in Test4052223() 316 if (pos.getErrorIndex() != -1 && obj.getDouble() == 0.0) in Test4052223() 317 errln(UnicodeString("Parse with \"are no or fraction\" failed, at ") + pos.getErrorIndex()); in Test4052223() 321 if (pos.getErrorIndex() == -1 && ! uprv_isNaN(obj.getDouble())) in Test4052223() [all …]
|
D | dtfmrgts.cpp | 1220 ", error pos = " + pos.getErrorIndex()); in Test4210209() 1221 if (pos.getErrorIndex() != -1) { in Test4210209() 1583 if (pp.getErrorIndex() != -1) { in TestT10334() 1646 if(pos.getErrorIndex() > -1) { in TestT10619() 1648 …rln("error: unexpected error - " + itemPtr->parseString + " - error index " + pos.getErrorIndex() + in TestT10619() 1701 if (position.getErrorIndex() != -1 || position.getIndex() == items[x].initialParsePos) { in TestT10855() 1702 …logln("Parse Failed. ErrorIndex is %d - Index is %d", position.getErrorIndex(), position.getIndex(… in TestT10855() 1704 …hould have failed. Index is %d - ErrorIndex is %d", position.getIndex(), position.getErrorIndex()); in TestT10855() 1721 errorIdx = pp.getErrorIndex(); in TestT10906()
|
/external/icu/icu4c/source/common/unicode/ |
D | parsepos.h | 152 int32_t getErrorIndex(void) const; 220 ParsePosition::getErrorIndex() const in getErrorIndex() function
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 1037 if (tmpPos.getErrorIndex() == -1) { in parse() 1067 if (tmpPos.getErrorIndex() == -1) { in parse() 1082 if (tmpPos.getErrorIndex() == -1) { in parse() 1102 if (tmpPos.getErrorIndex() == -1) { in parse() 1121 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset.value) { in parse() 1212 if (tmpPos.getErrorIndex() == -1) { in parse() 1224 if (tmpPos.getErrorIndex() == -1) { in parse() 1236 if (tmpPos.getErrorIndex() == -1) { in parse() 1273 if (tmpPos.getErrorIndex() == -1) { in parse() 1300 if (tmpPos.getErrorIndex() == -1) { in parse() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 1098 if (tmpPos.getErrorIndex() == -1) { in parse() 1128 if (tmpPos.getErrorIndex() == -1) { in parse() 1143 if (tmpPos.getErrorIndex() == -1) { in parse() 1163 if (tmpPos.getErrorIndex() == -1) { in parse() 1182 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset.value) { in parse() 1273 if (tmpPos.getErrorIndex() == -1) { in parse() 1285 if (tmpPos.getErrorIndex() == -1) { in parse() 1297 if (tmpPos.getErrorIndex() == -1) { in parse() 1334 if (tmpPos.getErrorIndex() == -1) { in parse() 1361 if (tmpPos.getErrorIndex() == -1) { in parse() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 936 parsePosition.setErrorIndex(pp.getErrorIndex()); in doParse() 1032 int32_t temp = pp2.getErrorIndex() + sub1Pos + pp.getIndex(); in doParse() 1033 if (temp> parsePosition.getErrorIndex()) { in doParse() 1041 int32_t temp = sub1Pos + pp.getErrorIndex(); in doParse() 1042 if (temp > parsePosition.getErrorIndex()) { in doParse() 1202 if (tempPP.getErrorIndex() > 0) { in matchToDelimiter() 1203 pp.setErrorIndex(tempPP.getErrorIndex()); in matchToDelimiter() 1252 pp.setErrorIndex(tempPP.getErrorIndex()); in matchToDelimiter()
|
D | tzfmt.cpp | 837 if (tmpPos.getErrorIndex() == -1) { in parse() 869 if (tmpPos.getErrorIndex() == -1) { in parse() 886 if (tmpPos.getErrorIndex() == -1) { in parse() 907 if (tmpPos.getErrorIndex() == -1) { in parse() 927 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset) { in parse() 1058 if (tmpPos.getErrorIndex() == -1) { in parse() 1070 if (tmpPos.getErrorIndex() == -1) { in parse() 1082 if (tmpPos.getErrorIndex() == -1) { in parse() 1121 if (tmpPos.getErrorIndex() == -1) { in parse() 1147 if (tmpPos.getErrorIndex() == -1) { in parse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LocaleSyntaxException.java | 30 public int getErrorIndex() { in getErrorIndex() method in LocaleSyntaxException
|
D | ParseStatus.java | 30 public int getErrorIndex() { in getErrorIndex() method in ParseStatus
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleSyntaxException.java | 26 public int getErrorIndex() { in getErrorIndex() method in LocaleSyntaxException
|
D | ParseStatus.java | 26 public int getErrorIndex() { in getErrorIndex() method in ParseStatus
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | LocaleSyntaxException.java | 26 public int getErrorIndex() { in getErrorIndex() method in LocaleSyntaxException
|
D | ParseStatus.java | 26 public int getErrorIndex() { in getErrorIndex() method in ParseStatus
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | IllformedLocaleException.java | 64 public int getErrorIndex() { in getErrorIndex() method in IllformedLocaleException
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | IllformedLocaleException.java | 72 public int getErrorIndex() { in getErrorIndex() method in IllformedLocaleException
|
D | ULocale.java | 2815 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setLocale() 2844 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag() 2871 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setLanguage() 2894 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setScript() 2921 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setRegion() 2949 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setVariant() 2983 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setExtension() 3015 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setUnicodeLocaleKeyword() 3038 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in addUnicodeLocaleAttribute() 3063 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in removeUnicodeLocaleAttribute()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | IllformedLocaleException.java | 67 public int getErrorIndex() { in getErrorIndex() method in IllformedLocaleException
|