Home
last modified time | relevance | path

Searched refs:getSRCReasonCode (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dregistry.hpp421 uint16_t getSRCReasonCode(const nlohmann::json& src, const std::string& name);
H A Dregistry.cpp160 uint16_t getSRCReasonCode(const nlohmann::json& src, const std::string& name) in getSRCReasonCode() function
785 entry.src.reasonCode = helper::getSRCReasonCode(src, name); in lookup()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dregistry_test.cpp365 EXPECT_EQ(getSRCReasonCode(R"({"ReasonCode": "0x5555"})"_json, "foo"), in TEST_F()
368 EXPECT_THROW(getSRCReasonCode(R"({"ReasonCode": "ZZZZ"})"_json, "foo"), in TEST_F()