Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 154) sorted by relevance

1234567

/openbmc/u-boot/drivers/rtc/
H A Drtc-lib.c41 int days; in rtc_to_tm() local
43 days = div_u64_rem(time, 86400, &secs); in rtc_to_tm()
46 tm->tm_wday = (days + 4) % 7; in rtc_to_tm()
48 year = 1970 + days / 365; in rtc_to_tm()
49 days -= (year - 1970) * 365 in rtc_to_tm()
52 while (days < 0) { in rtc_to_tm()
54 days += 365 + is_leap_year(year); in rtc_to_tm()
57 tm->tm_yday = days + 1; in rtc_to_tm()
62 newdays = days - rtc_month_days(month, year); in rtc_to_tm()
65 days = newdays; in rtc_to_tm()
[all …]
H A Dmcfrtc.c30 rtc_days = rtc->days; in rtc_get()
59 int days, i, months; in rtc_set() local
72 for (i = STARTOFTIME, days = 0; i < tmp->tm_year; i++) { in rtc_set()
73 days += 365 + isleap(i); in rtc_set()
79 days += month_days[i]; in rtc_set()
82 days += isleap(i); in rtc_set()
85 days += tmp->tm_mday - 1; in rtc_set()
87 rtc->days = days; in rtc_set()
H A Ddate.c85 int days, hours; in rtc_mktime() local
93 days = (unsigned long)(year / 4 - year / 100 + year / 400 + in rtc_mktime()
96 hours = days * 24 + tm->tm_hour; in rtc_mktime()
/openbmc/u-boot/include/linux/
H A Dtime.h84 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 …]
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp92 out += std::chrono::days(ticks); in fromDurationString()
173 std::chrono::days days = std::chrono::floor<std::chrono::days>(ms); in toDurationString() local
174 ms -= days; in toDurationString()
185 if (days.count() > 0) in toDurationString()
187 daysStr = std::format("{}D", days.count()); in toDurationString()
264 using days = std::chrono::duration< in toISO8061ExtendedStr() typedef
268 days d = std::chrono::duration_cast<days>(t); in toISO8061ExtendedStr()
285 t = days(1) - std::chrono::duration<IntType, Period>(1); in toISO8061ExtendedStr()
335 std::chrono::days days = std::chrono::floor<std::chrono::days>(dur);
336 std::chrono::sys_days sysDays(days);
[all …]
/openbmc/telemetry/redfish-tests/
H A Dredfish_requests.py117 days = int(time / (24 * 60 * 60))
130 days = r.group(1)
135 if days is not None:
136 result += int(days[:-1]) * 60 * 60 * 24
/openbmc/openbmc/meta-security/meta-integrity/scripts/
H A Dima-gen-CA-signed.sh44 openssl req -new -nodes -utf8 -sha256 -days 36500 -batch -config $GENKEY \
47 openssl x509 -req -in csr_ima.pem -days 36500 -extfile $GENKEY -extensions v3_usr \
H A Dima-gen-local-ca.sh38 openssl req -new -x509 -utf8 -sha256 -days 36500 -batch -config $GENKEY \
/openbmc/phosphor-certificate-manager/
H A Dx509_utils.cpp125 int days = 0; in validateCertificateStartDate() local
133 ASN1_TIME_diff(&days, &secs, epoch.get(), notBefore); in validateCertificateStartDate()
135 if (days < 0 || secs < 0) in validateCertificateStartDate()
H A Dcertificate.cpp536 int days = 0; in populateProperties() local
545 ASN1_TIME_diff(&days, &secs, epoch.get(), notAfter); in populateProperties()
546 validNotAfter((days * dayToSeconds) + secs); in populateProperties()
549 ASN1_TIME_diff(&days, &secs, epoch.get(), notBefore); in populateProperties()
550 validNotBefore((days * dayToSeconds) + secs); in populateProperties()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery.cookie.js64 var days = options.expires, t = options.expires = new Date();
65 t.setDate(t.getDate() + days);
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DParity-7.0.027 1. You don't use it for more than thirty days.
45 3. Take these steps within thirty days.
51days of learning you broke the rule. You're excused for unknowingly breaking [Notices](#notices) …
/openbmc/docs/tof/
H A Dcontract.md77 Once an issue has a proposal, TOF members have 8 days to vote on the proposal in
78 one of three ways: for, against, or “needs discussion”. After 8 days, if the
83 not stagnate, if the initial 8 days elapses and the minimum number of votes has
84 not been met, the proposal is extended by an additional 6 days and then put onto
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/unattended-upgrades/files/
H A D0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch62 - - datetime.timedelta(days=1))))
66 - - datetime.timedelta(days=1)))
/openbmc/u-boot/arch/m68k/include/asm/
H A Drtc.h22 u32 days; /* 0x20 Days Counter Register */ member
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h191 using days = std::chrono::duration variable
195 <int, detail::ratio_multiply<std::ratio<7>, days::period>>;
198 <int, detail::ratio_multiply<std::ratio<146097, 400>, days::period>>;
208 using sys_days = sys_time<days>;
217 using local_days = local_time<days>;
347 CONSTCD14 day& operator+=(const days& d) NOEXCEPT;
348 CONSTCD14 day& operator-=(const days& d) NOEXCEPT;
361 CONSTCD11 day operator+(const day& x, const days& y) NOEXCEPT;
362 CONSTCD11 day operator+(const days& x, const day& y) NOEXCEPT;
363 CONSTCD11 day operator-(const day& x, const days& y) NOEXCEPT;
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/cscope/
H A Dcscope_15.9.bb7 developed at Bell Labs back in the days of the PDP-11. \
/openbmc/openbmc/poky/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/
H A Dmips64.patch3 These are supported in systemd now a days
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/
H A D0001-cow.c-Replace-stat64-with-stat.patch7 therefore switch to using stat API which is same as stat64 these days
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntp/ntp/
H A D0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch9 or 64Kb set by ntp should be good in glibc these days.
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_all_builds_page.py127 'completed_on'] = now - timezone.timedelta(days=i)
138 'completed_on'] = now - timezone.timedelta(days=i)
379 yestersday = today - timezone.timedelta(days=1)
/openbmc/openbmc-test-automation/lib/
H A Dcertificate_utils.robot88 # time Number of days to certify the certificate for.
95 ... ${SPACE}-nodes -days ${time}
338 # date_set_type Set BMC date to a current, future, old date by 375 days.
349 ${new_time}= Add Time To Date ${current_date_time} 375 days
351 ${new_time}= Subtract Time From Date ${current_date_time} 375 days
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/
H A DrcS.default5 # Time files in /tmp are kept in days.
/openbmc/ipmitool/lib/
H A Dipmi_chassis.c202 uint32_t days, hours; in ipmi_chassis_poh() local
226 days = minutes / 1440; in ipmi_chassis_poh()
227 minutes -= (float)days * 1440; in ipmi_chassis_poh()
233 days, hours, (long)minutes); in ipmi_chassis_poh()
235 printf("POH Counter : %i days, %i hours\n", days, hours); in ipmi_chassis_poh()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/vpnc/vpnc/
H A D0009-reduce-lifetime-value.patch7 MAXINT ms, or ~25 days) is rejected by Fortigate vpn devices because

1234567