Searched refs:existingMctpInfos (Results 1 – 3 of 3) sorted by relevance
/openbmc/pldm/requester/ |
H A D | mctp_endpoint_discovery.cpp | 35 getMctpInfos(existingMctpInfos); in MctpDiscovery() 36 handleMctpEndpoints(existingMctpInfos); in MctpDiscovery() 150 if (std::find(existingMctpInfos.begin(), existingMctpInfos.end(), in addToExistingMctpInfos() 151 mctpInfo) == existingMctpInfos.end()) in addToExistingMctpInfos() 153 existingMctpInfos.emplace_back(mctpInfo); in addToExistingMctpInfos() 161 for (const auto& mctpInfo : existingMctpInfos) in removeFromExistingMctpInfos() 173 existingMctpInfos.erase(std::remove(existingMctpInfos.begin(), in removeFromExistingMctpInfos() 174 existingMctpInfos.end(), mctpInfo), in removeFromExistingMctpInfos() 175 existingMctpInfos.end()); in removeFromExistingMctpInfos()
|
H A D | mctp_endpoint_discovery.hpp | 69 MctpInfos existingMctpInfos; member in pldm::MctpDiscovery
|
/openbmc/pldm/requester/test/ |
H A D | mctp_endpoint_discovery_test.cpp | 61 EXPECT_EQ(mctpDiscoveryHandler->existingMctpInfos.size(), 2); in TEST() 62 pldm::MctpInfo mctpInfo = mctpDiscoveryHandler->existingMctpInfos.back(); in TEST() 78 EXPECT_NE(mctpDiscoveryHandler->existingMctpInfos.size(), 2); in TEST() 92 EXPECT_EQ(mctpDiscoveryHandler->existingMctpInfos.size(), 2); in TEST() 93 pldm::MctpInfo mctpInfo = mctpDiscoveryHandler->existingMctpInfos.back(); in TEST() 103 EXPECT_EQ(mctpDiscoveryHandler->existingMctpInfos.size(), 1); in TEST() 104 mctpInfo = mctpDiscoveryHandler->existingMctpInfos.back(); in TEST() 126 EXPECT_EQ(mctpDiscoveryHandler->existingMctpInfos.size(), 2); in TEST() 127 pldm::MctpInfo mctpInfo = mctpDiscoveryHandler->existingMctpInfos.back(); in TEST() 136 EXPECT_EQ(mctpDiscoveryHandler->existingMctpInfos.size(), 0); in TEST()
|