/openbmc/openpower-vpd-parser/vpd-manager/src/ |
H A D | bios_handler.cpp | 103 std::get_if<std::map<std::string, types::BiosProperty>>( in biosAttributesCallback() 108 if (auto l_val = std::get_if<std::string>( in biosAttributesCallback() 135 if (auto l_val = std::get_if<int64_t>( in biosAttributesCallback() 191 if (auto l_fcoInVpd = std::get_if<types::BinaryVector>(&l_kwdValueVariant)) in processFieldCoreOverride() 215 if (auto l_fcoInBios = std::get_if<int64_t>(&l_attrValueVariant)) in processFieldCoreOverride() 242 if (auto l_fcoInVpd = std::get_if<types::BinaryVector>(&l_kwdValueVariant)) in saveFcoToVpd() 318 if (auto l_pVal = std::get_if<types::BinaryVector>(&l_kwdValueVariant)) in saveAmmToVpd() 379 if (auto pVal = std::get_if<types::BinaryVector>(&l_kwdValueVariant)) in processActiveMemoryMirror() 389 if (auto pVal = std::get_if<std::string>(&l_attrValueVariant)) in processActiveMemoryMirror() 423 if (auto l_pVal = std::get_if<types::BinaryVector>(&l_kwdValueVariant)) in saveCreateDefaultLparToVpd() [all …]
|
H A D | worker.cpp | 304 if (auto pVal = std::get_if<types::IPZVpdMap>(&parsedVpdMap)) in getSystemJson() 569 if (auto keywordValue = get_if<types::BinaryVector>(&kwdValMap.second)) in populateKwdVPDpropertyMap() 575 else if (auto keywordValue = get_if<std::string>(&kwdValMap.second)) in populateKwdVPDpropertyMap() 581 else if (auto keywordValue = get_if<size_t>(&kwdValMap.second)) in populateKwdVPDpropertyMap() 684 std::get_if<types::IPZVpdMap>(&parsedVpdMap)) in populateInterfaces() 696 std::get_if<types::KeywordVpdMap>(&parsedVpdMap)) in populateInterfaces() 700 if (auto kwValue = std::get_if<types::BinaryVector>( in populateInterfaces() 711 else if (auto kwValue = std::get_if<std::string>( in populateInterfaces() 722 else if (auto uintValue = std::get_if<size_t>( in populateInterfaces() 897 if (auto ipzVpdMap = std::get_if<types::IPZVpdMap>(&parsedVpdMap)) in processExtraInterfaces() [all …]
|
H A D | parser.cpp | 69 std::get_if<types::IpzData>(&i_paramsToWriteData)) in updateVpdKeyword() 75 std::get_if<types::KwData>(&i_paramsToWriteData)) in updateVpdKeyword() 132 std::get_if<types::IpzData>(&i_paramsToWriteData)) in updateVpdKeyword() 273 std::get_if<types::IpzData>(&i_paramsToWriteData)) in updateVpdKeywordOnHardware() 279 std::get_if<types::KwData>(&i_paramsToWriteData)) in updateVpdKeywordOnHardware()
|
H A D | backup_restore.cpp | 105 std::get_if<types::IPZVpdMap>(&l_srcVpdVariant)) in backupAndRestore() 117 std::get_if<types::IPZVpdMap>(&l_dstVpdVariant)) in backupAndRestore() 267 std::get_if<types::BinaryVector>(&l_value)) in backupAndRestoreIpzVpd() 299 std::get_if<types::BinaryVector>(&l_value)) in backupAndRestoreIpzVpd()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_executor.cpp | 290 const double* lDoubleValue = std::get_if<double>(&left); in operator ()() 291 const double* rDoubleValue = std::get_if<double>(&right); in operator ()() 292 const int64_t* lIntValue = std::get_if<int64_t>(&left); in operator ()() 293 const int64_t* rIntValue = std::get_if<int64_t>(&right); in operator ()() 326 const std::string* lStrValue = std::get_if<std::string>(&left); in operator ()() 327 const std::string* rStrValue = std::get_if<std::string>(&right); in operator ()() 329 const DateTimeString* lDateValue = std::get_if<DateTimeString>(&left); in operator ()() 330 const DateTimeString* rDateValue = std::get_if<DateTimeString>(&right); in operator ()()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | ethernet.hpp | 247 std::get_if<std::string>(&propertyPair.second); in extractEthernetInterfaceData() 262 std::get_if<uint32_t>(&propertyPair.second); in extractEthernetInterfaceData() 278 std::get_if<bool>(&propertyPair.second); in extractEthernetInterfaceData() 287 std::get_if<uint32_t>(&propertyPair.second); in extractEthernetInterfaceData() 296 std::get_if<size_t>(&propertyPair.second); in extractEthernetInterfaceData() 305 std::get_if<bool>(&propertyPair.second); in extractEthernetInterfaceData() 314 std::get_if<bool>(&propertyPair.second); in extractEthernetInterfaceData() 323 std::get_if<bool>(&propertyPair.second); in extractEthernetInterfaceData() 332 std::get_if<std::vector<std::string>>( in extractEthernetInterfaceData() 342 std::get_if<std::vector<std::string>>( in extractEthernetInterfaceData() [all …]
|
H A D | power.hpp | 155 const int64_t* i = std::get_if<int64_t>(&property.second); in afterPowerCapSettingGet() 164 const double* d = std::get_if<double>(&property.second); in afterPowerCapSettingGet() 165 const int64_t* i = std::get_if<int64_t>(&property.second); in afterPowerCapSettingGet() 166 const uint32_t* u = std::get_if<uint32_t>(&property.second); in afterPowerCapSettingGet() 183 const bool* b = std::get_if<bool>(&property.second); in afterPowerCapSettingGet()
|
H A D | hypervisor_system.hpp | 205 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData() 228 std::get_if<bool>(&property.second); in extractHypervisorInterfaceData() 244 std::get_if<std::string>(&property.second); in extractHypervisorInterfaceData() 253 std::get_if<std::string>(&property.second); in extractHypervisorInterfaceData() 264 std::get_if<uint8_t>(&property.second); in extractHypervisorInterfaceData() 298 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData() 307 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData() 547 std::get_if<nlohmann::json::object_t>(&thisJson); in handleHypervisorIPv4StaticPatch()
|
H A D | processor.hpp | 98 const bool* cpuPresent = std::get_if<bool>(&property.second); in getCpuDataByInterface() 114 const bool* cpuFunctional = std::get_if<bool>(&property.second); in getCpuDataByInterface() 129 std::get_if<uint16_t>(&property.second); in getCpuDataByInterface() 139 const uint32_t* value = std::get_if<uint32_t>(&property.second); in getCpuDataByInterface() 148 std::get_if<std::string>(&property.second); in getCpuDataByInterface() 156 const uint16_t* value = std::get_if<uint16_t>(&property.second); in getCpuDataByInterface() 164 const uint16_t* value = std::get_if<uint16_t>(&property.second); in getCpuDataByInterface() 173 const uint16_t* value = std::get_if<uint16_t>(&property.second); in getCpuDataByInterface() 187 const uint64_t* value = std::get_if<uint64_t>(&property.second); in getCpuDataByInterface() 197 const uint32_t* value = std::get_if<uint32_t>(&property.second); in getCpuDataByInterface() [all …]
|
H A D | network_protocol.hpp | 80 std::get_if<std::vector<std::string>>( in extractNTPServersAndDomainNamesData() 91 std::get_if<std::vector<std::string>>( in extractNTPServersAndDomainNamesData() 101 std::get_if<std::vector<std::string>>( in extractNTPServersAndDomainNamesData() 325 std::get_if<nlohmann::json::object_t>(&ntpServer); in handleNTPServersPatch() 349 const std::string* ntpServerStr = std::get_if<std::string>(&ntpServer); in handleNTPServersPatch()
|
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
H A D | dbus_utility.hpp | 385 if (auto curPowerState = std::get_if<std::string>(&powerState)) in isChassisPowerOn() 418 if (const auto l_currHostState = std::get_if<std::string>(&l_hostState)) in isHostRunning() 443 if (const auto l_currBMCState = std::get_if<std::string>(&l_bmcState)) in isBMCReady() 603 auto l_imValue = std::get_if<types::BinaryVector>(&l_retValue); in getImFromDbus() 630 std::get_if<std::vector<std::string>>(&l_retVal); in getImagePrefix() 643 auto l_imagePriority = std::get_if<uint8_t>(&l_retValPriority); in getImagePrefix() 661 auto l_imageExtendedVersion = std::get_if<std::string>(&l_retExVer); in getImagePrefix() 706 auto l_ptrPresence = std::get_if<bool>(&l_retValue); in isInventoryPresent()
|
H A D | vpd_specific_utility.hpp | 331 if (auto ipzVpdMap = std::get_if<types::IPZVpdMap>(&parsedVpdMap); in getExpandedLocationCode() 367 if (auto kwdVal = std::get_if<types::BinaryVector>(&retVal)) in getExpandedLocationCode() 383 if (auto kwdVal = std::get_if<types::BinaryVector>(&retVal)) in getExpandedLocationCode() 503 if (auto l_ipzVPDMap = std::get_if<types::IPZVpdMap>(&i_parsedVpdMap)) in findCcinInVpd() 666 auto l_hwVer = std::get_if<types::BinaryVector>(&l_retVal); in isPass1Planar() 672 auto l_imValue = std::get_if<types::BinaryVector>(&l_retVal); in isPass1Planar() 772 auto l_ptrCcin = std::get_if<types::BinaryVector>(&l_retValue); in getCcinFromDbus()
|
/openbmc/dbus-sensors/src/ |
H A D | DeviceMgmt.cpp | 31 const std::string* type = std::get_if<std::string>(&findType->second); in getI2CDeviceParams() 32 const uint64_t* bus = std::get_if<uint64_t>(&findBus->second); in getI2CDeviceParams() 33 const uint64_t* addr = std::get_if<uint64_t>(&findAddr->second); in getI2CDeviceParams()
|
/openbmc/phosphor-power/cold-redundancy/ |
H A D | cold_redundancy.cpp | 115 bool* functional = std::get_if<bool>(&(findEvent->second)); in ColdRedundancy() 208 std::get_if<std::string>(&propMap["Name"]); in createPSU() 217 std::get_if<uint64_t>(&propMap["Bus"]); in createPSU() 219 std::get_if<uint64_t>(&propMap["Address"]); in createPSU()
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | request_target_base.cpp | 52 if (auto intPtr = std::get_if<int64_t>(&value)) in run() 62 else if (auto dblPtr = std::get_if<double>(&value)) in run()
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | unpack_properties.hpp | 47 if (const auto* value = std::get_if< 64 if (const auto value = std::get_if<InnerType>(&it->second)) 77 if (const auto value = std::get_if<ValueType>(&it->second))
|
/openbmc/estoraged/src/ |
H A D | util.cpp | 170 std::get_if<std::string>(&findLocationCode->second); in findDevice() 183 std::get_if<uint64_t>(&findEraseMaxGeometry->second); in findDevice() 197 std::get_if<uint64_t>(&findEraseMinGeometry->second); in findDevice()
|
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/ |
H A D | hyp_network_manager.cpp | 165 std::get_if<BiosBaseTableType>(&response); in setBIOSTableAttrs() 183 const int64_t* currValue = std::get_if<int64_t>( in setBIOSTableAttrs() 195 const std::string* currValue = std::get_if<std::string>( in setBIOSTableAttrs()
|
/openbmc/bmcweb/redfish-core/lib/openbmc/ |
H A D | openbmc_managers.hpp | 131 std::get_if<std::string>(&propPair.second); in asyncPopulatePid() 144 std::get_if<std::vector<std::string>>( in asyncPopulatePid() 172 std::get_if<std::string>(&propPair.second); in asyncPopulatePid() 279 std::get_if<double>(&propertyPair.second); in asyncPopulatePid() 296 std::get_if<std::vector<double>>( in asyncPopulatePid() 339 std::get_if<double>(&propertyPair.second); in asyncPopulatePid() 358 std::get_if<std::vector<std::string>>( in asyncPopulatePid() 396 std::get_if<std::vector<std::string>>( in asyncPopulatePid() 411 std::get_if<std::string>( in asyncPopulatePid() 468 std::get_if<double>(&propertyPair.second); in asyncPopulatePid() [all …]
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 105 const auto* num = std::get_if<0>(&labeledThresholdsProperty); in numericThresholdParams() 116 const auto* num = std::get_if<1>(&labeledThresholdsProperty); in discreteThresholdParams()
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | psu_manager.cpp | 202 i2cbus = std::get_if<uint64_t>(&properties[i2cBusProp]); in getPSUProperties() 206 i2caddr = std::get_if<uint64_t>(&properties[i2cAddressProp]); in getPSUProperties() 210 psuname = std::get_if<std::string>(&properties[psuNameProp]); in getPSUProperties() 215 std::get_if<std::string>(&properties[presLineName]); in getPSUProperties() 290 const std::string* type = std::get_if<std::string>(&(propIt->second)); in populateSysProperties() 301 const std::string* model = std::get_if<std::string>(&(propIt->second)); in populateSysProperties() 311 const uint64_t* count = std::get_if<uint64_t>(&(propIt->second)); in populateSysProperties() 321 std::get_if<std::vector<uint64_t>>(&(propIt->second)); in populateSysProperties() 334 const bool* fullLoad = std::get_if<bool>(&(propIt->second)); in populateSysProperties()
|
/openbmc/openpower-proc-control/ |
H A D | util.cpp | 66 const std::string* state = std::get_if<std::string>(&retval); in isHostPoweringOff() 109 if (auto pVal = std::get_if<std::string>(&val)) in getChassisPowerState()
|
/openbmc/dbus-sensors/src/intrusion/ |
H A D | IntrusionSensorMain.cpp | 269 std::get_if<uint64_t>(&findEthIndex->second); in getNicNameInfo() 271 std::get_if<std::string>(&findName->second); in getNicNameInfo() 307 std::get_if<std::string>(&(findStateProperty->second)); in processLanStatusChange() 458 const std::string* pState = std::get_if<std::string>(&property); in initializeLanStatus()
|
/openbmc/telemetry/src/utils/ |
H A D | conversion_trigger.cpp | 99 std::get_if<discrete::LabeledThresholdParam>(¶m); in fromLabeledThresholdParam() 117 std::get_if<numeric::LabeledThresholdParam>(¶m); in fromLabeledThresholdParam()
|
/openbmc/sdbusplus/include/sdbusplus/asio/ |
H A D | property.hpp | 60 if (PropertyType* value = std::get_if<PropertyType>(&ret)) in getProperty() 93 if (T* value = std::get_if<T>(&ret)) in getProperty()
|