Home
last modified time | relevance | path

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

12

/openbmc/dbus-sensors/src/
H A Dsensor.hpp234 oldValue = newValue; in setSensorValue()
237 value = newValue; in setSensorValue()
248 oldValue = newValue; in setSensorValue()
482 void updateValue(const double& newValue) in updateValue()
502 updateValueProperty(newValue); in updateValue()
503 updateInstrumentation(newValue); in updateValue()
511 if (!std::isnan(newValue)) in updateValue()
520 double& oldValue, const double& newValue, in updateProperty()
523 if (requiresUpdate(oldValue, newValue)) in updateProperty()
525 oldValue = newValue; in updateProperty()
[all …]
H A DChassisIntrusionSensor.cpp76 std::string newValue = value != 0 ? hwIntrusionValStr : normalValStr; in updateValue() local
80 if (newValue == mValue) in updateValue()
87 std::cout << "Update value from " << mValue << " to " << newValue in updateValue()
96 if (newValue == normalValStr) in updateValue()
106 mValue = newValue; in updateValue()
118 mIface->set_property("Status", newValue); in updateValue()
121 mValue = newValue; in updateValue()
H A DPSUEvent.cpp292 void PSUSubEvent::updateValue(const int& newValue) in updateValue() argument
296 if (newValue == value) in updateValue()
301 if (newValue == 0) in updateValue()
380 value = newValue; in updateValue()
/openbmc/webui-vue/src/views/SecurityAndAccess/Policies/
H A DPolicies.vue168 set(newValue) {
169 return newValue;
176 set(newValue) {
177 return newValue;
188 set(newValue) {
189 return newValue;
200 set(newValue) {
201 return newValue;
208 set(newValue) {
209 return 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()
105 void Sensor::updateValue(double newValue) in updateValue() argument
109 if (value != newValue) in updateValue()
111 value = newValue; in updateValue()
H A Dmetric.cpp97 double newValue = data.update(timestamp, value); in sensorUpdated() local
99 if (data.updateLastValue(newValue)) in sensorUpdated()
138 if (std::optional<double> newValue = data->update(timestamp)) in updateReadings() local
140 if (data->updateLastValue(*newValue)) in updateReadings()
/openbmc/webui-vue/src/views/Settings/Network/
H A DNetworkGlobalSettings.vue106 set(newValue) {
107 return newValue;
115 set(newValue) {
116 return newValue;
124 set(newValue) {
125 return newValue;
H A DTableIpv4.vue138 set(newValue) {
139 return newValue;
/openbmc/libbej/src/
H A Dbej_tree.c68 void bejTreeSetInteger(struct RedfishPropertyLeafInt* node, int64_t newValue) in bejTreeSetInteger() argument
70 node->value = newValue; in bejTreeSetInteger()
100 void bejTreeSetReal(struct RedfishPropertyLeafReal* node, double newValue) in bejTreeSetReal() argument
102 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.vue122 let newValue = null;
125 newValue = this.powerCapValue;
127 newValue = '';
130 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/telemetry/tests/src/
H A Dtest_report.cpp158 const T& newValue) in setProperty() argument
161 property, newValue); in setProperty()
178 T newValue; member
181 Matcher<T> valueAfter = Eq(newValue);
190 ASSERT_THAT(setProperty<T>(path, property, p.newValue), p.ec); in changeProperty()
397 bool newValue = !defaultParams().enabled(); in TEST_F() local
405 uint64_t newValue = ReportManager::minInterval.count() * 42; in TEST_F() local
408 newValue), in TEST_F()
411 Eq(newValue)); in TEST_F()
416 uint64_t newValue = ReportManager::minInterval.count() - 1; in TEST_F() local
[all …]
H A Dtest_trigger.cpp112 const T& newValue) in setProperty() argument
115 property, newValue); in setProperty()
122 T newValue; member
125 Matcher<T> valueAfter = Eq(newValue);
134 ASSERT_THAT(setProperty<T>(path, property, p.newValue), p.ec); in changeProperty()
338 .newValue = newThresholds, in TEST_F()
350 .newValue = utils::string_utils::getTooLongName(), in TEST_F()
H A Ddbus_environment.hpp120 const std::string& property, const T& newValue) in setProperty() argument
126 interfaceName, property, std::move(newValue), in setProperty()
/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_integer_attribute.cpp212 int BIOSIntegerAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument
217 table::attribute_value::constructIntegerEntry(newValue, attrHdl, attrType, in updateAttrVal()
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_config.cpp1036 Table newValue; in processBiosAttrChangeNotification() local
1038 newValue, attrHdl, attrType, newPropVal); in processBiosAttrChangeNotification()
1047 *attrValueSrcTable, newValue.data(), newValue.size()); in processBiosAttrChangeNotification()
1053 rc = setAttrValue(newValue.data(), newValue.size(), true, false); in processBiosAttrChangeNotification()
H A Dbios_enum_attribute.hpp67 int updateAttrVal(Table& newValue, uint16_t attrHdl, uint8_t attrType,
H A Dbios_enum_attribute.cpp249 int BIOSEnumAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument
263 table::attribute_value::constructEnumEntry(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
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dtable.js584 var newValue = undefined;
586 newValue = fromValue + ',' + toValue;
589 value.val(newValue);
593 action.trigger('filtervalue', newValue);

12