Searched refs:getErrorIndex (Results 1 – 14 of 14) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ParsePositionTest.java | 32 assertEquals("Initialization failed.", -1, pp1.getErrorIndex()); in test_ConstructorI() 55 assertEquals("getErrorIndex failed.", 56, pp.getErrorIndex()); in test_getErrorIndex() 72 + pp.getErrorIndex())); in test_hashCode() 81 assertEquals("setErrorIndex failed.", 4564, pp.getErrorIndex()); in test_setErrorIndexI()
|
D | MessageFormatTest.java | 176 assertTrue("ParseErrorIndex is incorrect", pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldParsePositionTest.java | 39 assertEquals("getErrorIndex failed.", 56, pp.getErrorIndex()); in test_getErrorIndex() 42 pp.getErrorIndex()); in test_getErrorIndex() 44 pp.getErrorIndex()); in test_getErrorIndex()
|
D | OldDateFormatTest.java | 402 pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
|
D | OldNumberFormatTest.java | 162 assertEquals(outIndex, position.getErrorIndex()); in parseObjectTest()
|
/libcore/luni/src/main/java/java/util/ |
D | IllformedLocaleException.java | 54 public int getErrorIndex() { in getErrorIndex() method in IllformedLocaleException
|
/libcore/luni/src/main/java/java/text/ |
D | ParsePosition.java | 66 public int getErrorIndex() { in getErrorIndex() method in ParsePosition
|
D | Format.java | 152 throw new ParseException("Parse failure", position.getErrorIndex()); in parseObject()
|
D | SimpleDateFormat.java | 867 return -position.getErrorIndex() - 1; in parse() 892 return -position.getErrorIndex() - 1; in parse() 933 return -position.getErrorIndex() - 1; in parse() 964 return -parsePosition.getErrorIndex() - 1; in parseFractionalSeconds() 1135 return -position.getErrorIndex() - 1; in parseNumber() 1186 return -position.getErrorIndex() - 1; in parseTimeZone() 1195 return -position.getErrorIndex() - 1; in parseTimeZone()
|
D | ChoiceFormat.java | 149 if (position.getErrorIndex() != -1 || index >= length) { in applyPattern()
|
D | DateFormat.java | 580 position.getErrorIndex()); in parse()
|
D | NumberFormat.java | 557 throw new ParseException("Unparseable number: \"" + string + "\"", pos.getErrorIndex()); in parse()
|
D | MessageFormat.java | 827 throw new ParseException("Parse failure", position.getErrorIndex()); in parse() 883 if (internalPos.getErrorIndex() != -1) { in parse()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeDecimalFormat.cpp | 326 if (pp.getErrorIndex() == -1) { in NativeDecimalFormat_parse() 329 env->CallVoidMethod(position, gPP_setErrorIndex, pp.getErrorIndex()); in NativeDecimalFormat_parse()
|