Home
last modified time | relevance | path

Searched refs:remdays (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
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
37 if (remdays < 0) { in __secs_to_tm()
38 remdays += DAYS_PER_400Y; in __secs_to_tm()
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; in __secs_to_tm()
46 q_cycles = remdays / DAYS_PER_4Y; in __secs_to_tm()
48 remdays -= q_cycles * DAYS_PER_4Y; in __secs_to_tm()
50 remyears = remdays / 365; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
[all …]
/third_party/musl/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
37 if (remdays < 0) { in __secs_to_tm()
38 remdays += DAYS_PER_400Y; in __secs_to_tm()
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; in __secs_to_tm()
46 q_cycles = remdays / DAYS_PER_4Y; in __secs_to_tm()
48 remdays -= q_cycles * DAYS_PER_4Y; in __secs_to_tm()
50 remyears = remdays / 365; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
37 if (remdays < 0) { in __secs_to_tm()
38 remdays += DAYS_PER_400Y; in __secs_to_tm()
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; in __secs_to_tm()
46 q_cycles = remdays / DAYS_PER_4Y; in __secs_to_tm()
48 remdays -= q_cycles * DAYS_PER_4Y; in __secs_to_tm()
50 remyears = remdays / 365; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
[all …]
/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c14 int remdays, remsecs, remyears; in __secs_to_tm() local
36 remdays = days % DAYS_PER_400Y; in __secs_to_tm()
37 if (remdays < 0) { in __secs_to_tm()
38 remdays += DAYS_PER_400Y; in __secs_to_tm()
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; in __secs_to_tm()
46 q_cycles = remdays / DAYS_PER_4Y; in __secs_to_tm()
48 remdays -= q_cycles * DAYS_PER_4Y; in __secs_to_tm()
50 remyears = remdays / 365; in __secs_to_tm()
52 remdays -= remyears * 365; in __secs_to_tm()
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/time/
Ddatetime.rs281 let mut remdays: i32 = (days % i64::from(DAYS_PER_400Y)) as i32; in from() localVariable
282 if remdays < 0 { in from()
283 remdays += DAYS_PER_400Y; in from()
287 let mut c_cycles: i32 = remdays / DAYS_PER_100Y; in from()
291 remdays -= c_cycles * DAYS_PER_100Y; in from()
293 let mut q_cycles: i32 = remdays / DAYS_PER_4Y; in from()
297 remdays -= q_cycles * DAYS_PER_4Y; in from()
299 let mut remyears: i32 = remdays / 365; in from()
303 remdays -= remyears * 365; in from()
311 while i32::from(DAYS_IN_MONTH[months as usize]) <= remdays { in from()
[all …]
/third_party/rust/crates/humantime/src/
Ddate.rs273 let mut remdays = days % DAYS_PER_400Y; in fmt() localVariable
275 if remdays < 0 { in fmt()
276 remdays += DAYS_PER_400Y; in fmt()
280 let mut c_cycles = remdays / DAYS_PER_100Y; in fmt()
282 remdays -= c_cycles * DAYS_PER_100Y; in fmt()
284 let mut q_cycles = remdays / DAYS_PER_4Y; in fmt()
286 remdays -= q_cycles * DAYS_PER_4Y; in fmt()
288 let mut remyears = remdays / 365; in fmt()
290 remdays -= remyears * 365; in fmt()
299 if remdays < *mon_len { in fmt()
[all …]