Home
last modified time | relevance | path

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

/third_party/musl/porting/uniproton/kernel/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
50 remyears = remdays / 365; in __secs_to_tm()
51 if (remyears == 4) remyears--; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
54 leap = !remyears && (q_cycles || !c_cycles); in __secs_to_tm()
58 years = remyears + 4*q_cycles + 100*c_cycles + 400LL*qc_cycles; in __secs_to_tm()
/third_party/musl/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
50 remyears = remdays / 365; in __secs_to_tm()
51 if (remyears == 4) remyears--; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
54 leap = !remyears && (q_cycles || !c_cycles); in __secs_to_tm()
58 years = remyears + 4*q_cycles + 100*c_cycles + 400LL*qc_cycles; in __secs_to_tm()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
50 remyears = remdays / 365; in __secs_to_tm()
51 if (remyears == 4) remyears--; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
54 leap = !remyears && (q_cycles || !c_cycles); in __secs_to_tm()
58 years = remyears + 4*q_cycles + 100*c_cycles + 400LL*qc_cycles; in __secs_to_tm()
/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
50 remyears = remdays / 365; in __secs_to_tm()
51 if (remyears == 4) remyears--; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
54 leap = !remyears && (q_cycles || !c_cycles); in __secs_to_tm()
58 years = remyears + 4*q_cycles + 100*c_cycles + 400LL*qc_cycles; in __secs_to_tm()
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/time/
Ddatetime.rs299 let mut remyears: i32 = remdays / 365; in from() localVariable
300 if remyears == 4 { in from()
301 remyears -= 1; in from()
303 remdays -= remyears * 365; in from()
305 let mut years: i64 = i64::from(remyears) in from()
/third_party/rust/crates/humantime/src/
Ddate.rs288 let mut remyears = remdays / 365; in fmt() localVariable
289 if remyears == 4 { remyears -= 1; } in fmt()
290 remdays -= remyears * 365; in fmt()
293 remyears + 4*q_cycles + 100*c_cycles + 400*qc_cycles; in fmt()