Home
last modified time | relevance | path

Searched refs:swInvPurpose (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/include/utils/
H A Dsw_utils.hpp110 const std::string* swInvPurpose = nullptr; in afterGetProperties() local
114 swInvPurpose, "Version", version); in afterGetProperties()
127 if (swInvPurpose == nullptr || *swInvPurpose != swVersionPurpose) in afterGetProperties()
135 BMCWEB_LOG_DEBUG("Image purpose: {}", *swInvPurpose); in afterGetProperties()
/openbmc/bmcweb/redfish-core/lib/
H A Dupdate_service.hpp1299 const std::string* swInvPurpose = nullptr; in getSoftwareVersionCallback() local
1303 swInvPurpose, "Version", version); in getSoftwareVersionCallback()
1309 if (swInvPurpose == nullptr) in getSoftwareVersionCallback()
1315 BMCWEB_LOG_DEBUG("swInvPurpose = {}", *swInvPurpose); in getSoftwareVersionCallback()
1327 size_t endDesc = swInvPurpose->rfind('.'); in getSoftwareVersionCallback()
1334 if (endDesc >= swInvPurpose->size()) in getSoftwareVersionCallback()
1339 std::string formatDesc = swInvPurpose->substr(endDesc); in getSoftwareVersionCallback()
1341 getRelatedItems(asyncResp, *swInvPurpose); in getSoftwareVersionCallback()