Home
last modified time | relevance | path

Searched refs:parseLen (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java186 …mporalField field, int width, int baseValue, String input, int pos, int parseLen, Integer parseVal… in test_parseAllStrict() argument
191 assertEquals(ppos.getErrorIndex(), parseLen, "error case parse position"); in test_parseAllStrict() local
194 assertEquals(ppos.getIndex(), parseLen, "parse position"); in test_parseAllStrict() local
200 …mporalField field, int width, int baseValue, String input, int pos, int parseLen, Integer parseVal… in test_parseAllLenient() argument
205 assertEquals(ppos.getErrorIndex(), parseLen, "error case parse position"); in test_parseAllLenient() local
208 assertEquals(ppos.getIndex(), parseLen, "parse position"); in test_parseAllLenient() local
278 assertEquals(ppos.getErrorIndex(), strict.parseLen, "error case parse position"); in test_parseStrict()
281 assertEquals(ppos.getIndex(), strict.parseLen, "parse position"); in test_parseStrict()
293 assertEquals(ppos.getErrorIndex(), strict.parseLen, "error case parse position"); in test_parseStrict_baseDate()
296 assertEquals(ppos.getIndex(), strict.parseLen, "parse position"); in test_parseStrict_baseDate()
[all …]
DTestNumberParser.java308 …public void test_parseSignsStrict(String input, int min, int max, SignStyle style, int parseLen, I… in test_parseSignsStrict() argument
312 assertEquals(pos.getErrorIndex(), parseLen); in test_parseSignsStrict() local
314 assertEquals(pos.getIndex(), parseLen); in test_parseSignsStrict() local
417 …_parseSignsLenient(String input, int min, int max, SignStyle style, int parseLen, Integer parseVal… in test_parseSignsLenient() argument
422 assertEquals(pos.getErrorIndex(), parseLen); in test_parseSignsLenient() local
424 assertEquals(pos.getIndex(), parseLen); in test_parseSignsLenient() local
508 …parseDigitsLenient(String input, int min, int max, SignStyle style, int parseLen, Integer parseVal… in test_parseDigitsLenient() argument
513 assertEquals(pos.getErrorIndex(), parseLen); in test_parseDigitsLenient() local
515 assertEquals(pos.getIndex(), parseLen); in test_parseDigitsLenient() local
542 …public void test_parseDigitsAdjacentLenient(String input, int parseLen, Integer parseMonth, Intege… in test_parseDigitsAdjacentLenient() argument
[all …]
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java2674 int parseLen = pos - position; in parse() local
2675 effMaxWidth = Math.max(effMinWidth, parseLen - subsequentWidth); in parse()
2696 int parseLen = pos - position; in parse() local
2698 if (parseLen <= minWidth) { in parse()
2702 if (parseLen > minWidth) { in parse()
2840 int parseLen = successPos - errorPos; in setValue() local
2841 if (parseLen == minWidth && value >= 0) { in setValue()