Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/format/
Dparse.rs683 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 …]
Dstrftime.rs404 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()
Dmod.rs313 macro_rules! internal_fix { macro