Searched refs:internal_fix (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/chrono/src/format/ |
D | parse.rs | 683 check!("", [internal_fix!(Nanosecond3NoDot)]; TOO_SHORT); in test_parse() 684 check!("0", [internal_fix!(Nanosecond3NoDot)]; TOO_SHORT); in test_parse() 685 check!("4", [internal_fix!(Nanosecond3NoDot)]; TOO_SHORT); in test_parse() 686 check!("42", [internal_fix!(Nanosecond3NoDot)]; TOO_SHORT); in test_parse() 687 check!("421", [internal_fix!(Nanosecond3NoDot)]; nanosecond: 421_000_000); in test_parse() 688 …check!("42143", [internal_fix!(Nanosecond3NoDot), num!(Second)]; nanosecond: 421_000_000, s… in test_parse() 689 check!("42195", [internal_fix!(Nanosecond3NoDot)]; TOO_LONG); in test_parse() 690 check!("4x", [internal_fix!(Nanosecond3NoDot)]; TOO_SHORT); in test_parse() 691 check!(" 4", [internal_fix!(Nanosecond3NoDot)]; INVALID); in test_parse() 692 check!(".421", [internal_fix!(Nanosecond3NoDot)]; INVALID); in test_parse() [all …]
|
D | strftime.rs | 404 internal_fix!(TimezoneOffsetPermissive) in next() 431 'f' => internal_fix!(Nanosecond3NoDot), in next() 435 'f' => internal_fix!(Nanosecond6NoDot), in next() 439 'f' => internal_fix!(Nanosecond9NoDot), in next() 536 assert_eq!(parse_and_collect("%#z"), [internal_fix!(TimezoneOffsetPermissive)]); in test_strftime_items()
|
D | mod.rs | 313 macro_rules! internal_fix { macro
|