Home
last modified time | relevance | path

Searched refs:emplace (Results 26 – 50 of 245) sorted by relevance

12345678910

/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()
/openbmc/phosphor-state-manager/
H A Dsecure_boot_check.cpp56 additionalData.emplace("ERROR", errorMsg); in checkTpmMeasurement()
178 additionalData.emplace("SECURE_BOOT_GPIO", in main()
180 additionalData.emplace("SYSFS_SECURE_BOOT_VAL", in main()
182 additionalData.emplace("SYSFS_ABR_IMAGE_VAL", in main()
/openbmc/openpower-vpd-parser/
H A Dwritefru.mako.hpp84 interfaces.emplace("${interface}",
96 interfaces.emplace(entry.first, entry.second);
100 objects.emplace(std::move(object), std::move(interfaces));
H A Dargs.cpp84 args.emplace(which->name, std::move(values)); in parse()
89 args.emplace(which->name, std::vector<std::string>{}); in parse()
/openbmc/ibm-logging/
H A Dmanager.cpp119 interfaces.emplace(type, object); in addInterface()
120 entries.emplace(id, std::move(interfaces)); in addInterface()
124 entry->second.emplace(type, object); in addInterface()
143 interfaces.emplace(type, std::move(objects)); in addChildInterface()
144 childEntries.emplace(id, std::move(interfaces)); in addChildInterface()
152 entry->second.emplace(type, objects); in addChildInterface()
/openbmc/openpower-vpd-parser/vpd-parser/
H A Dmemory_vpd_parser.cpp359 map.emplace("MemorySizeInKB", dimmSize); in readKeywords()
374 map.emplace("FN", partNumber); in readKeywords()
375 map.emplace("PN", move(partNumber)); in readKeywords()
376 map.emplace("SN", move(serialNumber)); in readKeywords()
377 map.emplace("CC", move(ccin)); in readKeywords()
378 map.emplace("DI", move(mfgId)); in readKeywords()
/openbmc/openpower-occ-control/
H A Docc_ffdc.cpp64 additionalData.emplace("SRC6", std::to_string(src6)); in createPEL()
65 additionalData.emplace("_PID", std::to_string(getpid())); in createPEL()
66 additionalData.emplace("SBE_ERR_MSG", msg); in createPEL()
107 additionalData.emplace("_PID", std::to_string(getpid())); in createOCCResetPEL()
111 additionalData.emplace("CALLOUT_ERRNO", std::to_string(-err)); in createOCCResetPEL()
116 additionalData.emplace("CALLOUT_DEVICE_PATH", std::string(callout)); in createOCCResetPEL()
119 additionalData.emplace("OCC", std::to_string(instance)); in createOCCResetPEL()
/openbmc/pldm/libpldmresponder/
H A Dfru.hpp268 handlers.emplace( in Handler()
273 handlers.emplace( in Handler()
278 handlers.emplace( in Handler()
283 handlers.emplace( in Handler()
H A Dplatform.hpp75 handlers.emplace(
80 handlers.emplace(
85 handlers.emplace(
90 handlers.emplace(
95 handlers.emplace(
100 handlers.emplace(
138 eventHandlers.emplace(iter->first, iter->second);
H A Dfru_parser.cpp77 interfaces.emplace(intf); in setupDefaultDBusLookup()
80 lookupInfo.emplace(service, rootPath, std::move(interfaces)); in setupDefaultDBusLookup()
167 recordMap.emplace(dbusIntfName, recordInfos); in setupFruRecordMap()
H A Dbios.cpp78 handlers.emplace( in Handler()
83 handlers.emplace( in Handler()
88 handlers.emplace( in Handler()
93 handlers.emplace( in Handler()
98 handlers.emplace( in Handler()
104 handlers.emplace( in Handler()
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.cpp125 vlan.emplace(bus, this->objPath.c_str(), info.intf, *this); in EthernetInterface()
127 dhcp4Conf.emplace(bus, this->objPath + "/dhcp4", *this, DHCPType::v4); in EthernetInterface()
195 addrs.emplace(info.ifaddr, std::make_unique<IPAddress>( in addAddr()
220 staticNeighbors.emplace( in addStaticNeigh()
263 ifaddr.emplace(*addr, prefixLength); in ip()
277 it = std::get<0>(addrs.emplace( in ip()
303 addr.emplace(stdplus::fromStr<stdplus::InAnyAddr>(ipAddress)); in neighbor()
329 it = std::get<0>(staticNeighbors.emplace( in neighbor()
587 mac.emplace(stdplus::fromStr<stdplus::EtherAddr>(macStr)); in createVLAN()
606 manager.get().interfaces.emplace(intfName, std::move(vlanIntf)); in createVLAN()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Derror_reporter.cpp74 _fanStates.emplace(path, getPresence(fanData)); in ErrorReporter()
84 _fanMissingTimers.emplace( in ErrorReporter()
154 additionalData.emplace("_PID", std::to_string(getpid())); in fanMissingTimerExpired()
155 additionalData.emplace("CALLOUT_INVENTORY_PATH", fanPath); in fanMissingTimerExpired()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp112 activations.emplace(versionId, std::move(activation)); in createActivation()
116 versions.emplace(versionId, std::move(versionPtr)); in createActivation()
205 psuPathActivationMap.emplace(psuInventoryPath, it->second); in onUpdateDone()
233 psuPathActivationMap.emplace(psuInventoryPath, it->second); in createPsuObject()
247 activations.emplace(versionId, std::move(activation)); in createPsuObject()
248 psuPathActivationMap.emplace(psuInventoryPath, activations[versionId]); in createPsuObject()
252 versions.emplace(versionId, std::move(versionPtr)); in createPsuObject()
502 activations.emplace(versionId, std::move(activation)); in scanDirectory()
506 versions.emplace(versionId, std::move(versionPtr)); in scanDirectory()
/openbmc/telemetry/src/utils/
H A Dthreshold_operations.hpp46 newSensorDetails.emplace(*it); in updateSensors()
51 newSensorDetails.emplace( in updateSensors()
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__as_awaitable.hpp62 __result_->template emplace<1>(static_cast<_Us&&>(__us)...); in set_value()
76 __result_->template emplace<2>(static_cast<_Error&&>(__err)); in set_error()
78 __result_->template emplace<2>( in set_error()
81 __result_->template emplace<2>( in set_error()
/openbmc/openpower-vpd-parser/vpd-manager/
H A DgpioMonitor.cpp131 presProp.emplace("Present", false); in toggleGpio()
132 interfaces.emplace("xyz.openbmc_project.Inventory.Item", presProp); in toggleGpio()
133 objects.emplace(objectPath, move(interfaces)); in toggleGpio()
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dtask.hpp279 __stop_callback_.emplace<__stop_callback_t>( in __default_awaiter_context()
301 __data_.template emplace<0>(std::move(value)); in return_value()
315 __data_.template emplace<0>(__void{}); in return_void()
422 this->__data_.template emplace<1>(std::current_exception()); in unhandled_exception()
500 __coro_.promise().__context_.emplace(__parent_promise_t(), in await_suspend()
502 __context_.emplace(*__coro_.promise().__context_, in await_suspend()
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.cpp138 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::high}, in findAlarms()
140 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::low}, in findAlarms()
200 alarms.emplace(alarmKey, nullptr); in propertiesChanged()
212 alarms.emplace(alarmKey, nullptr); in propertiesChanged()
455 ad.emplace("SENSOR_VALUE", std::to_string(*sensorValue)); in createEventLog()
463 ad.emplace("SEVERITY_DETAIL", "SYSTEM_TERM"); in createEventLog()
H A Dthreshold_alarm_logger.cpp302 ad.emplace("SENSOR_NAME", sensorPath); in createEventLog()
303 ad.emplace("_PID", std::to_string(getpid())); in createEventLog()
310 ad.emplace("SENSOR_VALUE", std::to_string(sensorValue)); in createEventLog()
331 ad.emplace("CALLOUT_INVENTORY_PATH", callout); in createEventLog()
346 ad.emplace("THRESHOLD_VALUE", std::to_string(thresholdValue)); in createEventLog()
/openbmc/phosphor-fan-presence/monitor/
H A Dfan_error.cpp134 ad.emplace("_PID", std::to_string(getpid())); in getAdditionalData()
138 ad.emplace("CALLOUT_INVENTORY_PATH", _fanName); in getAdditionalData()
143 ad.emplace("FAN_SENSOR", _sensorName); in getAdditionalData()
151 ad.emplace("SEVERITY_DETAIL", "SYSTEM_TERM"); in getAdditionalData()
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Daction_environment.hpp91 additionalErrorData.emplace(key, value); in addAdditionalErrorData()
102 phaseFaults.emplace(type); in addPhaseFault()
/openbmc/openpower-hw-diags/util/
H A Dpldm.cpp158 entityInstMap.emplace(key, static_cast<uint16_t>(pdrPtr->sensor_id)); in fetchSensorInfo()
165 sensorInstanceMap.emplace(pair.second, position); in fetchSensorInfo()
237 entityInstMap.emplace(key, static_cast<uint16_t>(pdrPtr->effecter_id)); in fetchEffecterInfo()
244 instanceToEffecterMap.emplace(position, pair.second); in fetchEffecterInfo()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp382 usersList.emplace( in createUser()
1205 userInfo.emplace("UserGroups", user.get()->userGroups()); in getUserInfo()
1207 userInfo.emplace("UserLockedForFailedAttempt", in getUserInfo()
1209 userInfo.emplace("UserPasswordExpired", in getUserInfo()
1211 userInfo.emplace("RemoteUser", false); in getUserInfo()
1285 userInfo.emplace("UserPrivilege", userPrivilege); in getUserInfo()
1291 userInfo.emplace("UserPrivilege", "priv-user"); in getUserInfo()
1299 userInfo.emplace("RemoteUser", true); in getUserInfo()
1431 groupLists.emplace(grp, sshGrpUsersList); in initUserObjects()
1436 groupLists.emplace(grp, grpUsersList); in initUserObjects()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dthermal.hpp89 allCollections.emplace("Temperatures", in requestRoutesThermal()
94 allCollections.emplace("Fans", *std::move(fanCollections)); in requestRoutesThermal()

12345678910