Home
last modified time | relevance | path

Searched refs:propValue (Results 1 – 22 of 22) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Devent_parser.cpp115 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 Dbios_enum_attribute.cpp141 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 Dbios_enum_attribute.hpp117 uint8_t getAttrValueIndex(const pldm::utils::PropertyValue& propValue);
H A Dfru.cpp280 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 Dguid.cpp78 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 Dutils.cpp465 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 Dutils.cpp203 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 Dentity_manager.cpp183 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 Dsensordatahandler.cpp86 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 Dselutility.cpp307 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 Dsensordatahandler.hpp192 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 Dwhitelist-filter.cpp102 auto propValue = ipmi::getDbusProperty( in cacheRestrictedMode() local
105 mode = std::get<std::string>(propValue); in cacheRestrictedMode()
H A Dstoragehandler.cpp542 auto propValue = ipmi::getDbusProperty( in ipmiStorageGetSelTime() local
544 bmc_time_usec = std::get<uint64_t>(propValue); in ipmiStorageGetSelTime()
H A Dchassishandler.cpp583 auto propValue = in getPOHCounter() local
587 return std::get<uint32_t>(propValue); in getPOHCounter()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfru_oem_ibm.cpp150 const std::string& propValue) in dbus_map_update() argument
152 pldm::utils::PropertyValue value = propValue; in dbus_map_update()
H A Dfru_oem_ibm.hpp94 const std::string& propValue);
/openbmc/phosphor-fan-presence/monitor/
H A Dtypes.hpp95 constexpr auto propValue = 1; variable
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.cpp136 for (const auto& [propName, propValue] : properties) in dumpCache()
140 propValue); in dumpCache()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp1289 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 Dpower_control.cpp1014 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 Dchannel_mgmt.cpp1335 auto propValue = ipmi::getDbusProperty( in syncNetworkChannelConfig() local
1339 intfPrivStr = std::get<std::string>(propValue); in syncNetworkChannelConfig()
/openbmc/intel-ipmi-oem/src/
H A Doemcommands.cpp2927 const Value& propValue = getDbusProperty( in ipmiOEMReadBoardProductId() local
2931 prodId = static_cast<uint8_t>(std::get<uint64_t>(propValue)); in ipmiOEMReadBoardProductId()