Lines Matching refs:getErrorIndex
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());
318 if (pos.getErrorIndex() == -1 && ! uprv_isNaN(obj.getDouble()))
319 errln(UnicodeString("Parse with \"go postal\" failed, at ") + pos.getErrorIndex());
845 if (pp.getErrorIndex() == -1)
846 errln(UnicodeString("Incorrect error index: ") + pp.getErrorIndex());