Searched refs:getSRCType (Results 1 – 3 of 3) sorted by relevance
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | registry.hpp | 432 uint8_t getSRCType(const nlohmann::json& src, const std::string& name);
|
| H A D | registry.cpp | 162 uint8_t getSRCType(const nlohmann::json& src, const std::string& name) in getSRCType() function 776 entry.src.type = helper::getSRCType(src, name); in lookup()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | registry_test.cpp | 363 EXPECT_EQ(getSRCType(R"({"Type": "11"})"_json, "foo"), 0x11); in TEST_F() 364 EXPECT_EQ(getSRCType(R"({"Type": "BF"})"_json, "foo"), 0xBF); in TEST_F() 366 EXPECT_THROW(getSRCType(R"({"Type": "1"})"_json, "foo"), in TEST_F() 369 EXPECT_THROW(getSRCType(R"({"Type": "111"})"_json, "foo"), in TEST_F()
|