Home
last modified time | relevance | path

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

12345678910

/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.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/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()
H A Dethernet_interface.cpp127 vlan.emplace(bus, this->objPath.c_str(), info.intf, *this); in EthernetInterface()
129 dhcp4Conf.emplace(bus, this->objPath + "/dhcp4", *this, DHCPType::v4); in EthernetInterface()
130 dhcp6Conf.emplace(bus, this->objPath + "/dhcp6", *this, DHCPType::v6); in EthernetInterface()
201 addrs.emplace(info.ifaddr, std::make_unique<IPAddress>( in addAddr()
226 staticNeighbors.emplace( in addStaticNeigh()
259 staticGateways.emplace(*info.gateway, in addStaticGateway()
275 addr.emplace(stdplus::fromStr<stdplus::In4Addr>(ipaddress)); in ip()
278 addr.emplace(stdplus::fromStr<stdplus::In6Addr>(ipaddress)); in ip()
302 ifaddr.emplace(*addr, prefixLength); in ip()
316 it = std::get<0>(addrs.emplace( in ip()
[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/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/openpower-vpd-parser/vpd-manager/src/
H A Dworker.cpp322 additionalData.emplace("DESCRIPTION", errorMsg); in fillVPDMap()
323 additionalData.emplace("CALLOUT_INVENTORY_PATH", in fillVPDMap()
339 /* additionalData.emplace("DESCRIPTION", "ECC check failed"); in fillVPDMap()
340 additionalData.emplace("CALLOUT_INVENTORY_PATH", in fillVPDMap()
597 propertyValueMap.emplace(move(kwd), move(value)); in populateKwdVPDpropertyMap()
602 interfacePropMap.emplace(interfaceName, propertyValueMap); in populateKwdVPDpropertyMap()
627 propertyValueMap.emplace(move(kwd), move(value)); in populateKwdVPDpropertyMap()
633 propertyValueMap.emplace(move(kwd), move(value)); in populateKwdVPDpropertyMap()
640 memProp.emplace(move(kwd), ((*keywordValue))); in populateInterfaces()
641 interfaceMap.emplace("xy in populateInterfaces()
[all...]
H A Disdimm_parser.cpp301 l_keywordValueMap.emplace("MemorySizeInKB", in readKeywords()
315 l_keywordValueMap.emplace("PN", in readKeywords()
318 l_keywordValueMap.emplace( in readKeywords()
320 l_keywordValueMap.emplace("SN", move(l_serialNumber)); in readKeywords()
321 l_keywordValueMap.emplace("CC", in readKeywords()
323 l_keywordValueMap.emplace("DI", move(l_mfgId)); in readKeywords()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp54 invProp.emplace("Present", present); in setPresence()
55 invProp.emplace("PrettyName", name); in setPresence()
58 invIntf.emplace("xyz.openbmc_project.Inventory.Item", in setPresence()
63 invIntf.emplace(extraIface, PropertyMap()); in setPresence()
66 invObj.emplace(std::move(invpath), std::move(invIntf)); in setPresence()
98 invProp.emplace(AVAILABLE_PROP, available); in setAvailable()
99 invIntf.emplace(AVAILABILITY_IFACE, std::move(invProp)); in setAvailable()
101 invObj.emplace(std::move(invpath), std::move(invIntf)); in setAvailable()
H A Dpower_supply.cpp944 assetProps.emplace(SN_PROP, sn); in updateInventory()
947 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
957 assetProps.emplace(SN_PROP, header + sn); in updateInventory()
960 versionProps.emplace(VERSION_PROP, fwVersion); in updateInventory()
963 assetProps.emplace(MODEL_PROP, modelName); in updateInventory()
964 assetProps.emplace(PN_PROP, pn); in updateInventory()
965 assetProps.emplace(SPARE_PN_PROP, fn); in updateInventory()
967 ipzvpdVINIProps.emplace( in updateInventory()
969 ipzvpdVINIProps.emplace("PN", in updateInventory()
971 ipzvpdVINIProps.emplace("FN", in updateInventory()
[all …]
/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()
H A Docc_ffdc.cpp61 additionalData.emplace("SRC6", std::to_string(src6)); in createPEL()
62 additionalData.emplace("_PID", std::to_string(getpid())); in createPEL()
63 additionalData.emplace("SBE_ERR_MSG", msg); in createPEL()
103 additionalData.emplace("_PID", std::to_string(getpid())); in createOCCResetPEL()
107 additionalData.emplace("CALLOUT_ERRNO", std::to_string(-err)); in createOCCResetPEL()
119 additionalData.emplace("CALLOUT_INVENTORY_PATH", in createOCCResetPEL()
126 additionalData.emplace("CALLOUT_DEVICE_PATH", std::string(callout)); in createOCCResetPEL()
130 additionalData.emplace("OCC", std::to_string(instance)); in createOCCResetPEL()
/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.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/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/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-objmgr/src/
H A Dassociations.cpp69 delayedUpdatePaths.emplace(assocPath); in scheduleUpdateEndpointsOnDbus()
208 toRemove.emplace(originalEndpoint); in checkAssociationEndpointRemoves()
271 objects[path + "/" + forward].emplace(objectPath); in associationChanged()
275 objects[objectPath + "/" + reverse].emplace(path); in associationChanged()
301 a->second.emplace(owner, std::move(objects)); in associationChanged()
307 owners.emplace(owner, std::move(objects)); in associationChanged()
308 assocMaps.owners.emplace(path, owners); in associationChanged()
325 assocMaps.pending.emplace(objectPath, std::move(ee)); in addPendingAssociation()
386 objects.emplace(assocPath, e); in addSingleAssociation()
397 p->second.emplace(endpoint); in addSingleAssociation()
[all …]
/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-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/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.cpp143 invProp.emplace("Present", present); in getObjectMap()
144 invProp.emplace("PrettyName", name); in getObjectMap()
145 invIntf.emplace("xyz.openbmc_project.Inventory.Item", std::move(invProp)); in getObjectMap()
149 invIntf.emplace(iface, PropertyMap()); in getObjectMap()
151 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/phosphor-fan-presence/
H A Dutility.hpp113 propertyMap.emplace(prop, value); in getObjMap()
114 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
115 objectMap.emplace(path, std::move(interfaceMap)); in getObjMap()

12345678910