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.cpp117 const auto& hexwords = src.hexwordData(); in TEST_F() local
118 EXPECT_EQ(0x02020255, hexwords[0]); in TEST_F()
119 EXPECT_EQ(0x03030310, hexwords[1]); in TEST_F()
120 EXPECT_EQ(0x04040404, hexwords[2]); in TEST_F()
121 EXPECT_EQ(0x05050505, hexwords[3]); in TEST_F()
122 EXPECT_EQ(0x06060606, hexwords[4]); in TEST_F()
123 EXPECT_EQ(0x07070707, hexwords[5]); in TEST_F()
124 EXPECT_EQ(0x08080808, hexwords[6]); in TEST_F()
125 EXPECT_EQ(0x09090909, hexwords[7]); in TEST_F()
205 const auto& hexwords = src.hexwordData(); in TEST_F() local
[all …]
H A Dregistry_test.cpp241 auto& hexwords = entry->src.hexwordADFields; in TEST_F() local
242 EXPECT_TRUE(hexwords); in TEST_F()
243 EXPECT_EQ((*hexwords).size(), 2); in TEST_F()
245 auto word = (*hexwords).find(6); in TEST_F()
246 EXPECT_NE(word, (*hexwords).end()); in TEST_F()
249 word = (*hexwords).find(7); in TEST_F()
250 EXPECT_NE(word, (*hexwords).end()); in TEST_F()
376 const auto hexwords = R"( in TEST_F() local
387 auto fields = getSRCHexwordFields(hexwords, "foo"); in TEST_F()
H A Dpel_manager_test.cpp1073 auto& hexwords = pel.primarySRC().value()->hexwordData(); in TEST_F() local
1074 EXPECT_EQ(hexwords[3] & 0x20000000, 0x20000000); in TEST_F()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsrc.cpp113 std::optional<std::string> getPythonJSON(std::vector<std::string>& hexwords, in getPythonJSON() argument
160 "FUNC", funcToCall, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
174 if (i < hexwords.size()) in getPythonJSON()
176 arg = hexwords[i]; in getPythonJSON()
211 "ERROR", e, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
244 "ERROR", pErrStr, "SRC", hexwords.front(), "MODULE", module); in getPythonJSON()
709 std::vector<std::string> hexwords; in getJSON() local
766 hexwords.push_back(refcode); in getJSON()
788 hexwords.push_back(tmpWord); in getJSON()
802 auto pyJson = getPythonJSON(hexwords, creatorID); in getJSON()
H A Dmanager.cpp735 const auto& hexwords = (*src)->hexwordData(); in getEventId() local
745 for (auto& value : hexwords) in getEventId()