Home
last modified time | relevance | path

Searched refs:newData (Results 1 – 19 of 19) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dextended_user_data.hpp106 const std::vector<uint8_t>& newData) in updateDataSection() argument
108 if (newData.size() >= 4) in updateDataSection()
116 if (newData.size() > _data.size()) in updateDataSection()
120 _data = newData; in updateDataSection()
127 shrink(Section::flattenedSize() + 4 + newData.size()); in updateDataSection()
131 _data = newData; in updateDataSection()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpce_identity_test.cpp42 std::vector<uint8_t> newData; in TEST() local
43 Stream newStream{newData}; in TEST()
46 EXPECT_EQ(data, newData); in TEST()
H A Dgeneric_section_test.cpp48 std::vector<uint8_t> newData; in TEST() local
49 Stream newStream(newData); in TEST()
52 EXPECT_EQ(data, newData); in TEST()
H A Dprivate_header_test.cpp78 std::vector<uint8_t> newData; in TEST_F() local
79 Stream newStream(newData); in TEST_F()
82 EXPECT_EQ(data, newData); in TEST_F()
88 newData.clear(); in TEST_F()
90 EXPECT_NE(data, newData); in TEST_F()
H A Dfru_identity_test.cpp47 std::vector<uint8_t> newData; in TEST() local
48 Stream newStream{newData}; in TEST()
50 EXPECT_EQ(data, newData); in TEST()
75 std::vector<uint8_t> newData; in TEST() local
76 Stream newStream{newData}; in TEST()
78 EXPECT_EQ(data, newData); in TEST()
H A Dextended_user_header_test.cpp86 std::vector<uint8_t> newData; in TEST() local
87 Stream newStream{newData}; in TEST()
90 EXPECT_EQ(sectionData, newData); in TEST()
122 std::vector<uint8_t> newData; in TEST() local
123 Stream newStream{newData}; in TEST()
126 EXPECT_EQ(data, newData); in TEST()
H A Dsrc_callout_test.cpp64 std::vector<uint8_t> newData; in TEST() local
65 Stream newStream{newData}; in TEST()
68 EXPECT_EQ(data, newData); in TEST()
99 std::vector<uint8_t> newData; in TEST() local
100 Stream newStream{newData}; in TEST()
103 EXPECT_EQ(data, newData); in TEST()
138 std::vector<uint8_t> newData; in TEST() local
139 Stream newStream{newData}; in TEST()
142 EXPECT_EQ(data, newData); in TEST()
H A Dfailing_mtms_test.cpp128 std::vector<uint8_t> newData; in TEST() local
129 Stream newStream{newData}; in TEST()
132 EXPECT_EQ(data, newData); in TEST()
H A Duser_data_test.cpp55 std::vector<uint8_t> newData; in TEST() local
56 Stream newStream(newData); in TEST()
59 EXPECT_EQ(udSectionData, newData); in TEST()
H A Dextended_user_data_test.cpp48 std::vector<uint8_t> newData; in TEST() local
49 Stream newStream(newData); in TEST()
52 EXPECT_EQ(eudSectionData, newData); in TEST()
H A Dmru_test.cpp56 std::vector<uint8_t> newData; in TEST() local
57 Stream newStream{newData}; in TEST()
60 EXPECT_EQ(data, newData); in TEST()
H A Dsrc_callouts_test.cpp61 std::vector<uint8_t> newData; in TEST() local
62 Stream newStream{newData}; in TEST()
65 EXPECT_EQ(data, newData); in TEST()
H A Duser_header_test.cpp57 std::vector<uint8_t> newData; in TEST() local
58 Stream newStream(newData); in TEST()
61 EXPECT_EQ(data, newData); in TEST()
H A Dpel_test.cpp90 auto newData = pel->data(); in TEST_F() local
91 auto newPel = std::make_unique<PEL>(newData); in TEST_F()
107 auto newData = pel->data(); in TEST_F() local
108 auto newPel = std::make_unique<PEL>(newData); in TEST_F()
322 auto newData = pel.data(); in TEST_F() local
324 EXPECT_EQ(origData, newData); in TEST_F()
705 std::vector<uint8_t> newData{ud->data().begin(), ud->data().end()}; in TEST_F() local
706 EXPECT_EQ(data, newData); in TEST_F()
727 std::vector<uint8_t> newData{ud->data().begin(), ud->data().end()}; in TEST_F() local
734 EXPECT_EQ(data, newData); in TEST_F()
H A Drepository_test.cpp85 auto newData = readPELFile(file); in TEST_F() local
87 EXPECT_EQ(*newData, pelData); in TEST_F()
451 std::vector<uint8_t> newData; in TEST_F() local
452 newData.resize(size); in TEST_F()
453 r = fread(newData.data(), 1, size, fp); in TEST_F()
456 PEL newPEL{newData}; in TEST_F()
H A Dsrc_test.cpp143 std::vector<uint8_t> newData; in TEST_F() local
144 Stream newStream{newData}; in TEST_F()
147 EXPECT_EQ(data, newData); in TEST_F()
179 std::vector<uint8_t> newData; in TEST_F() local
180 Stream newStream{newData}; in TEST_F()
183 EXPECT_EQ(data, newData); in TEST_F()
H A Dpel_manager_test.cpp420 auto newData = manager.getPELFromOBMCID(42); in TEST_F() local
421 EXPECT_EQ(newData.size(), data.size()); in TEST_F()
424 PEL pel{newData}; in TEST_F()
449 EXPECT_EQ(newData, fdData); in TEST_F()
/openbmc/entity-manager/src/
H A Dfru_reader.cpp41 uint8_t* newData = cache[blk].data(); in read() local
43 readFunc(blk * cacheBlockSize, cacheBlockSize, newData); in read()
58 blkData = newData; in read()
H A Dentity_manager.cpp479 nlohmann::json newData{}; in createAddObjectMethod() local
482 nlohmann::json& newJson = newData[item.first]; in createAddObjectMethod()
490 auto findName = newData.find("Name"); in createAddObjectMethod()
491 auto findType = newData.find("Type"); in createAddObjectMethod()
492 if (findName == newData.end() || findType == newData.end()) in createAddObjectMethod()
545 if (!validateJson(schema, newData)) in createAddObjectMethod()
551 findExposes->at(lastIndex) = newData; in createAddObjectMethod()
555 findExposes->push_back(newData); in createAddObjectMethod()
576 interface, newData, objServer, in createAddObjectMethod()