HomeSort by relevance Sort by last modified time
    Searched refs:getErrorIndex (Results 1 - 25 of 58) sorted by null

1 2 3

  /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());
OldMessageFormatTest.java 420 pp.getErrorIndex() == cur.length / 2);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/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) {
DateFormat.java 556 position.getErrorIndex());
MessageFormat.java 827 throw new ParseException("Parse failure", position.getErrorIndex());
    [all...]
NumberFormat.java 541 throw new ParseException("Unparseable number: \"" + string + "\"", pos.getErrorIndex());
  /external/chromium_org/third_party/icu/source/common/unicode/
parsepos.h 150 int32_t getErrorIndex(void) const;
218 ParsePosition::getErrorIndex() const
  /external/icu4c/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 280 if (pos.getErrorIndex() != -1) {
281 errln("ParsePosition.getErrorIndex initialization failed.");
292 logln(UnicodeString("unparsable string , should fail at ") + pos.getErrorIndex());
293 if (pos.getErrorIndex() == -1)
296 if (pos.getErrorIndex() != 4)
297 errln(UnicodeString("setErrorIndex failed, got ") + pos.getErrorIndex() + " instead of 4");
306 if (pos.getErrorIndex() != -1 && obj.getDouble() == -1.0)
307 errln(UnicodeString("Parse with \"are negative\" failed, at ") + pos.getErrorIndex());
311 if (pos.getErrorIndex() != -1 && obj.getDouble() == 0.0)
312 errln(UnicodeString("Parse with \"are no or fraction\" failed, at ") + pos.getErrorIndex());
    [all...]
  /external/icu4c/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/chromium_org/third_party/icu/source/i18n/
nfrule.cpp 797 parsePosition.setErrorIndex(pp.getErrorIndex());
    [all...]
udat.cpp 216 if(pp.getErrorIndex() == -1)
219 *parsePos = pp.getErrorIndex();
245 if(pp.getErrorIndex() == -1)
248 *parsePos = pp.getErrorIndex();
datefmt.cpp 278 , __FILE__, __LINE__, pos.getErrorIndex() );
reldtfmt.cpp 189 (aPos.getErrorIndex()==-1)) {
  /external/icu4c/i18n/
nfrule.cpp 795 parsePosition.setErrorIndex(pp.getErrorIndex());
    [all...]
tzfmt.cpp 816 if (tmpPos.getErrorIndex() == -1) {
845 if (tmpPos.getErrorIndex() == -1) {
862 if (tmpPos.getErrorIndex() == -1) {
883 if (tmpPos.getErrorIndex() == -1) {
903 if (tmpPos.getErrorIndex() == -1 && hasDigitOffset) {
    [all...]
unum.cpp 335 if(pp.getErrorIndex() != -1) {
338 *parsePos = pp.getErrorIndex();
433 if (pp.getErrorIndex() != -1) {
435 *parsePos = pp.getErrorIndex();
udat.cpp 259 if(pp.getErrorIndex() == -1)
262 *parsePos = pp.getErrorIndex();
288 if(pp.getErrorIndex() == -1)
291 *parsePos = pp.getErrorIndex();
    [all...]
reldtfmt.cpp 277 UBool noError = (pos.getErrorIndex() < 0);
278 int32_t offset = (noError)? pos.getIndex(): pos.getErrorIndex();
datefmt.cpp 283 , __FILE__, __LINE__, pos.getErrorIndex() );
  /libcore/luni/src/main/native/
libcore_icu_NativeDecimalFormat.cpp 307 if (pp.getErrorIndex() == -1) {
310 env->CallVoidMethod(position, gPP_setErrorIndex, pp.getErrorIndex());

Completed in 4014 milliseconds

1 2 3