Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNumberParser.java308 …public void test_parseSignsStrict(String input, int min, int max, SignStyle style, int parseLen, I… in test_parseSignsStrict()
312 assertEquals(pos.getErrorIndex(), parseLen); in test_parseSignsStrict() local
314 assertEquals(pos.getIndex(), parseLen); in test_parseSignsStrict() local
417 …st_parseSignsLenient(String input, int min, int max, SignStyle style, int parseLen, Integer parseV… in test_parseSignsLenient()
422 assertEquals(pos.getErrorIndex(), parseLen); in test_parseSignsLenient() local
424 assertEquals(pos.getIndex(), parseLen); in test_parseSignsLenient() local
508 …t_parseDigitsLenient(String input, int min, int max, SignStyle style, int parseLen, Integer parseV… in test_parseDigitsLenient()
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()
[all …]
DTestReducedParser.java186 …TemporalField field, int width, int baseValue, String input, int pos, int parseLen, Integer parseV… in test_parseAllStrict()
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 …TemporalField field, int width, int baseValue, String input, int pos, int parseLen, Integer parseV… in test_parseAllLenient()
205 assertEquals(ppos.getErrorIndex(), parseLen, "error case parse position"); in test_parseAllLenient() local
208 assertEquals(ppos.getIndex(), parseLen, "parse position"); in test_parseAllLenient() local
367 …_parseAdjacent(String pattern, String input, boolean strict, int pos, int parseLen, int year, int … in test_parseAdjacent()
377 assertEquals(ppos.getErrorIndex(), parseLen, "error case parse position"); in test_parseAdjacent() local
379 assertEquals(ppos.getIndex(), parseLen, "parse position"); in test_parseAdjacent() local
498 private static Pair strict(int parseLen, Integer parseVal) { in strict()
[all …]
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java2683 int parseLen = pos - position; in parse() local
2705 int parseLen = pos - position; in parse() local
2849 int parseLen = successPos - errorPos; in setValue() local