Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/dbus-sensors/src/
H A Dsensor.hpp240 int setSensorValue(const double& newValue, double& oldValue) in setSensorValue()
250 oldValue = newValue; in setSensorValue()
253 value = newValue; in setSensorValue()
264 oldValue = newValue; in setSensorValue()
285 "Value", value, [this](const double& newValue, double& oldValue) { in setInitialProperties() argument
286 return setSensorValue(newValue, oldValue); in setInitialProperties()
498 void updateValue(const double& newValue) in updateValue()
518 updateValueProperty(newValue); in updateValue()
519 updateInstrumentation(newValue); in updateValue()
527 if (!std::isnan(newValue)) in updateValue()
[all …]
/openbmc/webui-vue/src/views/Settings/Network/
H A DNetworkGlobalSettings.vue165 set(newValue) {
166 return newValue;
174 set(newValue) {
175 return newValue;
183 set(newValue) {
184 return newValue;
192 set(newValue) {
193 return newValue;
201 set(newValue) {
202 return newValue;
[all …]
H A DModalDns.vue86 handler(newValue) {
87 if (newValue) {
H A DModalMacAddress.vue89 handler(newValue) {
90 if (newValue) {
H A DModalHostname.vue90 handler(newValue) {
91 if (newValue) {
H A DModalDefaultGateway.vue94 handler(newValue) {
95 if (newValue) {
/openbmc/telemetry/src/
H A Dsensor.cpp51 boost::system::error_code ec, double newValue) { in async_read() argument
62 self->updateValue(newValue); in async_read()
106 void Sensor::updateValue(double newValue) in updateValue() argument
110 if (value != newValue) in updateValue()
112 value = newValue; in updateValue()
H A Dmetric.cpp96 double newValue = data.update(timestamp, value); in sensorUpdated() local
98 if (data.updateLastValue(newValue)) in sensorUpdated()
137 if (std::optional<double> newValue = data->update(timestamp)) in updateReadings() local
139 if (data->updateLastValue(*newValue)) in updateReadings()
/openbmc/webui-vue/src/views/SecurityAndAccess/Policies/
H A DPolicies.vue189 set(newValue) {
190 return newValue;
197 set(newValue) {
198 return newValue;
209 set(newValue) {
210 return newValue;
221 set(newValue) {
222 return newValue;
229 set(newValue) {
230 return newValue;
/openbmc/dbus-sensors/src/intrusion/
H A DChassisIntrusionSensor.cpp75 std::string newValue = value != 0 ? hwIntrusionValStr : normalValStr; in updateValue() local
79 if (newValue == mValue) in updateValue()
85 "NEWVALUE", newValue); in updateValue()
92 if (newValue == normalValStr) in updateValue()
102 mValue = newValue; in updateValue()
114 mIface->set_property("Status", newValue); in updateValue()
117 mValue = newValue; in updateValue()
/openbmc/libbej/src/
H A Dbej_tree.c70 void bejTreeSetInteger(struct RedfishPropertyLeafInt* node, int64_t newValue) in bejTreeSetInteger() argument
72 node->value = newValue; in bejTreeSetInteger()
102 void bejTreeSetReal(struct RedfishPropertyLeafReal* node, double newValue) in bejTreeSetReal() argument
104 node->value = newValue; in bejTreeSetReal()
/openbmc/smbios-mdr/src/
H A Dcpuinfo_utils.cpp176 boost::system::error_code ec, const PropertyType& newValue) { in subscribeToProperty() argument
183 handler(newValue); in subscribeToProperty()
194 for (const auto& [changedProp, newValue] : changedProps) in subscribeToProperty()
198 const auto* actualVal = std::get_if<PropertyType>(&newValue); in subscribeToProperty()
/openbmc/webui-vue/src/views/ResourceManagement/
H A DPower.vue132 let newValue = null;
135 newValue = this.powerCapValue;
137 newValue = '';
140 this.$store.dispatch('powerControl/setPowerCapUpdatedValue', newValue);
/openbmc/libbej/include/libbej/
H A Dbej_tree.h219 void bejTreeSetInteger(struct RedfishPropertyLeafInt* node, int64_t newValue);
263 void bejTreeSetReal(struct RedfishPropertyLeafReal* node, double newValue);
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp289 void PSUSubEvent::updateValue(const int& newValue) in updateValue() argument
293 if (newValue == value) in updateValue()
298 if (newValue == 0) in updateValue()
377 value = newValue; in updateValue()
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp157 const std::string& path, const std::string& property, const T& newValue) in setProperty() argument
160 property, newValue); in setProperty()
176 T newValue; member
179 Matcher<T> valueAfter = Eq(newValue);
188 ASSERT_THAT(setProperty<T>(path, property, p.newValue), p.ec); in changeProperty()
419 bool newValue = !defaultParams().enabled(); in TEST_F() local
420 EXPECT_THAT(setProperty(sut->getPath(), "Enabled", newValue).value(), in TEST_F()
422 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), Eq(newValue)); in TEST_F()
427 uint64_t newValue = ReportManager::minInterval.count() * 42; in TEST_F() local
430 newValue), in TEST_F()
[all …]
H A Dtest_trigger.cpp111 const std::string& path, const std::string& property, const T& newValue) in setProperty() argument
114 property, newValue); in setProperty()
121 T newValue; member
124 Matcher<T> valueAfter = Eq(newValue);
133 ASSERT_THAT(setProperty<T>(path, property, p.newValue), p.ec); in changeProperty()
349 .newValue = newThresholds, in TEST_F()
361 .newValue = utils::string_utils::getTooLongName(), in TEST_F()
H A Ddbus_environment.hpp119 const std::string& property, const T& newValue) in setProperty() argument
125 interfaceName, property, std::move(newValue), in setProperty()
/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp50 void PresenceGpio::updateAndTracePresence(int newValue) in updateAndTracePresence() argument
52 status = (newValue != 0); in updateAndTracePresence()
/openbmc/pldm/libpldmresponder/
H A Dbios_string_attribute.cpp138 int BIOSStringAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument
145 table::attribute_value::constructStringEntry(newValue, attrHdl, in updateAttrVal()
H A Dbios_integer_attribute.hpp63 int updateAttrVal(Table& newValue, uint16_t attrHdl, uint8_t attrType,
H A Dbios_string_attribute.hpp86 int updateAttrVal(Table& newValue, uint16_t attrHdl, uint8_t attrType,
H A Dbios_attribute.hpp77 virtual int updateAttrVal(Table& newValue, uint16_t attrHdl,
H A Dbios_integer_attribute.cpp212 int BIOSIntegerAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument
217 table::attribute_value::constructIntegerEntry(newValue, attrHdl, attrType, in updateAttrVal()
/openbmc/sdbusplus/docs/
H A Dasio.md44 bool setHandler(const PropertyType& newValue, PropertyType& value);
51 `value = newValue` to make the set operation take effect and return true. If the

12