Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/naive/
Dtime.rs557 let rhssecs = rhs.num_seconds(); in overflowing_add_signed() localVariable
558 let rhsfrac = (rhs - OldDuration::seconds(rhssecs)).num_nanoseconds().unwrap(); in overflowing_add_signed()
559 debug_assert_eq!(OldDuration::seconds(rhssecs) + OldDuration::nanoseconds(rhsfrac), rhs); in overflowing_add_signed()
560 let rhssecsinday = rhssecs % 86_400; in overflowing_add_signed()
561 let mut morerhssecs = rhssecs - rhssecsinday; in overflowing_add_signed()
562 let rhssecs = rhssecsinday as i32; in overflowing_add_signed() localVariable
564 debug_assert!(-86_400 < rhssecs && rhssecs < 86_400); in overflowing_add_signed()
568 let mut secs = secs as i32 + rhssecs; in overflowing_add_signed()