| /openbmc/pldm/libpldmresponder/ |
| H A D | event_parser.cpp | 115 auto propValue = utils::jsonEntryToDbusVal(type, propIt.value()); in mapStateToDBusVal() local 116 eventStateMap.emplace((*stateIt).get<uint8_t>(), std::move(propValue)); in mapStateToDBusVal() 128 utils::PropertyValue propValue{}; in eventAction() local 131 propValue = eventStateMap.at(state); in eventAction() 142 pldm::utils::DBusHandler().setDbusProperty(dbusMapping, propValue); in eventAction()
|
| H A D | bios_enum_attribute.cpp | 141 auto propValue = dbusHandler->getDbusPropertyVariant( in getAttrValueIndex() local 144 auto iter = valMap.find(propValue); in getAttrValueIndex() 158 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex() argument 162 return getValueIndex(std::get<std::string>(propValue), possibleValues); in getAttrValueIndex()
|
| H A D | bios_enum_attribute.hpp | 117 uint8_t getAttrValueIndex(const pldm::utils::PropertyValue& propValue);
|
| H A D | fru.cpp | 280 pldm::responder::dbus::Value propValue; in populateRecords() local 286 propValue = populatefwVersion(); in populateRecords() 290 propValue = interfaces.at(intf).at(prop); in populateRecords() 294 auto byteArray = std::get<std::vector<uint8_t>>(propValue); in populateRecords() 308 auto str = std::get<std::string>(propValue); in populateRecords()
|
| /openbmc/phosphor-net-ipmid/command/ |
| H A D | guid.cpp | 78 ipmi::Value propValue; in getSystemGUID() local 85 propValue = ipmi::getDbusProperty(bus, service, objPath, propInterface, in getSystemGUID() 94 std::string rfc4122Uuid = std::get<std::string>(propValue); in getSystemGUID()
|
| /openbmc/pldm/common/ |
| H A D | utils.cpp | 465 PropertyValue propValue{}; in jsonEntryToDbusVal() local 468 propValue = static_cast<uint8_t>(value); in jsonEntryToDbusVal() 472 propValue = static_cast<uint16_t>(value); in jsonEntryToDbusVal() 476 propValue = static_cast<uint32_t>(value); in jsonEntryToDbusVal() 480 propValue = static_cast<uint64_t>(value); in jsonEntryToDbusVal() 484 propValue = static_cast<int16_t>(value); in jsonEntryToDbusVal() 488 propValue = static_cast<int32_t>(value); in jsonEntryToDbusVal() 492 propValue = static_cast<int64_t>(value); in jsonEntryToDbusVal() 496 propValue = static_cast<bool>(value); in jsonEntryToDbusVal() 500 propValue = static_cast<double>(value); in jsonEntryToDbusVal() [all …]
|
| /openbmc/entity-manager/src/entity_manager/ |
| H A D | utils.cpp | 203 for (const auto& [propName, propValue] : interface) in templateCharReplace() 218 std::visit([&](auto&& val) { value = val; }, propValue); in templateCharReplace() 230 std::string val = std::visit(VariantToStringVisitor(), propValue); in templateCharReplace() 259 int number = std::visit(VariantToIntVisitor(), propValue); in templateCharReplace()
|
| H A D | entity_manager.cpp | 183 for (const auto& [propName, propValue] : boardValues.items()) in postBoardToDBus() 185 if (propValue.type() == nlohmann::json::value_t::object) in postBoardToDBus() 193 propValue); in postBoardToDBus()
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | sensordatahandler.cpp | 86 auto propValue = in mapDbusToAssertion() local 91 if (propValue == value.second.assert) in mapDbusToAssertion() 130 auto propValue = ipmi::getDbusProperty( in mapDbusToEventdata2() local 135 if (propValue == value.second.assert) in mapDbusToEventdata2()
|
| H A D | selutility.cpp | 307 auto propValue = in convertLogEntrytoSEL() local 309 assocs = std::get<std::vector<ipmi::Association>>(propValue); in convertLogEntrytoSEL() 358 auto propValue = ipmi::getDbusProperty(bus, service, objPath, in getEntryTimeStamp() local 360 timeStamp = std::get<uint64_t>(propValue); in getEntryTimeStamp()
|
| H A D | sensordatahandler.hpp | 192 auto propValue = ipmi::getDbusProperty( in readingAssertion() local 197 setAssertionBytes(static_cast<uint16_t>(std::get<T>(propValue)), in readingAssertion() 259 auto propValue = ipmi::getDbusProperty( in readingData() local 264 value = std::get<T>(propValue) * in readingData()
|
| H A D | whitelist-filter.cpp | 102 auto propValue = ipmi::getDbusProperty( in cacheRestrictedMode() local 105 mode = std::get<std::string>(propValue); in cacheRestrictedMode()
|
| H A D | storagehandler.cpp | 542 auto propValue = ipmi::getDbusProperty( in ipmiStorageGetSelTime() local 544 bmc_time_usec = std::get<uint64_t>(propValue); in ipmiStorageGetSelTime()
|
| H A D | chassishandler.cpp | 583 auto propValue = in getPOHCounter() local 587 return std::get<uint32_t>(propValue); in getPOHCounter()
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | fru_oem_ibm.cpp | 150 const std::string& propValue) in dbus_map_update() argument 152 pldm::utils::PropertyValue value = propValue; in dbus_map_update()
|
| H A D | fru_oem_ibm.hpp | 94 const std::string& propValue);
|
| /openbmc/phosphor-fan-presence/monitor/ |
| H A D | types.hpp | 95 constexpr auto propValue = 1; variable
|
| /openbmc/phosphor-fan-presence/control/json/ |
| H A D | manager.cpp | 136 for (const auto& [propName, propValue] : properties) in dumpCache() 140 propValue); in dumpCache()
|
| /openbmc/phosphor-user-manager/ |
| H A D | user_mgr.cpp | 1289 for (const auto& [propName, propValue] : it->second) in getUserInfo() 1293 groupName = std::get<std::string>(propValue); in getUserInfo() 1297 privilege = std::get<std::string>(propValue); in getUserInfo()
|
| /openbmc/x86-power-control/src/ |
| H A D | power_control.cpp | 1014 for (auto& [property, propValue] : props) in setProperties() 1018 const std::string* value = std::get_if<std::string>(&propValue); in setProperties() 1028 const uint64_t* value = std::get_if<uint64_t>(&propValue); in setProperties() 1039 const std::string* value = std::get_if<std::string>(&propValue); in setProperties()
|
| /openbmc/phosphor-host-ipmid/user_channel/ |
| H A D | channel_mgmt.cpp | 1335 auto propValue = ipmi::getDbusProperty( in syncNetworkChannelConfig() local 1339 intfPrivStr = std::get<std::string>(propValue); in syncNetworkChannelConfig()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | oemcommands.cpp | 2927 const Value& propValue = getDbusProperty( in ipmiOEMReadBoardProductId() local 2931 prodId = static_cast<uint8_t>(std::get<uint64_t>(propValue)); in ipmiOEMReadBoardProductId()
|