/libcore/luni/src/test/java/libcore/java/text/ |
OldParsePositionTest.java | 37 // Test for method int java.text.ParsePosition.getErrorIndex() 39 assertEquals("getErrorIndex failed.", 56, pp.getErrorIndex()); 41 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE, 42 pp.getErrorIndex()); 43 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE, 44 pp.getErrorIndex());
|
/libcore/luni/src/main/java/java/util/ |
IllformedLocaleException.java | 54 public int getErrorIndex() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
ParsePositionTest.java | 32 assertEquals("Initialization failed.", -1, pp1.getErrorIndex()); 50 * @tests java.text.ParsePosition#getErrorIndex() 53 // Test for method int java.text.ParsePosition.getErrorIndex() 55 assertEquals("getErrorIndex failed.", 56, pp.getErrorIndex()); 72 + pp.getErrorIndex())); 81 assertEquals("setErrorIndex failed.", 4564, pp.getErrorIndex());
|
/libcore/luni/src/main/java/java/text/ |
ParsePosition.java | 66 public int getErrorIndex() {
|
Format.java | 152 throw new ParseException("Parse failure", position.getErrorIndex());
|
SimpleDateFormat.java | [all...] |
ChoiceFormat.java | 149 if (position.getErrorIndex() != -1 || index >= length) {
|
MessageFormat.java | 827 throw new ParseException("Parse failure", position.getErrorIndex()); [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
parsepos.h | 150 int32_t getErrorIndex(void) const; 218 ParsePosition::getErrorIndex() const
|
/external/icu/icu4c/source/common/unicode/ |
parsepos.h | 150 int32_t getErrorIndex(void) const; 218 ParsePosition::getErrorIndex() const
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
msfmrgts.cpp | 282 if (pos.getErrorIndex() != -1) { 283 errln("ParsePosition.getErrorIndex initialization failed."); 294 logln(UnicodeString("unparsable string , should fail at ") + pos.getErrorIndex()); 295 if (pos.getErrorIndex() == -1) 298 if (pos.getErrorIndex() != 4) 299 errln(UnicodeString("setErrorIndex failed, got ") + pos.getErrorIndex() + " instead of 4"); 308 if (pos.getErrorIndex() != -1 && obj.getDouble() == -1.0) 309 errln(UnicodeString("Parse with \"are negative\" failed, at ") + pos.getErrorIndex()); 313 if (pos.getErrorIndex() != -1 && obj.getDouble() == 0.0) 314 errln(UnicodeString("Parse with \"are no or fraction\" failed, at ") + pos.getErrorIndex()); [all...] |
/external/icu/icu4c/source/test/intltest/ |
msfmrgts.cpp | 282 if (pos.getErrorIndex() != -1) { 283 errln("ParsePosition.getErrorIndex initialization failed."); 294 logln(UnicodeString("unparsable string , should fail at ") + pos.getErrorIndex()); 295 if (pos.getErrorIndex() == -1) 298 if (pos.getErrorIndex() != 4) 299 errln(UnicodeString("setErrorIndex failed, got ") + pos.getErrorIndex() + " instead of 4"); 308 if (pos.getErrorIndex() != -1 && obj.getDouble() == -1.0) 309 errln(UnicodeString("Parse with \"are negative\" failed, at ") + pos.getErrorIndex()); 313 if (pos.getErrorIndex() != -1 && obj.getDouble() == 0.0) 314 errln(UnicodeString("Parse with \"are no or fraction\" failed, at ") + pos.getErrorIndex()); [all...] |
dtfmrgts.cpp | [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
nfrule.cpp | 795 parsePosition.setErrorIndex(pp.getErrorIndex()); [all...] |
tzfmt.cpp | 828 if (tmpPos.getErrorIndex() == -1) { 857 if (tmpPos.getErrorIndex() == -1) { 874 if (tmpPos.getErrorIndex() == -1) { 895 if (tmpPos.getErrorIndex() == -1) { 915 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset) { [all...] |
udat.cpp | 259 if(pp.getErrorIndex() == -1) 262 *parsePos = pp.getErrorIndex(); 288 if(pp.getErrorIndex() == -1) 291 *parsePos = pp.getErrorIndex(); [all...] |
unum.cpp | 335 if(pp.getErrorIndex() != -1) { 338 *parsePos = pp.getErrorIndex(); 433 if (pp.getErrorIndex() != -1) { 435 *parsePos = pp.getErrorIndex();
|
reldtfmt.cpp | 277 UBool noError = (pos.getErrorIndex() < 0); 278 int32_t offset = (noError)? pos.getIndex(): pos.getErrorIndex();
|
datefmt.cpp | 284 , __FILE__, __LINE__, pos.getErrorIndex() );
|
/external/icu/icu4c/source/i18n/ |
nfrule.cpp | 796 parsePosition.setErrorIndex(pp.getErrorIndex()); [all...] |
tzfmt.cpp | 828 if (tmpPos.getErrorIndex() == -1) { 857 if (tmpPos.getErrorIndex() == -1) { 874 if (tmpPos.getErrorIndex() == -1) { 895 if (tmpPos.getErrorIndex() == -1) { 915 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset) { [all...] |
udat.cpp | 262 if(pp.getErrorIndex() == -1) 265 *parsePos = pp.getErrorIndex(); 291 if(pp.getErrorIndex() == -1) 294 *parsePos = pp.getErrorIndex(); [all...] |
unum.cpp | 339 if(pp.getErrorIndex() != -1) { 342 *parsePos = pp.getErrorIndex(); 437 if (pp.getErrorIndex() != -1) { 439 *parsePos = pp.getErrorIndex();
|
reldtfmt.cpp | 317 UBool noError = (pos.getErrorIndex() < 0); 318 int32_t offset = (noError)? pos.getIndex(): pos.getErrorIndex();
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 326 if (pp.getErrorIndex() == -1) { 329 env->CallVoidMethod(position, gPP_setErrorIndex, pp.getErrorIndex());
|