Home
last modified time | relevance | path

Searched refs:leaps (Results 1 - 5 of 5) sorted by relevance

/third_party/musl/porting/liteos_a/kernel/src/time/
H A D__year_to_secs.c5 int leaps = (y-68)>>2; in __year_to_secs() local
7 leaps--; in __year_to_secs()
10 return 31536000*(y-70) + 86400*leaps; in __year_to_secs()
13 int cycles, centuries, leaps, rem; in __year_to_secs() local
25 leaps = 0; in __year_to_secs()
36 leaps = 0; in __year_to_secs()
38 leaps = rem / 4U; in __year_to_secs()
44 leaps += 97*cycles + 24*centuries - *is_leap; in __year_to_secs()
46 return (year-100) * 31536000LL + leaps * 86400LL + 946684800 + 86400; in __year_to_secs()
/third_party/musl/porting/liteos_m/kernel/src/time/
H A D__year_to_secs.c5 int leaps = (y-68)>>2; in __year_to_secs() local
7 leaps--; in __year_to_secs()
10 return 31536000*(y-70) + 86400*leaps; in __year_to_secs()
13 int cycles, centuries, leaps, rem; in __year_to_secs() local
25 leaps = 0; in __year_to_secs()
36 leaps = 0; in __year_to_secs()
38 leaps = rem / 4U; in __year_to_secs()
44 leaps += 97*cycles + 24*centuries - *is_leap; in __year_to_secs()
46 return (year-100) * 31536000LL + leaps * 86400LL + 946684800 + 86400; in __year_to_secs()
/third_party/musl/src/time/
H A D__year_to_secs.c5 int leaps = (y-68)>>2; in __year_to_secs() local
7 leaps--; in __year_to_secs()
10 return 31536000*(y-70) + 86400*leaps; in __year_to_secs()
13 int cycles, centuries, leaps, rem, dummy; in __year_to_secs() local
25 leaps = 0; in __year_to_secs()
36 leaps = 0; in __year_to_secs()
38 leaps = rem / 4U; in __year_to_secs()
44 leaps += 97*cycles + 24*centuries - *is_leap; in __year_to_secs()
46 return (year-100) * 31536000LL + leaps * 86400LL + 946684800 + 86400; in __year_to_secs()
/third_party/musl/porting/uniproton/kernel/src/time/
H A D__year_to_secs.c5 int leaps = (y-68)>>2; in __year_to_secs() local
7 leaps--; in __year_to_secs()
10 return 31536000*(y-70) + 86400*leaps; in __year_to_secs()
13 int cycles, centuries, leaps, rem; in __year_to_secs() local
25 leaps = 0; in __year_to_secs()
36 leaps = 0; in __year_to_secs()
38 leaps = rem / 4U; in __year_to_secs()
44 leaps += 97*cycles + 24*centuries - *is_leap; in __year_to_secs()
46 return (year-100) * 31536000LL + leaps * 86400LL + 946684800 + 86400; in __year_to_secs()
/third_party/lzma/CPP/Common/
H A DMyWindows.cpp243 UInt32 leaps, year, day, mon; in FileTimeToSystemTime() local
244 leaps = (3 * ((4 * v + (365 - 31 - 28) * 4 + 3) / PERIOD_400) + 3) / 4; in FileTimeToSystemTime()
245 v += 28188 + leaps; in FileTimeToSystemTime()
246 // leaps - the number of exceptions from PERIOD_4 rules starting from 1600-03-01 in FileTimeToSystemTime()

Completed in 2 milliseconds