Home
last modified time | relevance | path

Searched refs:SectionHeader (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection_header.hpp18 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 Dsection.hpp32 const SectionHeader& header() const in header()
130 return SectionHeader::flattenedSize(); in flattenedSize()
156 SectionHeader _header;
H A Dgeneric.cpp31 if (_header.size <= SectionHeader::flattenedSize()) in unflatten()
37 size_t dataLength = _header.size - SectionHeader::flattenedSize(); in unflatten()
H A Duser_data.cpp38 if (_header.size <= SectionHeader::flattenedSize()) in unflatten()
44 size_t dataLength = _header.size - SectionHeader::flattenedSize(); in unflatten()
H A Dextended_user_data.cpp33 if (_header.size <= SectionHeader::flattenedSize() + 4) in unflatten()
41 size_t dataLength = _header.size - 4 - SectionHeader::flattenedSize(); in unflatten()
H A Dpel.cpp402 dumpHex(std::data(data) + SectionHeader::flattenedSize(), in printSectionInJSON()
403 data.size() - SectionHeader::flattenedSize(), 2) in printSectionInJSON()
/openbmc/openpower-hw-diags/attn/pel/
H A Dsection_header.hpp42 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 Dpel_section.hpp29 const SectionHeader& header() const in header()
47 return SectionHeader::flattenedSize(); in flattenedSize()
55 SectionHeader _header;
/openbmc/phosphor-logging/test/openpower-pels/
H A Dsection_header_test.cpp25 EXPECT_EQ(SectionHeader::flattenedSize(), 8); in TEST()
32 SectionHeader header; in TEST()
45 SectionHeader header{0xAABB, 0xCCDD, 0xEE, 0xFF, 0xA0A0}; in TEST()