Home
last modified time | relevance | path

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

1234567891011

/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()
124 motherboard.emplace(path, in implementMotherboardInterface()
134 fabricAdapter.emplace( in implementFabricAdapter()
144 board.emplace(path, in implementBoard()
154 powersupply.emplace( in implementPowerSupplyInterface()
[all …]
/openbmc/intel-ipmi-oem/include/
H A Dbiosxml.hpp397 values.emplace(a | b); in evaluateExprStack()
401 values.emplace(a & b); in evaluateExprStack()
407 values.emplace(1); in evaluateExprStack()
411 values.emplace(0); in evaluateExprStack()
417 values.emplace(1); in evaluateExprStack()
421 values.emplace(0); in evaluateExprStack()
427 values.emplace(1); in evaluateExprStack()
431 values.emplace(0); in evaluateExprStack()
437 values.emplace(1); in evaluateExprStack()
441 values.emplace(0); in evaluateExprStack()
[all …]
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp52 biosTableAttrs.emplace(attrName, value); in setBIOSTableAttr()
61 biosTableAttrs.emplace(attrName, value); in setBIOSTableAttr()
75 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_ipaddr", "0.0.0.0"); in setDefaultBIOSTableAttrsOnIntf()
76 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_gateway", "0.0.0.0"); in setDefaultBIOSTableAttrsOnIntf()
77 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_prefix_length", 0); in setDefaultBIOSTableAttrsOnIntf()
78 biosTableAttrs.emplace("vmi_" + intf + "_ipv4_method", "IPv4Static"); in setDefaultBIOSTableAttrsOnIntf()
83 biosTableAttrs.emplace("vmi_hostname", ""); in setDefaultHostnameInBIOSTableAttrs()
185 biosTableAttrs.emplace(item.first, *currValue); in setBIOSTableAttrs()
197 biosTableAttrs.emplace(item.first, *currValue); in setBIOSTableAttrs()
230 interfaces.emplace("eth0", in createIfObjects()
[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/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.hpp174 handlers.emplace( in Handler()
179 handlers.emplace( in Handler()
184 handlers.emplace( in Handler()
189 handlers.emplace( in Handler()
194 handlers.emplace( in Handler()
199 handlers.emplace( in Handler()
204 handlers.emplace( in Handler()
209 handlers.emplace( in Handler()
214 handlers.emplace( in Handler()
219 handlers.emplace( in Handler()
[all …]
/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()
256 data.emplace(std::string("Type"), estoraged::BasicVariantType("NvmeDrive")); in TEST()
[all …]
/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/s2600wf-misc/subprojects/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/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-power/phosphor-power-supply/
H A Dutil.hpp52 invProp.emplace("Present", present); in setPresence()
53 invProp.emplace("PrettyName", name); in setPresence()
56 invIntf.emplace("xyz.openbmc_project.Inventory.Item", in setPresence()
61 invIntf.emplace(extraIface, PropertyMap()); in setPresence()
64 invObj.emplace(std::move(invpath), std::move(invIntf)); in setPresence()
94 invProp.emplace(AVAILABLE_PROP, available); in setAvailable()
95 invIntf.emplace(AVAILABILITY_IFACE, std::move(invProp)); in setAvailable()
97 invObj.emplace(std::move(invpath), std::move(invIntf)); in setAvailable()
H A Dnew_power_supply.cpp966 assetProps.emplace(SN_PROP, sn); in updateInventory()
969 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
979 assetProps.emplace(SN_PROP, header + sn); in updateInventory()
982 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
985 assetProps.emplace(MODEL_PROP, modelName); in updateInventory()
986 assetProps.emplace(PN_PROP, pn); in updateInventory()
987 assetProps.emplace(SPARE_PN_PROP, fn); in updateInventory()
989 ipzvpdVINIProps.emplace( in updateInventory()
991 ipzvpdVINIProps.emplace("PN", in updateInventory()
993 ipzvpdVINIProps.emplace("FN", in updateInventory()
[all …]
H A Dpower_supply.cpp951 assetProps.emplace(SN_PROP, sn); in updateInventory()
954 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
964 assetProps.emplace(SN_PROP, header + sn); in updateInventory()
967 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
970 assetProps.emplace(MODEL_PROP, modelName); in updateInventory()
971 assetProps.emplace(PN_PROP, pn); in updateInventory()
972 assetProps.emplace(SPARE_PN_PROP, fn); in updateInventory()
974 ipzvpdVINIProps.emplace( in updateInventory()
976 ipzvpdVINIProps.emplace("PN", in updateInventory()
978 ipzvpdVINIProps.emplace("FN", in updateInventory()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dgpio.cpp50 source.emplace(sdeventplus::Event::get_default(), evdevfd(), EPOLLIN, in start()
105 ad.emplace("_PID", std::to_string(getpid())); in logConflict()
106 ad.emplace("CALLOUT_INVENTORY_PATH", fanInventoryPath); in logConflict()
107 ad.emplace("GPIO_NUM", std::to_string(pin)); in logConflict()
108 ad.emplace("GPIO_DEVICE_PATH", (phys.c_str())); in logConflict()
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/
H A Dprime_inventory.cpp204 l_propertyValueMap.emplace("Present", false); in primeInventory()
252 o_objectInterfaceMap.emplace(std::move(l_fruObjectPath), in primeInventory()
280 l_propertyMap.emplace(l_property, in populateInterfaces()
302 l_propertyMap.emplace(l_property, l_value); in populateInterfaces()
319 l_propertyMap.emplace( in populateInterfaces()
327 l_propertyMap.emplace(l_property, in populateInterfaces()
340 l_propertyMap.emplace(l_property, in populateInterfaces()
371 l_propertyMap.emplace(l_property, l_encoded); in populateInterfaces()
399 l_propertyMap.emplace(l_property, l_encodedValue); in populateInterfaces()
419 l_propertyMap.emplace(l_property, l_encodedValue); in populateInterfaces()
[all …]
/openbmc/phosphor-fan-presence/cooling-type/
H A Dcooling_type.cpp86 invProp.emplace("AirCooled", airCooled); in getObjectMap()
87 invProp.emplace("WaterCooled", waterCooled); in getObjectMap()
88 invIntf.emplace("xyz.openbmc_project.Inventory.Decorator.CoolingType", in getObjectMap()
90 invObj.emplace(objpath, std::move(invIntf)); in getObjectMap()
/openbmc/openpower-occ-control/
H A Docc_dbus.cpp30 sensors.emplace( in setMaxValue()
57 sensors.emplace( in setMinValue()
84 sensors.emplace( in setValue()
111 sensors.emplace( in setUnit()
154 operationalStatus.emplace(path, std::make_unique<OperationalStatusIntf>( in setOperationalStatus()
193 properties.emplace("Associations", std::move(value)); in setChassisAssociation()
195 chassisAssociations.emplace( in setChassisAssociation()
255 purposes.emplace( in setPurpose()
/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/phosphor-logging/lib/
H A Dlg2_commit.cpp74 result.emplace("_PID", source_item.value().dump()); in data_from_json()
79 result.emplace("_CODE_FILE", source_item.value()); in data_from_json()
84 result.emplace("_CODE_FUNC", source_item.value()); in data_from_json()
89 result.emplace("_CODE_LINE", source_item.value().dump()); in data_from_json()
98 result.emplace(item.key(), item.value()); in data_from_json()
102 result.emplace(item.key(), item.value().dump()); in data_from_json()
/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-gpio-monitor/multi-presence/
H A Dgpio_presence.cpp60 invProp.emplace("Present", present); in getObjectMap()
61 invProp.emplace("PrettyName", name); in getObjectMap()
62 invIntf.emplace("xyz.openbmc_project.Inventory.Item", std::move(invProp)); in getObjectMap()
66 invIntf.emplace(iface, PropertyMap()); in getObjectMap()
68 invObj.emplace(std::move(inventory), std::move(invIntf)); in getObjectMap()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dworker.cpp79 propertyValueMap.emplace(move(kwd), move(value)); in populateIPZVPDpropertyMap()
84 interfacePropMap.emplace(interfaceName, propertyValueMap); in populateIPZVPDpropertyMap()
109 propertyValueMap.emplace(move(kwd), move(value)); in populateKwdVPDpropertyMap()
115 propertyValueMap.emplace(move(kwd), move(value)); in populateKwdVPDpropertyMap()
122 memProp.emplace(move(kwd), ((*keywordValue))); in populateKwdVPDpropertyMap()
123 interfaceMap.emplace("xyz.openbmc_project.Inventory.Item.Dimm", in populateKwdVPDpropertyMap()
174 propertyMap.emplace(property, in populateInterfaces()
196 propertyMap.emplace(property, value); in populateInterfaces()
213 propertyMap.emplace( in populateInterfaces()
221 propertyMap.emplace( in populateInterfaces()
[all …]
/openbmc/phosphor-gpio-monitor/presence/
H A Dgpio_presence.cpp146 invProp.emplace("Present", present); in getObjectMap()
147 invProp.emplace("PrettyName", name); in getObjectMap()
148 invIntf.emplace("xyz.openbmc_project.Inventory.Item", std::move(invProp)); in getObjectMap()
152 invIntf.emplace(iface, PropertyMap()); in getObjectMap()
154 invObj.emplace(std::move(inventory), std::move(invIntf)); in getObjectMap()
/openbmc/phosphor-objmgr/src/
H A Dassociations.cpp71 delayedUpdatePaths.emplace(assocPath); in scheduleUpdateEndpointsOnDbus()
210 toRemove.emplace(originalEndpoint); in checkAssociationEndpointRemoves()
273 objects[appendPathSegment(path, forward)].emplace(objectPath); in associationChanged()
277 objects[appendPathSegment(objectPath, reverse)].emplace(path); in associationChanged()
303 a->second.emplace(owner, std::move(objects)); in associationChanged()
309 owners.emplace(owner, std::move(objects)); in associationChanged()
310 assocMaps.owners.emplace(path, owners); in associationChanged()
327 assocMaps.pending.emplace(objectPath, std::move(ee)); in addPendingAssociation()
388 objects.emplace(assocPath, e); in addSingleAssociation()
399 p->second.emplace(endpoint); in addSingleAssociation()
[all …]
/openbmc/phosphor-fan-presence/
H A Dutility.hpp109 propertyMap.emplace(prop, value); in getObjMap()
110 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
111 objectMap.emplace(path, std::move(interfaceMap)); in getObjMap()
/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()

1234567891011