Searched refs:BCDTime (Results 1 – 10 of 10) sorted by relevance
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | bcd_time.hpp | 14 struct BCDTime struct 25 BCDTime() : in BCDTime() argument 30 BCDTime(uint8_t yearMSB, uint8_t yearLSB, uint8_t month, uint8_t day, in BCDTime() function 37 bool operator==(const BCDTime& right) const; 38 bool operator!=(const BCDTime& right) const; 48 BCDTime getBCDTime(std::chrono::time_point<std::chrono::system_clock>& time); 56 BCDTime getBCDTime(uint64_t milliseconds); 65 uint64_t getMillisecondsSinceEpoch(const BCDTime& bcdTime); 117 Stream& operator>>(Stream& s, BCDTime& time); 127 Stream& operator<<(Stream& s, const BCDTime& time);
|
| H A D | bcd_time.cpp | 15 bool BCDTime::operator==(const BCDTime& right) const in operator ==() 23 bool BCDTime::operator!=(const BCDTime& right) const in operator !=() 28 BCDTime getBCDTime(std::chrono::time_point<std::chrono::system_clock>& time) in getBCDTime() 30 BCDTime bcd; in getBCDTime() 53 BCDTime getBCDTime(uint64_t epochMS) in getBCDTime() 61 uint64_t getMillisecondsSinceEpoch(const BCDTime& bcdTime) in getMillisecondsSinceEpoch() 84 Stream& operator>>(Stream& s, BCDTime& time) in operator >>() 91 Stream& operator<<(Stream& s, const BCDTime& time) in operator <<()
|
| H A D | private_header.hpp | 80 const BCDTime& createTimestamp() const in createTimestamp() 90 const BCDTime& commitTimestamp() const in commitTimestamp() 100 void setCommitTimestamp(const BCDTime& time) in setCommitTimestamp() 249 BCDTime _createTimestamp; 254 BCDTime _commitTimestamp;
|
| H A D | extended_user_header.hpp | 137 const BCDTime& refTime() const in refTime() 226 BCDTime _refTime;
|
| H A D | pel.hpp | 156 BCDTime commitTime() const in commitTime() 167 BCDTime createTime() const in createTime()
|
| H A D | repository.hpp | 192 static std::string getPELFilename(uint32_t pelID, const BCDTime& time);
|
| H A D | repository.cpp | 150 std::string Repository::getPELFilename(uint32_t pelID, const BCDTime& time) in getPELFilename()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | extended_user_header_test.cpp | 70 BCDTime time{0x20, 0x25, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST() 106 BCDTime time{0x20, 0x25, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST() 160 BCDTime time; in TEST() 200 BCDTime time; in TEST() 234 BCDTime time; in TEST() 275 BCDTime time; in TEST()
|
| H A D | bcd_time_test.cpp | 26 BCDTime bcd; in TEST()
|
| H A D | repository_test.cpp | 40 BCDTime date = {0x20, 0x30, 0x11, 0x28, 0x13, 0x6, 0x7, 0x8}; in TEST_F()
|