/openbmc/dbus-sensors/src/ |
H A D | sensor.hpp | 233 int setSensorValue(const double& newValue, double& oldValue) in setSensorValue() 243 oldValue = newValue; in setSensorValue() 246 value = newValue; in setSensorValue() 257 oldValue = newValue; in setSensorValue() 278 "Value", value, [this](const double& newValue, double& oldValue) { in setInitialProperties() argument 279 return setSensorValue(newValue, oldValue); in setInitialProperties() 491 void updateValue(const double& newValue) in updateValue() 511 updateValueProperty(newValue); in updateValue() 512 updateInstrumentation(newValue); in updateValue() 520 if (!std::isnan(newValue)) in updateValue() [all …]
|
/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | NetworkGlobalSettings.vue | 159 set(newValue) { 160 return newValue; 168 set(newValue) { 169 return newValue; 177 set(newValue) { 178 return newValue; 186 set(newValue) { 187 return newValue; 195 set(newValue) { 196 return newValue; [all …]
|
/openbmc/webui-vue/src/views/SecurityAndAccess/Policies/ |
H A D | Policies.vue | 171 set(newValue) { 172 return newValue; 179 set(newValue) { 180 return newValue; 191 set(newValue) { 192 return newValue; 203 set(newValue) { 204 return newValue; 211 set(newValue) { 212 return newValue;
|
/openbmc/telemetry/src/ |
H A D | sensor.cpp | 51 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 D | metric.cpp | 96 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/dbus-sensors/src/intrusion/ |
H A D | ChassisIntrusionSensor.cpp | 76 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()
|
/openbmc/libbej/src/ |
H A D | bej_tree.c | 70 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 D | cpuinfo_utils.cpp | 176 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 D | Power.vue | 131 let newValue = null; 134 newValue = this.powerCapValue; 136 newValue = ''; 139 this.$store.dispatch('powerControl/setPowerCapUpdatedValue', newValue);
|
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.cpp | 635 double newValue = std::numeric_limits<double>::quiet_NaN(); in updateReading() local 638 newValue = unitModifier(conversionFormula(value)); in updateReading() 639 if (newValue != curValue && in updateReading() 640 (std::isfinite(newValue) || std::isfinite(curValue))) in updateReading() 644 valueIntf->value(newValue); in updateReading() 649 metricIntf->value(newValue); in updateReading() 655 if (newValue != curValue && in updateReading() 656 (std::isfinite(newValue) || std::isfinite(curValue))) in updateReading()
|
/openbmc/dbus-sensors/src/psu/ |
H A D | PSUEvent.cpp | 290 void PSUSubEvent::updateValue(const int& newValue) in updateValue() argument 294 if (newValue == value) in updateValue() 299 if (newValue == 0) in updateValue() 378 value = newValue; in updateValue()
|
/openbmc/libbej/include/libbej/ |
H A D | bej_tree.h | 219 void bejTreeSetInteger(struct RedfishPropertyLeafInt* node, int64_t newValue); 263 void bejTreeSetReal(struct RedfishPropertyLeafReal* node, double newValue);
|
/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 157 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 D | test_trigger.cpp | 111 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() 340 .newValue = newThresholds, in TEST_F() 352 .newValue = utils::string_utils::getTooLongName(), in TEST_F()
|
H A D | dbus_environment.hpp | 119 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 D | PresenceGpio.cpp | 50 void PresenceGpio::updateAndTracePresence(int newValue) in updateAndTracePresence() argument 52 status = (newValue != 0); in updateAndTracePresence()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_string_attribute.cpp | 138 int BIOSStringAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument 145 table::attribute_value::constructStringEntry(newValue, attrHdl, in updateAttrVal()
|
H A D | bios_integer_attribute.cpp | 212 int BIOSIntegerAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument 217 table::attribute_value::constructIntegerEntry(newValue, attrHdl, attrType, in updateAttrVal()
|
H A D | bios_integer_attribute.hpp | 63 int updateAttrVal(Table& newValue, uint16_t attrHdl, uint8_t attrType,
|
H A D | bios_config.cpp | 1035 Table newValue; in processBiosAttrChangeNotification() local 1037 newValue, attrHdl, attrType, newPropVal); in processBiosAttrChangeNotification() 1046 *attrValueSrcTable, newValue.data(), newValue.size()); in processBiosAttrChangeNotification() 1052 rc = setAttrValue(newValue.data(), newValue.size(), true, false); in processBiosAttrChangeNotification()
|
H A D | bios_string_attribute.hpp | 86 int updateAttrVal(Table& newValue, uint16_t attrHdl, uint8_t attrType,
|
H A D | bios_attribute.hpp | 77 virtual int updateAttrVal(Table& newValue, uint16_t attrHdl,
|
H A D | bios_enum_attribute.cpp | 250 int BIOSEnumAttribute::updateAttrVal(Table& newValue, uint16_t attrHdl, in updateAttrVal() argument 264 table::attribute_value::constructEnumEntry(newValue, attrHdl, attrType, in updateAttrVal()
|
/openbmc/sdbusplus/docs/ |
H A D | asio.md | 44 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 D | table.js | 584 var newValue = undefined; 586 newValue = fromValue + ',' + toValue; 589 value.val(newValue); 593 action.trigger('filtervalue', newValue);
|