Lines Matching full:decimal
50 check("0", 0u128, Decimal, "0", None); in parse_decimal()
51 check("1", 1u8, Decimal, "1", None); in parse_decimal()
52 check("8", 8u16, Decimal, "8", None); in parse_decimal()
53 check("9", 9u32, Decimal, "9", None); in parse_decimal()
54 check("10", 10u64, Decimal, "10", None); in parse_decimal()
55 check("11", 11i8, Decimal, "11", None); in parse_decimal()
56 check("123456789", 123456789i128, Decimal, "123456789", None); in parse_decimal()
58 check("05", 5i16, Decimal, "05", None); in parse_decimal()
59 check("00005", 5i32, Decimal, "00005", None); in parse_decimal()
60 check("0123456789", 123456789i64, Decimal, "0123456789", None); in parse_decimal()
62 check("123_456_789", 123_456_789, Decimal, "123_456_789", None); in parse_decimal()
63 check("0___4", 4, Decimal, "0___4", None); in parse_decimal()
64 check("0___4_3", 43, Decimal, "0___4_3", None); in parse_decimal()
65 check("0___4_3", 43, Decimal, "0___4_3", None); in parse_decimal()
66 check("123___________", 123, Decimal, "123___________", None); in parse_decimal()
71 Decimal, in parse_decimal()
78 Decimal, in parse_decimal()
85 Decimal, in parse_decimal()
177 check("256u8", 256u16, Decimal, "256", Some(Ty::U8)); in parse_overflowing_just_fine()
178 check("123_456_789u8", 123_456_789u32, Decimal, "123_456_789", Some(Ty::U8)); in parse_overflowing_just_fine()
179 check("123_456_789u16", 123_456_789u32, Decimal, "123_456_789", Some(Ty::U16)); in parse_overflowing_just_fine()
181 check("123_123_456_789u8", 123_123_456_789u64, Decimal, "123_123_456_789", Some(Ty::U8)); in parse_overflowing_just_fine()
182 check("123_123_456_789u16", 123_123_456_789u64, Decimal, "123_123_456_789", Some(Ty::U16)); in parse_overflowing_just_fine()
183 check("123_123_456_789u32", 123_123_456_789u64, Decimal, "123_123_456_789", Some(Ty::U32)); in parse_overflowing_just_fine()
313 check_suffix("5u7", 5, Decimal, "5", "u7"); in non_standard_suffixes()
314 check_suffix("5u7", 5, Decimal, "5", "u7"); in non_standard_suffixes()
315 check_suffix("5u9", 5, Decimal, "5", "u9"); in non_standard_suffixes()
316 check_suffix("5u0", 5, Decimal, "5", "u0"); in non_standard_suffixes()
317 check_suffix("33u12", 33, Decimal, "33", "u12"); in non_standard_suffixes()
318 check_suffix("84u17", 84, Decimal, "84", "u17"); in non_standard_suffixes()
319 check_suffix("99u80", 99, Decimal, "99", "u80"); in non_standard_suffixes()
320 check_suffix("1234uu16", 1234, Decimal, "1234", "uu16"); in non_standard_suffixes()
322 check_suffix("5i7", 5, Decimal, "5", "i7"); in non_standard_suffixes()
323 check_suffix("5i9", 5, Decimal, "5", "i9"); in non_standard_suffixes()
324 check_suffix("5i0", 5, Decimal, "5", "i0"); in non_standard_suffixes()
325 check_suffix("33i12", 33, Decimal, "33", "i12"); in non_standard_suffixes()
326 check_suffix("84i17", 84, Decimal, "84", "i17"); in non_standard_suffixes()
327 check_suffix("99i80", 99, Decimal, "99", "i80"); in non_standard_suffixes()
328 check_suffix("1234ii16", 1234, Decimal, "1234", "ii16"); in non_standard_suffixes()
330 check_suffix("0ui32", 0, Decimal, "0", "ui32"); in non_standard_suffixes()
331 check_suffix("1iu32", 1, Decimal, "1", "iu32"); in non_standard_suffixes()
332 check_suffix("54321a64", 54321, Decimal, "54321", "a64"); in non_standard_suffixes()
333 check_suffix("54321b64", 54321, Decimal, "54321", "b64"); in non_standard_suffixes()
334 check_suffix("54321x64", 54321, Decimal, "54321", "x64"); in non_standard_suffixes()
335 check_suffix("54321o64", 54321, Decimal, "54321", "o64"); in non_standard_suffixes()
337 check_suffix("0a", 0, Decimal, "0", "a"); in non_standard_suffixes()
338 check_suffix("0a3", 0, Decimal, "0", "a3"); in non_standard_suffixes()
339 check_suffix("0z", 0, Decimal, "0", "z"); in non_standard_suffixes()
340 check_suffix("0z3", 0, Decimal, "0", "z3"); in non_standard_suffixes()
356 check_suffix("123_foo", 123, Decimal, "123_", "foo"); in non_standard_suffixes()