Searched refs:SectionHeader (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | section_header.hpp | 18 struct SectionHeader struct 24 SectionHeader() : id(0), size(0), version(0), subType(0), componentID(0) {} in SectionHeader() function 35 SectionHeader(uint16_t id, uint16_t size, uint8_t version, uint8_t subType, in SectionHeader() argument 85 inline Stream& operator>>(Stream& s, SectionHeader& header) in operator >>() 98 inline Stream& operator<<(Stream& s, const SectionHeader& header) in operator <<()
|
H A D | section.hpp | 32 const SectionHeader& header() const in header() 130 return SectionHeader::flattenedSize(); in flattenedSize() 156 SectionHeader _header;
|
H A D | generic.cpp | 31 if (_header.size <= SectionHeader::flattenedSize()) in unflatten() 37 size_t dataLength = _header.size - SectionHeader::flattenedSize(); in unflatten()
|
H A D | user_data.cpp | 38 if (_header.size <= SectionHeader::flattenedSize()) in unflatten() 44 size_t dataLength = _header.size - SectionHeader::flattenedSize(); in unflatten()
|
H A D | extended_user_data.cpp | 33 if (_header.size <= SectionHeader::flattenedSize() + 4) in unflatten() 41 size_t dataLength = _header.size - 4 - SectionHeader::flattenedSize(); in unflatten()
|
H A D | pel.cpp | 402 dumpHex(std::data(data) + SectionHeader::flattenedSize(), in printSectionInJSON() 403 data.size() - SectionHeader::flattenedSize(), 2) in printSectionInJSON()
|
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | section_header.hpp | 42 struct SectionHeader struct 48 SectionHeader() : id(0), size(0), version(0), subType(0), componentID(0) {} in SectionHeader() function 59 SectionHeader(uint16_t id, uint16_t size, uint8_t version, uint8_t subType, in SectionHeader() function 109 inline Stream& operator>>(Stream& s, SectionHeader& header) in operator >>() 122 inline Stream& operator<<(Stream& s, const SectionHeader& header) in operator <<()
|
H A D | pel_section.hpp | 29 const SectionHeader& header() const in header() 47 return SectionHeader::flattenedSize(); in flattenedSize() 55 SectionHeader _header;
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | section_header_test.cpp | 25 EXPECT_EQ(SectionHeader::flattenedSize(), 8); in TEST() 32 SectionHeader header; in TEST() 45 SectionHeader header{0xAABB, 0xCCDD, 0xEE, 0xFF, 0xA0A0}; in TEST()
|