Home
last modified time | relevance | path

Searched refs:emplace (Results 1 – 25 of 233) sorted by relevance

12345678910

/openbmc/intel-ipmi-oem/include/
H A Dbiosxml.hpp398 values.emplace(a | b); in evaluateExprStack()
402 values.emplace(a & b); in evaluateExprStack()
408 values.emplace(1); in evaluateExprStack()
412 values.emplace(0); in evaluateExprStack()
418 values.emplace(1); in evaluateExprStack()
422 values.emplace(0); in evaluateExprStack()
428 values.emplace(1); in evaluateExprStack()
432 values.emplace(0); in evaluateExprStack()
442 values.emplace(0); in evaluateExprStack()
452 values.emplace(0); in evaluateExprStack()
[all …]
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp58 biosTableAttrs.emplace(attrName, value); in setBIOSTableAttr()
67 biosTableAttrs.emplace(attrName, value); in setBIOSTableAttr()
81 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_ipaddr", "0.0.0.0"); in setDefaultBIOSTableAttrsOnIntf()
82 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_gateway", "0.0.0.0"); in setDefaultBIOSTableAttrsOnIntf()
83 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_prefix_length", 0); in setDefaultBIOSTableAttrsOnIntf()
84 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_method", "IPv4Static"); in setDefaultBIOSTableAttrsOnIntf()
89 biosTableAttrs.emplace("vmi_hostname", ""); in setDefaultHostnameInBIOSTableAttrs()
187 biosTableAttrs.emplace(item.first, *currValue); in setBIOSTableAttrs()
199 biosTableAttrs.emplace(item.first, *currValue); in setBIOSTableAttrs()
232 interfaces.emplace("eth0", in createIfObjects()
[all …]
/openbmc/openpower-vpd-parser/
H A Dibm_vpd_app.cpp266 prop.emplace(move(kw), move(vec)); in populateFruSpecificInterfaces()
271 prop.emplace(move(kw), move(vec)); in populateFruSpecificInterfaces()
279 interfaces.emplace( in populateFruSpecificInterfaces()
296 prop.emplace(move(kw), move(vec)); in populateFruSpecificInterfaces()
300 interfaces.emplace(preIntrStr, move(prop)); in populateFruSpecificInterfaces()
347 props.emplace(busProp, prop); in populateInterfaces()
649 prop.emplace("Functional", true); in setOneTimeProperties()
650 interfaces.emplace( in setOneTimeProperties()
667 prop.emplace("Enabled", true); in setOneTimeProperties()
833 additionalData.emplace("DESCRIPTION", err); in setDevTreeEnv()
[all …]
H A Dvpd_tool_impl.cpp282 output.emplace(kw, *str); in getExtraInterfaceProperties()
296 output.emplace(kw, ""); in getExtraInterfaceProperties()
331 js.emplace("TYPE", fruType); in interfaceDecider()
404 js.emplace("Present", presence); in getPresentPropJson()
525 output.emplace(fruPath, kwVal); in readKeyword()
755 kwVal.emplace(keyword, keywordVal); in readKwFromHw()
756 output.emplace(fruPath, kwVal); in readKwFromHw()
803 svpdBusData.emplace("VSYS", vsys); in getSystemDataFromCache()
809 svpdBusData.emplace("VCEN", vcen); in getSystemDataFromCache()
815 svpdBusData.emplace("LXR0", lxr0); in getSystemDataFromCache()
[all …]
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp25 info.vlan_id.emplace(stdplus::raw::copyFrom<uint16_t>(data)); in parseVlanInfo()
41 info.kind.emplace(data); in parseLinkInfo()
67 ret.name.emplace(data.begin(), data.end() - 1); in intfFromRtm()
72 ret.mac.emplace( in intfFromRtm()
77 ret.mtu.emplace(stdplus::raw::copyFrom<unsigned>(data)); in intfFromRtm()
80 ret.parent_idx.emplace(stdplus::raw::copyFrom<unsigned>(data)); in intfFromRtm()
102 ifIdx.emplace(stdplus::raw::copyFromStrict<int>(data)); in parse()
105 gw.emplace(stdplus::raw::copyFromStrict<Addr>(data)); in parse()
145 addr.emplace(addrFromBuf(ifa.ifa_family, data)); in addrFromRtm()
/openbmc/openpower-vpd-parser/test/store/
H A Dstore.cpp20 i.emplace("SN", "1001"); in runTests()
21 i.emplace("PN", "F001"); in runTests()
22 i.emplace("DR", "Fake FRU"); in runTests()
23 vpd.emplace("VINI", i); in runTests()
/openbmc/estoraged/src/test/
H A Dutil_test.cpp108 data.emplace(std::string("Type"), in TEST()
110 data.emplace(std::string("Name"), estoraged::BasicVariantType("emmc")); in TEST()
111 data.emplace(std::string("LocationCode"), in TEST()
162 data.emplace(std::string("Type"), in TEST()
164 data.emplace(std::string("Name"), estoraged::BasicVariantType("emmc")); in TEST()
165 data.emplace(std::string("LocationCode"), in TEST()
167 data.emplace(std::string("EraseMaxGeometry"), in TEST()
169 data.emplace(std::string("EraseMinGeometry"), in TEST()
219 data.emplace(std::string("Name"), estoraged::BasicVariantType("emmc")); in TEST()
257 data.emplace(std::string("Name"), in TEST()
[all …]
/openbmc/openpower-vpd-parser/vpd-parser/
H A Disdimm_vpd_parser.cpp345 keywordValueMap.emplace("FN", move(fruNumber)); in readKeywords()
347 keywordValueMap.emplace("SN", move(serialNumber)); in readKeywords()
349 keywordValueMap.emplace("CC", move(ccin)); in readKeywords()
350 keywordValueMap.emplace("PN", move(partNumber)); in readKeywords()
352 keywordValueMap.emplace("DI", move(mfgID)); in readKeywords()
364 keywordValueMap.emplace("MemorySizeInKB", in readKeywords()
376 keywordValueMap.emplace("PN", move(displayPartNumber)); in readKeywords()
377 keywordValueMap.emplace("FN", move(fruNumber)); in readKeywords()
378 keywordValueMap.emplace("SN", move(serialNumber)); in readKeywords()
379 keywordValueMap.emplace("CC", move(ccin)); in readKeywords()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.hpp176 handlers.emplace( in Handler()
181 handlers.emplace( in Handler()
186 handlers.emplace( in Handler()
191 handlers.emplace( in Handler()
196 handlers.emplace( in Handler()
201 handlers.emplace( in Handler()
206 handlers.emplace( in Handler()
211 handlers.emplace( in Handler()
216 handlers.emplace( in Handler()
221 handlers.emplace( in Handler()
[all …]
/openbmc/pldm/host-bmc/dbus/
H A Dcustom_dbus.cpp11 location.emplace(path, in setLocationCode()
34 cpuCore.emplace(path, std::make_unique<CPUCore>( in implementCpuCoreInterface()
43 cpuCore.emplace(path, std::make_unique<CPUCore>( in setMicroCode()
63 pcieSlot.emplace(path, std::make_unique<PCIeSlot>( in implementPCIeSlotInterface()
83 pcieDevice.emplace(path, std::make_unique<PCIeDevice>( in implementPCIeDeviceInterface()
105 cable.emplace(path, std::make_unique<Cable>( in implementCableInterface()
/openbmc/s2600wf-misc/callback-manager/include/
H A Dcallback_manager.hpp56 result.emplace(threshold::critical, "", path); in setLocalAssociations()
60 result.emplace(threshold::warning, "", path); in setLocalAssociations()
64 result.emplace(threshold::warning, "", path); in setLocalAssociations()
79 result.emplace(threshold::critical, "", path); in setSensorAssociations()
87 result.emplace(threshold::warning, "", path); in setSensorAssociations()
/openbmc/phosphor-fan-presence/presence/
H A Dgpio.cpp51 source.emplace(sdeventplus::Event::get_default(), evdevfd(), EPOLLIN, in start()
106 ad.emplace("_PID", std::to_string(getpid())); in logConflict()
107 ad.emplace("CALLOUT_INVENTORY_PATH", fanInventoryPath); in logConflict()
108 ad.emplace("GPIO_NUM", std::to_string(pin)); in logConflict()
109 ad.emplace("GPIO_DEVICE_PATH", (phys.c_str())); in logConflict()
/openbmc/pldm/libpldmresponder/
H A Dbase.hpp25 handlers.emplace( in Handler()
30 handlers.emplace( in Handler()
35 handlers.emplace( in Handler()
40 handlers.emplace( in Handler()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp55 invProp.emplace("Present", present); in setPresence()
56 invProp.emplace("PrettyName", name); in setPresence()
59 invIntf.emplace("xyz.openbmc_project.Inventory.Item", in setPresence()
64 invIntf.emplace(extraIface, PropertyMap()); in setPresence()
67 invObj.emplace(std::move(invpath), std::move(invIntf)); in setPresence()
99 invProp.emplace(AVAILABLE_PROP, available); in setAvailable()
100 invIntf.emplace(AVAILABILITY_IFACE, std::move(invProp)); in setAvailable()
102 invObj.emplace(std::move(invpath), std::move(invIntf)); in setAvailable()
H A Dpower_supply.cpp946 assetProps.emplace(SN_PROP, sn); in updateInventory()
965 assetProps.emplace(MODEL_PROP, modelName); in updateInventory()
966 assetProps.emplace(PN_PROP, pn); in updateInventory()
967 assetProps.emplace(SPARE_PN_PROP, fn); in updateInventory()
969 ipzvpdVINIProps.emplace( in updateInventory()
971 ipzvpdVINIProps.emplace("PN", in updateInventory()
973 ipzvpdVINIProps.emplace("FN", in updateInventory()
976 ipzvpdVINIProps.emplace( in updateInventory()
979 ipzvpdVINIProps.emplace( in updateInventory()
991 ipzvpdDINFProps.emplace("RI", ri); in updateInventory()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Drail.cpp148 additionalData.emplace("STATUS_VOUT", in hasPgoodFaultStatusVout()
190 additionalData.emplace("GPIO_LINE", std::format("{}", line)); in hasPgoodFaultGPIO()
191 additionalData.emplace("GPIO_VALUE", std::format("{}", value)); in hasPgoodFaultGPIO()
219 additionalData.emplace("READ_VOUT", std::format("{}", vout)); in hasPgoodFaultOutputVoltage()
220 additionalData.emplace("VOUT_UV_FAULT_LIMIT", in hasPgoodFaultOutputVoltage()
243 additionalData.emplace("RAIL_NAME", name); in storePgoodFaultDebugData()
251 additionalData.emplace("STATUS_WORD", in storePgoodFaultDebugData()
/openbmc/openpower-occ-control/
H A Docc_dbus.cpp32 sensors.emplace( in setMaxValue()
59 sensors.emplace( in setMinValue()
86 sensors.emplace( in setValue()
113 sensors.emplace( in setUnit()
157 operationalStatus.emplace(path, std::make_unique<OperationalStatusIntf>( in setOperationalStatus()
192 properties.emplace("Associations", std::move(value)); in setChassisAssociation()
194 chassisAssociations.emplace( in setChassisAssociation()
/openbmc/phosphor-fan-presence/cooling-type/
H A Dcooling_type.cpp96 invProp.emplace("AirCooled", airCooled); in getObjectMap()
97 invProp.emplace("WaterCooled", waterCooled); in getObjectMap()
98 invIntf.emplace("xyz.openbmc_project.Inventory.Decorator.CoolingType", in getObjectMap()
100 invObj.emplace(objpath, std::move(invIntf)); in getObjectMap()
/openbmc/openpower-vpd-parser/vpd-manager/
H A Deditor_impl.cpp357 objects.emplace(objectPath, std::move(interfaces)); in processAndUpdateCI()
392 interfaces.emplace(extraInterface.key(), in processAndUpdateEI()
394 objects.emplace(objPath, std::move(interfaces)); in processAndUpdateEI()
425 prop.emplace(getDbusNameForThisKw(thisRecord.recKWd), in updateCache()
427 interfaces.emplace( in updateCache()
430 objects.emplace( in updateCache()
453 interfaces.emplace( in updateCache()
456 objects.emplace( in updateCache()
529 prop.emplace("LocationCode", expandedLocationCode); in expandLocationCode()
531 interfaces.emplace(IBM_LOCATION_CODE_INF, prop); in expandLocationCode()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Derror_logging.cpp75 additionalData.emplace("CALLOUT_IIC_BUS", bus); in logI2CError()
76 additionalData.emplace("CALLOUT_IIC_ADDR", addrStr); in logI2CError()
77 additionalData.emplace("CALLOUT_ERRNO", errorNumberStr); in logI2CError()
98 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logPhaseFault()
106 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logPMBusError()
115 additionalData.emplace("CALLOUT_INVENTORY_PATH", inventoryPath); in logWriteVerificationError()
215 additionalData.emplace("_PID", std::to_string(getpid())); in logError()
/openbmc/phosphor-objmgr/src/
H A Dassociations.cpp59 delayedUpdatePaths.emplace(assocPath); in scheduleUpdateEndpointsOnDbus()
198 toRemove.emplace(originalEndpoint); in checkAssociationEndpointRemoves()
292 a->second.emplace(owner, std::move(objects)); in associationChanged()
298 owners.emplace(owner, std::move(objects)); in associationChanged()
299 assocMaps.owners.emplace(path, owners); in associationChanged()
378 objects.emplace(assocPath, e); in addSingleAssociation()
389 p->second.emplace(endpoint); in addSingleAssociation()
393 o->second.emplace(assocPath, e); in addSingleAssociation()
398 a->second.emplace(owner, std::move(objects)); in addSingleAssociation()
404 owners.emplace(owner, std::move(objects)); in addSingleAssociation()
[all …]
/openbmc/phosphor-gpio-monitor/multi-presence/
H A Dgpio_presence.cpp74 invProp.emplace("Present", present); in getObjectMap()
75 invProp.emplace("PrettyName", name); in getObjectMap()
76 invIntf.emplace("xyz.openbmc_project.Inventory.Item", std::move(invProp)); in getObjectMap()
80 invIntf.emplace(iface, PropertyMap()); in getObjectMap()
82 invObj.emplace(std::move(inventory), std::move(invIntf)); in getObjectMap()
/openbmc/phosphor-gpio-monitor/presence/
H A Dgpio_presence.cpp144 invProp.emplace("Present", present); in getObjectMap()
145 invProp.emplace("PrettyName", name); in getObjectMap()
146 invIntf.emplace("xyz.openbmc_project.Inventory.Item", std::move(invProp)); in getObjectMap()
150 invIntf.emplace(iface, PropertyMap()); in getObjectMap()
152 invObj.emplace(std::move(inventory), std::move(invIntf)); in getObjectMap()
/openbmc/openpower-proc-control/extensions/phal/
H A Dcreate_pel.cpp86 additionalData.emplace("_PID", std::to_string(getpid())); in createErrorPEL()
89 additionalData.emplace(data); in createErrorPEL()
143 additionalData.emplace("_PID", std::to_string(getpid())); in createSbeErrorPEL()
144 additionalData.emplace("SBE_ERR_MSG", sbeError.what()); in createSbeErrorPEL()
148 additionalData.emplace(data); in createSbeErrorPEL()
248 additionalData.emplace("_PID", std::to_string(getpid())); in createPEL()
251 additionalData.emplace(data); in createPEL()
/openbmc/pldm/fw-update/
H A Dinventory_manager.cpp109 descriptors.emplace(descriptorType, std::move(descData)); in queryDeviceIdentifiers()
135 descriptors.emplace(descriptorType, in queryDeviceIdentifiers()
147 descriptorMap.emplace(eid, std::move(descriptors)); in queryDeviceIdentifiers()
243 componentInfo.emplace( in getFirmwareParameters()
251 componentInfoMap.emplace(eid, std::move(componentInfo)); in getFirmwareParameters()

12345678910