/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | extended_user_data.hpp | 106 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 D | pce_identity_test.cpp | 42 std::vector<uint8_t> newData; in TEST() local 43 Stream newStream{newData}; in TEST() 46 EXPECT_EQ(data, newData); in TEST()
|
H A D | generic_section_test.cpp | 48 std::vector<uint8_t> newData; in TEST() local 49 Stream newStream(newData); in TEST() 52 EXPECT_EQ(data, newData); in TEST()
|
H A D | private_header_test.cpp | 78 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 D | fru_identity_test.cpp | 47 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 D | extended_user_header_test.cpp | 86 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 D | src_callout_test.cpp | 64 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 D | failing_mtms_test.cpp | 128 std::vector<uint8_t> newData; in TEST() local 129 Stream newStream{newData}; in TEST() 132 EXPECT_EQ(data, newData); in TEST()
|
H A D | user_data_test.cpp | 55 std::vector<uint8_t> newData; in TEST() local 56 Stream newStream(newData); in TEST() 59 EXPECT_EQ(udSectionData, newData); in TEST()
|
H A D | extended_user_data_test.cpp | 48 std::vector<uint8_t> newData; in TEST() local 49 Stream newStream(newData); in TEST() 52 EXPECT_EQ(eudSectionData, newData); in TEST()
|
H A D | mru_test.cpp | 56 std::vector<uint8_t> newData; in TEST() local 57 Stream newStream{newData}; in TEST() 60 EXPECT_EQ(data, newData); in TEST()
|
H A D | src_callouts_test.cpp | 61 std::vector<uint8_t> newData; in TEST() local 62 Stream newStream{newData}; in TEST() 65 EXPECT_EQ(data, newData); in TEST()
|
H A D | user_header_test.cpp | 57 std::vector<uint8_t> newData; in TEST() local 58 Stream newStream(newData); in TEST() 61 EXPECT_EQ(data, newData); in TEST()
|
H A D | pel_test.cpp | 90 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 D | repository_test.cpp | 85 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 D | src_test.cpp | 143 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 D | pel_manager_test.cpp | 420 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 D | fru_reader.cpp | 41 uint8_t* newData = cache[blk].data(); in read() local 43 readFunc(blk * cacheBlockSize, cacheBlockSize, newData); in read() 58 blkData = newData; in read()
|
H A D | entity_manager.cpp | 479 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()
|