| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_bios_test.cpp | 33 uint8_t hours = 0; in TEST() local 38 epochToBCDTime(epochTime, seconds, minutes, hours, day, month, year); in TEST() 42 ASSERT_EQ(0x5, hours); in TEST() 54 uint8_t hours = 5; in TEST() local 60 timeSec = timeToEpoch(sec, min, hours, day, month, year); in TEST()
|
| /openbmc/libpldm/tests/dsp/ |
| H A D | bios.cpp | 28 uint8_t hours = 5; in TEST() local 40 hours, day, month, year, response); in TEST() 52 &hours, sizeof(hours))); in TEST() 54 sizeof(seconds) + sizeof(minutes) + sizeof(hours), in TEST() 57 sizeof(seconds) + sizeof(minutes) + sizeof(hours) + in TEST() 62 sizeof(seconds) + sizeof(minutes) + sizeof(hours) + in TEST() 75 uint8_t hours = 8; in TEST() local 95 &hours, sizeof(hours)); in TEST() 97 sizeof(minutes) + sizeof(hours) + hdrSize, in TEST() 100 sizeof(minutes) + sizeof(hours) + sizeof(day) + hdrSize, in TEST() [all …]
|
| /openbmc/u-boot/drivers/rtc/ |
| H A D | date.c | 85 int days, hours; in rtc_mktime() local 96 hours = days * 24 + tm->tm_hour; in rtc_mktime() 97 return (hours * 60 + tm->tm_min) * 60 + tm->tm_sec; in rtc_mktime()
|
| H A D | davinci.c | 28 hour = readl(&rtc->hours); in rtc_get() 68 writel(bin2bcd(tmp->tm_hour), &rtc->hours); in rtc_set()
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | bios.cpp | 32 uint8_t& hours, uint8_t& day, uint8_t& month, in epochToBCDTime() argument 40 hours = pldm::utils::decimalToBcd(time->tm_hour); in epochToBCDTime() 49 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours, in timeToEpoch() argument 57 stm.tm_hour = hours; in timeToEpoch() 121 uint8_t hours = 0; in getDateTime() local 149 pldm::responder::utils::epochToBCDTime(timeSec, seconds, minutes, hours, in getDateTime() 153 seconds, minutes, hours, day, month, in getDateTime() 167 uint8_t hours = 0; in setDateTime() local 201 &minutes, &hours, &day, &month, &year); in setDateTime() 206 timeSec = pldm::responder::utils::timeToEpoch(seconds, minutes, hours, day, in setDateTime()
|
| H A D | bios.hpp | 126 uint8_t& hours, uint8_t& day, uint8_t& month, 139 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours,
|
| /openbmc/libpldm/src/dsp/ |
| H A D | bios.c | 28 uint8_t seconds, uint8_t minutes, uint8_t hours, in encode_get_date_time_resp() argument 54 response->hours = hours; in encode_get_date_time_resp() 65 uint8_t *minutes, uint8_t *hours, uint8_t *day, in decode_get_date_time_resp() argument 69 hours == NULL || day == NULL || month == NULL || year == NULL || in decode_get_date_time_resp() 88 *hours = response->hours; in decode_get_date_time_resp() 98 uint8_t minutes, uint8_t hours, uint8_t day, in encode_set_date_time_req() argument 109 if (!is_time_legal(seconds, minutes, hours, day, month, year)) { in encode_set_date_time_req() 128 request->hours = pldm_bcd_dec2bcd8(hours); in encode_set_date_time_req() 138 uint8_t *seconds, uint8_t *minutes, uint8_t *hours, in decode_set_date_time_req() argument 142 hours == NULL || day == NULL || month == NULL || year == NULL) { in decode_set_date_time_req() [all …]
|
| /openbmc/bmcweb/redfish-core/src/utils/ |
| H A D | time_utils.cpp | 100 out += std::chrono::hours(ticks); in fromDurationString() 176 std::chrono::hours hours = std::chrono::floor<std::chrono::hours>(ms); in toDurationString() local 177 ms -= hours; in toDurationString() 190 if (hours.count() > 0) in toDurationString() 192 hoursStr = std::format("{}H", hours.count()); in toDurationString() 263 using hours = std::chrono::duration<int, std::ratio<3600>>; in toISO8061ExtendedStr() typedef 265 IntType, std::ratio_multiply<hours::period, std::ratio<24>>>; in toISO8061ExtendedStr() 295 hours hr = std::chrono::duration_cast<hours>(t); in toISO8061ExtendedStr()
|
| /openbmc/libpldm/src/ |
| H A D | utils.c | 37 bool is_time_legal(uint8_t seconds, uint8_t minutes, uint8_t hours, uint8_t day, in is_time_legal() argument 49 minutes > 59 || hours > 23) { in is_time_legal()
|
| H A D | utils.h | 32 bool is_time_legal(uint8_t seconds, uint8_t minutes, uint8_t hours, uint8_t day,
|
| /openbmc/libpldm/include/libpldm/ |
| H A D | bios.h | 112 uint8_t hours; //!< Hours in BCD format member 126 uint8_t hours; //!< Hours in BCD format member 240 uint8_t *minutes, uint8_t *hours, uint8_t *day, 347 uint8_t seconds, uint8_t minutes, uint8_t hours, 535 uint8_t minutes, uint8_t hours, uint8_t day, 552 uint8_t *seconds, uint8_t *minutes, uint8_t *hours,
|
| /openbmc/telemetry/redfish-tests/ |
| H A D | redfish_requests.py | 119 hours = int(time / (60 * 60)) 131 hours = r.group(3) 137 if hours is not None: 138 result += int(hours[:-1]) * 60 * 60
|
| /openbmc/openbmc-test-automation/systest/ |
| H A D | test_boot_acceptance.robot | 11 # HTX_DURATION Duration of HTX run (e.g. "24 hours", "8 hours"). 56 ${HTX_DURATION} 8 hours
|
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | davinci_rtc.h | 19 unsigned int hours; member
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/ |
| H A D | projecttags.py | 30 hours = int(tdsec / 3600) 31 return "%02d:%02d:%02d" % (hours, int((tdsec - (hours * 3600))/ 60), int(tdsec) % 60)
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_toastertable_ui.py | 60 later = now + timezone.timedelta(hours=1) 61 even_later = later + timezone.timedelta(hours=1)
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | htx_resource.robot | 5 ${HTX_DURATION} 2 hours
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/lm_sensors/lmsensors-config/ |
| H A D | sensord | 2 # in intervals use suffix "m" for minutes, "s" for seconds, "h" for hours
|
| /openbmc/phosphor-webui/app/configuration/controllers/ |
| H A D | date-time-controller.js | 200 var hours = pad(Math.floor(offset / 60)); 202 return '(UTC' + sign + hours + ':' + minutes + ')';
|
| /openbmc/pldm/pldmtool/ |
| H A D | pldm_bios_cmd.cpp | 61 uint8_t seconds, minutes, hours, day, month; in parseResponseMsg() local 65 &minutes, &hours, &day, &month, &year); in parseResponseMsg() 76 << setWidth(day) << " " << setWidth(hours) << ":" in parseResponseMsg() 119 uint8_t hours = 0; in createRequestMsg() local 123 if (!uintToDate(tmData, &year, &month, &day, &hours, &minutes, in createRequestMsg() 133 instanceId, seconds, minutes, hours, day, month, year, request, in createRequestMsg()
|
| /openbmc/webui-vue/src/views/SecurityAndAccess/Policies/ |
| H A D | Policies.vue | 165 text: i18n.global.t('pagePolicies.options.2hours'), 169 text: i18n.global.t('pagePolicies.options.4hours'), 173 text: i18n.global.t('pagePolicies.options.8hours'),
|
| /openbmc/phosphor-state-manager/ |
| H A D | chassis_state_manager.hpp | 61 std::chrono::hours{1}, std::chrono::minutes{1}) in __anonacea13680302()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/terminus-font/ |
| H A D | terminus-font_4.49.1.bb | 3 long (8 and more hours per day) work with computers."
|
| /openbmc/bmcweb/redfish-core/include/utils/extern/ |
| H A D | date.h | 192 <int, detail::ratio_multiply<std::ratio<24>, std::chrono::hours::period>>; 4084 std::chrono::hours h_; 4098 : h_(std::chrono::duration_cast<std::chrono::hours>(detail::abs(d))) 4104 CONSTCD11 std::chrono::hours hours() const NOEXCEPT {return h_;} 4118 return !neg_ && h_ < days{1} && m_ < std::chrono::hours{1} && 4131 if (tod.h_ < std::chrono::hours{10}) 4158 is_am(std::chrono::hours const& h) NOEXCEPT 4160 using std::chrono::hours; 4161 return hours{0} <= h && h < hours{12}; 4167 is_pm(std::chrono::hours const& h) NOEXCEPT [all …]
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_chassis.c | 202 uint32_t days, hours; in ipmi_chassis_poh() local 228 hours = minutes / 60; in ipmi_chassis_poh() 229 minutes -= hours * 60; 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()
|