Home
last modified time | relevance | path

Searched refs:UserHeader (Results 1 – 10 of 10) sorted by relevance

/openbmc/openpower-hw-diags/attn/pel/
H A Duser_header.hpp33 class UserHeader : public Section class
36 UserHeader() = delete;
37 ~UserHeader() = default;
38 UserHeader(const UserHeader&) = default;
39 UserHeader& operator=(const UserHeader&) = default;
40 UserHeader(UserHeader&&) = default;
41 UserHeader& operator=(UserHeader&&) = default;
50 explicit UserHeader(Stream& pel);
H A Duser_header.cpp8 UserHeader::UserHeader(Stream& pel) in UserHeader() function in attn::pel::UserHeader
13 void UserHeader::flatten(Stream& stream) const in flatten()
20 void UserHeader::unflatten(Stream& stream) in unflatten()
27 void UserHeader::setSubsystem(uint8_t subsystem) in setSubsystem()
32 void UserHeader::setSeverity(uint8_t severity) in setSeverity()
37 void UserHeader::setType(uint8_t type) in setType()
42 void UserHeader::setAction(uint16_t action) in setAction()
H A Dpel_minimal.hpp157 std::unique_ptr<UserHeader> _uh;
H A Dpel_minimal.cpp20 _uh = std::make_unique<UserHeader>(pelData); in initialize()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.hpp30 class UserHeader : public Section class
33 UserHeader() = delete;
34 ~UserHeader() = default;
35 UserHeader(const UserHeader&) = default;
36 UserHeader& operator=(const UserHeader&) = default;
37 UserHeader(UserHeader&&) = default;
38 UserHeader& operator=(UserHeader&&) = default;
51 UserHeader(const message::Entry& entry,
63 explicit UserHeader(Stream& pel);
H A Duser_header.cpp35 void UserHeader::unflatten(Stream& stream) in unflatten()
42 void UserHeader::flatten(Stream& stream) const in flatten()
49 UserHeader::UserHeader(const message::Entry& entry, in UserHeader() function in openpower::pels::UserHeader
55 _header.size = UserHeader::flattenedSize(); in UserHeader()
218 UserHeader::UserHeader(Stream& pel) in UserHeader() function in openpower::pels::UserHeader
232 void UserHeader::validate() in validate()
252 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON()
297 std::optional<uint8_t> UserHeader::getSeverity( in getSeverity()
H A Dpel.hpp187 const UserHeader& userHeader() const in userHeader()
441 std::unique_ptr<UserHeader> _uh;
H A Dsection_factory.cpp58 section = std::make_unique<UserHeader>(pelData); in create()
H A Dpel.cpp102 _uh = std::make_unique<UserHeader>(regEntry, severity, additionalData, in PEL()
229 _uh = std::make_unique<UserHeader>(pelData); in populateFromRawData()
/openbmc/phosphor-logging/test/openpower-pels/
H A Duser_header_test.cpp30 EXPECT_EQ(UserHeader::flattenedSize(), 24); in TEST()
38 UserHeader uh(stream); in TEST()
42 EXPECT_EQ(uh.header().size, UserHeader::flattenedSize()); in TEST()
70 UserHeader uh(stream); in TEST()
83 UserHeader uh(stream); in TEST()
95 UserHeader uh(stream); in TEST()
117 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST()
122 EXPECT_EQ(uh.header().size, UserHeader::flattenedSize()); in TEST()
208 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST()
272 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST()
[all …]