Home
last modified time | relevance | path

Searched refs:hexwords (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dsrc_test.cpp129 const auto& hexwords = src.hexwordData(); in TEST_F() local
130 EXPECT_EQ(0x02020255, hexwords[0]); in TEST_F()
131 EXPECT_EQ(0x03030310, hexwords[1]); in TEST_F()
132 EXPECT_EQ(0x04040404, hexwords[2]); in TEST_F()
133 EXPECT_EQ(0x05050505, hexwords[3]); in TEST_F()
134 EXPECT_EQ(0x06060606, hexwords[4]); in TEST_F()
135 EXPECT_EQ(0x07070707, hexwords[5]); in TEST_F()
136 EXPECT_EQ(0x08080808, hexwords[6]); in TEST_F()
137 EXPECT_EQ(0x09090909, hexwords[7]); in TEST_F()
214 const auto& hexwords = src.hexwordData(); in TEST_F() local
[all …]
H A Dregistry_test.cpp230 auto& hexwords = entry->src.hexwordADFields; in TEST_F() local
231 EXPECT_TRUE(hexwords); in TEST_F()
232 EXPECT_EQ((*hexwords).size(), 2); in TEST_F()
234 auto word = (*hexwords).find(6); in TEST_F()
235 EXPECT_NE(word, (*hexwords).end()); in TEST_F()
238 word = (*hexwords).find(7); in TEST_F()
239 EXPECT_NE(word, (*hexwords).end()); in TEST_F()
353 const auto hexwords = R"( in TEST_F() local
364 auto fields = getSRCHexwordFields(hexwords, "foo"); in TEST_F()
H A Dpel_manager_test.cpp1118 auto& hexwords = pel.primarySRC().value()->hexwordData(); in TEST_F() local
1119 EXPECT_EQ(hexwords[3] & 0x20000000, 0x20000000); in TEST_F()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsrc.cpp126 std::optional<std::string> getPythonJSON(std::vector<std::string>& hexwords, in getPythonJSON() argument
173 "FUNC", funcToCall, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
187 if (i < hexwords.size()) in getPythonJSON()
189 arg = hexwords[i]; in getPythonJSON()
218 "ERROR", e, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
251 "ERROR", pErrStr, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
718 std::vector<std::string> hexwords; in getJSON() local
775 hexwords.push_back(refcode); in getJSON()
797 hexwords.push_back(tmpWord); in getJSON()
811 auto pyJson = getPythonJSON(hexwords, creatorID); in getJSON()
H A Dmanager.cpp719 const auto& hexwords = (*src)->hexwordData(); in getEventId() local
729 for (auto& value : hexwords) in getEventId()