| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | timeconv.c | 80 long days, rem, y; in time64_to_tm() local 84 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm() 89 --days; in time64_to_tm() 93 ++days; in time64_to_tm() 102 result->tm_wday = (4 + days) % 7; in time64_to_tm() 108 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in time64_to_tm() 110 long yg = y + math_div(days, 365); in time64_to_tm() 113 days -= (yg - y) * 365 + leaps_between(y, yg); in time64_to_tm() 119 result->tm_yday = days; in time64_to_tm() 122 for (y = 11; days < ip[y]; y--) in time64_to_tm() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-davinci.c | 230 static void convertfromdays(u16 days, struct rtc_time *tm) in convertfromdays() argument 236 if (days >= tmp_days) in convertfromdays() 237 days -= tmp_days; in convertfromdays() 241 if (days >= tmp_days) { in convertfromdays() 242 days -= tmp_days; in convertfromdays() 246 tm->tm_mday = days + 1; in convertfromdays() 255 static void convert2days(u16 *days, struct rtc_time *tm) in convert2days() argument 258 *days = 0; in convert2days() 261 *days += rtc_year_days(1, 12, i); in convert2days() 263 *days += rtc_year_days(tm->tm_mday, tm->tm_mon, 1900 + tm->tm_year); in convert2days() [all …]
|
| H A D | lib.c | 52 int days; in rtc_time64_to_tm() local 55 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm() 58 tm->tm_wday = (days + 4) % 7; in rtc_time64_to_tm() 60 year = 1970 + days / 365; in rtc_time64_to_tm() 61 days -= (year - 1970) * 365 in rtc_time64_to_tm() 64 while (days < 0) { in rtc_time64_to_tm() 66 days += 365 + is_leap_year(year); in rtc_time64_to_tm() 69 tm->tm_yday = days + 1; in rtc_time64_to_tm() 74 newdays = days - rtc_month_days(month, year); in rtc_time64_to_tm() 77 days = newdays; in rtc_time64_to_tm() [all …]
|
| H A D | rtc-pcap.c | 46 u32 days; /* days since 1/1/1970 */ in pcap_rtc_read_alarm() local 51 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); in pcap_rtc_read_alarm() 52 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_alarm() 63 u32 tod, days; in pcap_rtc_set_alarm() local 68 days = secs / SEC_PER_DAY; in pcap_rtc_set_alarm() 69 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); in pcap_rtc_set_alarm() 78 u32 tod, days; in pcap_rtc_read_time() local 83 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); in pcap_rtc_read_time() 84 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_time() 95 u32 tod, days; in pcap_rtc_set_time() local [all …]
|
| H A D | rtc-mc13xxx.c | 92 unsigned int seconds, days; in mc13xxx_rtc_set_time() local 96 days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_time() 123 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAY, days); in mc13xxx_rtc_set_time() 158 unsigned int seconds, days; in mc13xxx_rtc_read_alarm() local 173 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days); in mc13xxx_rtc_read_alarm() 189 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm() 201 u32 seconds, days; in mc13xxx_rtc_set_alarm() local 225 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm() 227 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAYA, days); in mc13xxx_rtc_set_alarm()
|
| H A D | rtc-ftrtc010.c | 68 u32 days, hour, min, sec, offset; in ftrtc010_rtc_read_time() local 74 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_read_time() 77 time = offset + days * 86400 + hour * 3600 + min * 60 + sec; in ftrtc010_rtc_read_time() 112 u32 days, hour, min, sec; in ftrtc010_rtc_probe() local 168 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_probe() 170 rtc->rtc_dev->range_min = (u64)days * 86400 + hour * 3600 + in ftrtc010_rtc_probe()
|
| H A D | rtc-mt6397.c | 91 int days, sec, ret; in mtk_rtc_read_time() local 112 days = div_s64(time, 86400); in mtk_rtc_read_time() 113 tm->tm_wday = (days + 4) % 7; in mtk_rtc_read_time()
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | time.h | 84 long days, rem; member 89 days = ((long) *tim_p) / SECSPERDAY; 94 --days; 104 if ((res->tm_wday = ((EPOCH_WDAY + days) % DAYSPERWEEK)) < 0) 109 if (days >= 0) 114 if (days < year_lengths[yleap]) 117 days -= year_lengths[yleap]; 126 days += year_lengths[yleap]; 127 } while (days < 0); 131 res->tm_yday = days; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | mcfrtc.c | 33 rtc_days = rtc->days; in rtc_get() 62 int days, i, months; in rtc_set() local 75 for (i = STARTOFTIME, days = 0; i < tmp->tm_year; i++) { in rtc_set() 76 days += 365 + isleap(i); in rtc_set() 82 days += month_days[i]; in rtc_set() 85 days += isleap(i); in rtc_set() 88 days += tmp->tm_mday - 1; in rtc_set() 90 rtc->days = days; in rtc_set()
|
| H A D | date.c | 128 int days, hours; in rtc_mktime() local 136 days = (unsigned long)(year / 4 - year / 100 + year / 400 + in rtc_mktime() 139 hours = days * 24 + tm->tm_hour; in rtc_mktime()
|
| /OK3568_Linux_fs/kernel/arch/m68k/mac/ |
| H A D | misc.c | 558 int days, rem, y, wday, yday; in unmktime() local 561 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime() 565 --days; in unmktime() 569 ++days; in unmktime() 576 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime() 585 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime() 588 long int yg = y + days / 365 - (days % 365 < 0); in unmktime() 591 days -= (yg - y) * 365 + in unmktime() 596 yday = days; /* day in the year. Not currently used. */ in unmktime() 598 for (y = 11; days < (long int) ip[y]; --y) in unmktime() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/cert/ |
| H A D | README.txt | 7 openssl req -new -x509 -key ca.key -out ca.crt -days 10000 -batch 13 …-req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.crt -days 10000 20 openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000
|
| /OK3568_Linux_fs/yocto/poky/meta/files/common-licenses/ |
| H A D | Parity-7.0.0 | 27 1. You don't use it for more than thirty days. 45 3. Take these steps within thirty days. 51 …days of learning you broke the rule. You're excused for unknowingly breaking [Notices](#notices) …
|
| /OK3568_Linux_fs/kernel/drivers/net/wan/ |
| H A D | hdlc_cisco.c | 228 u32 sec, min, hrs, days; in cisco_rx() local 232 days = hrs / 24; hrs -= days * 24; in cisco_rx() 234 days, hrs, min, sec); in cisco_rx()
|
| /OK3568_Linux_fs/kernel/fs/affs/ |
| H A D | amigaffs.h | 39 __be32 days; member 45 __be16 days; member
|
| H A D | amigaffs.c | 374 u32 days; in affs_secs_to_datestamp() local 381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp() 385 ds->days = cpu_to_be32(days); in affs_secs_to_datestamp()
|
| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | hp_sdc_rtc.c | 186 unsigned int days; in hp_sdc_rtc_read_rt() local 192 days = (unsigned int)(raw >> 24) & 0xffff; in hp_sdc_rtc_read_rt() 195 res->tv_sec = (tenms / 100) + (time64_t)days * 86400; in hp_sdc_rtc_read_rt()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/static/js/ |
| H A D | jquery.cookie.js | 64 var days = options.expires, t = options.expires = new Date(); 65 t.setDate(t.getDate() + days);
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | netmisc.c | 975 time64_t sec, days; in cnvrtDosUnixTm() local 1000 days = day + total_days_of_prev_months[month]; in cnvrtDosUnixTm() 1001 days += 3652; /* account for difference in days between 1980 and 1970 */ in cnvrtDosUnixTm() 1003 days += year * 365; in cnvrtDosUnixTm() 1004 days += (year/4); /* leap year */ in cnvrtDosUnixTm() 1012 days = days - 1; /* do not count leap year for the year 2100 */ in cnvrtDosUnixTm() 1016 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm() 1017 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/ |
| H A D | chrono | 283 using sys_days = sys_time<days>; // C++20 321 using local_days = local_time<days>; 341 constexpr day operator+(const day& x, const days& y) noexcept; 342 constexpr day operator+(const days& x, const day& y) noexcept; 343 constexpr day operator-(const day& x, const days& y) noexcept; 344 constexpr days operator-(const day& x, const day& y) noexcept; 377 constexpr weekday operator+(const weekday& x, const days& y) noexcept; 378 constexpr weekday operator+(const days& x, const weekday& y) noexcept; 379 constexpr weekday operator-(const weekday& x, const days& y) noexcept; 380 constexpr days operator-(const weekday& x, const weekday& y) noexcept; [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/ |
| H A D | chrono | 283 using sys_days = sys_time<days>; // C++20 321 using local_days = local_time<days>; 341 constexpr day operator+(const day& x, const days& y) noexcept; 342 constexpr day operator+(const days& x, const day& y) noexcept; 343 constexpr day operator-(const day& x, const days& y) noexcept; 344 constexpr days operator-(const day& x, const day& y) noexcept; 377 constexpr weekday operator+(const weekday& x, const days& y) noexcept; 378 constexpr weekday operator+(const days& x, const weekday& y) noexcept; 379 constexpr weekday operator-(const weekday& x, const days& y) noexcept; 380 constexpr days operator-(const weekday& x, const weekday& y) noexcept; [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/unattended-upgrades/files/ |
| H A D | 0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch | 62 - - datetime.timedelta(days=1)))) 66 - - datetime.timedelta(days=1)))
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | security-bugs.rst | 47 the reporter or an affected party for up to 7 calendar days from the start 48 of the release process, with an exceptional extension to 14 calendar days 74 will generally request at least a few days of embargo, and vendor update
|
| /OK3568_Linux_fs/buildroot/package/python-beautifulsoup4/ |
| H A D | Config.in | 10 hours or days of work.
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/ |
| H A D | ve_ZA | 22 % - Corrected some days of the week 87 % abday - The abbreviations for the week days: 97 % day - The full names of the week days:
|