Home
last modified time | relevance | path

Searched refs:yearLSB (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dbcd_time.hpp17 uint8_t yearLSB; member
26 yearMSB(0), yearLSB(0), month(0), day(0), hour(0), minutes(0), in BCDTime()
30 BCDTime(uint8_t yearMSB, uint8_t yearLSB, uint8_t month, uint8_t day, in BCDTime()
33 yearMSB(yearMSB), yearLSB(yearLSB), month(month), day(day), hour(hour), in BCDTime()
H A Dbcd_time.cpp17 return (yearMSB == right.yearMSB) && (yearLSB == right.yearLSB) && in operator ==()
39 bcd.yearLSB = toBCD(year % 100); in getBCDTime()
64 int year = (fromBCD(bcdTime.yearMSB) * 100) + fromBCD(bcdTime.yearLSB); in getMillisecondsSinceEpoch()
86 s >> time.yearMSB >> time.yearLSB >> time.month >> time.day >> time.hour; in operator >>()
93 s << time.yearMSB << time.yearLSB << time.month << time.day << time.hour; in operator <<()
H A Dprivate_header.cpp77 _createTimestamp.yearMSB, _createTimestamp.yearLSB, in getJSON()
83 _commitTimestamp.yearMSB, _commitTimestamp.yearLSB, in getJSON()
H A Dextended_user_header.cpp185 getNumberString("%02X", _refTime.yearLSB) + ' ' + in getJSON()
H A Drepository.cpp154 time.yearLSB, time.month, time.day, time.hour, time.minutes, in getPELFilename()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dbcd_time_test.cpp32 EXPECT_EQ(bcd.yearLSB, 2); in TEST()
43 bcd.yearLSB = val++; in TEST()
76 EXPECT_EQ(timeInBCD.yearLSB, 0x25); in TEST()
H A Dprivate_header_test.cpp35 EXPECT_EQ(ct.yearLSB, 0x30); in TEST_F()
45 EXPECT_EQ(mt.yearLSB, 0x31); in TEST_F()
163 EXPECT_EQ(ct.yearLSB, 0x25); in TEST_F()
/openbmc/phosphor-logging/extensions/openpower-pels/tools/
H A Dpeltool.cpp398 pel.privateHeader().commitTimestamp().yearLSB, in genPELJSON()