Searched refs:timeSec (Results 1 – 3 of 3) sorted by relevance
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_test.cpp | 60 std::time_t timeSec = 0; in TEST() local 61 timeSec = timeToEpoch(sec, min, hours, day, month, year); in TEST() 63 EXPECT_EQ(ret, timeSec); in TEST()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios.cpp | 25 void epochToBCDTime(uint64_t timeSec, uint8_t& seconds, uint8_t& minutes, in epochToBCDTime() argument 29 auto t = time_t(timeSec); in epochToBCDTime() 139 uint64_t timeSec = std::chrono::duration_cast<std::chrono::seconds>( in getDateTime() local 143 pldm::responder::utils::epochToBCDTime(timeSec, seconds, minutes, hours, in getDateTime() 165 std::time_t timeSec; in setDateTime() local 203 timeSec = pldm::responder::utils::timeToEpoch(seconds, minutes, hours, day, in setDateTime() 206 std::chrono::seconds(timeSec)) in setDateTime()
|
H A D | bios.hpp | 114 void epochToBCDTime(uint64_t timeSec, uint8_t& seconds, uint8_t& minutes,
|