Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c15 int qc_cycles, c_cycles, q_cycles; in __secs_to_tm() local
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
43 if (c_cycles == 4) c_cycles--; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; 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/uniproton/kernel/src/time/
D__secs_to_tm.c15 int qc_cycles, c_cycles, q_cycles; in __secs_to_tm() local
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
43 if (c_cycles == 4) c_cycles--; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; 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.c15 int qc_cycles, c_cycles, q_cycles; in __secs_to_tm() local
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
43 if (c_cycles == 4) c_cycles--; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; 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.c15 int qc_cycles, c_cycles, q_cycles; in __secs_to_tm() local
42 c_cycles = remdays / DAYS_PER_100Y; in __secs_to_tm()
43 if (c_cycles == 4) c_cycles--; in __secs_to_tm()
44 remdays -= c_cycles * DAYS_PER_100Y; 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/humantime/src/
Ddate.rs280 let mut c_cycles = remdays / DAYS_PER_100Y; in fmt() localVariable
281 if c_cycles == 4 { c_cycles -= 1; } in fmt()
282 remdays -= c_cycles * DAYS_PER_100Y; in fmt()
293 remyears + 4*q_cycles + 100*c_cycles + 400*qc_cycles; in fmt()