Home
last modified time | relevance | path

Searched refs:currentValue (Results 1 – 18 of 18) sorted by relevance

/openbmc/bmcweb/test/redfish-core/lib/
H A Dsystems_logservices_postcode.cpp17 uint64_t currentValue = 0; in TEST() local
19 EXPECT_TRUE(parsePostCode("B1-2", currentValue, index)); in TEST()
20 EXPECT_EQ(currentValue, 2); in TEST()
22 EXPECT_TRUE(parsePostCode("B200-300", currentValue, index)); in TEST()
23 EXPECT_EQ(currentValue, 300); in TEST()
26 EXPECT_FALSE(parsePostCode("", currentValue, index)); in TEST()
27 EXPECT_FALSE(parsePostCode("B", currentValue, index)); in TEST()
28 EXPECT_FALSE(parsePostCode("B1", currentValue, index)); in TEST()
29 EXPECT_FALSE(parsePostCode("B1-", currentValue, index)); in TEST()
30 EXPECT_FALSE(parsePostCode("B1A-2", currentValue, index)); in TEST()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios_integer_attribute.cpp57 auto currentValue = in setAttrValueOnDbus() local
63 static_cast<uint8_t>(currentValue)); in setAttrValueOnDbus()
68 *dBusMap, static_cast<uint16_t>(currentValue)); in setAttrValueOnDbus()
73 static_cast<int16_t>(currentValue)); in setAttrValueOnDbus()
78 *dBusMap, static_cast<uint32_t>(currentValue)); in setAttrValueOnDbus()
83 static_cast<int32_t>(currentValue)); in setAttrValueOnDbus()
87 return dbusHandler->setDbusProperty(*dBusMap, currentValue); in setAttrValueOnDbus()
92 static_cast<int64_t>(currentValue)); in setAttrValueOnDbus()
97 static_cast<double>(currentValue)); in setAttrValueOnDbus()
121 int64_t currentValue{}; in constructEntry() local
[all …]
H A Dplatform_numeric_effecter.hpp193 uint8_t currentValue = *(reinterpret_cast<uint8_t*>(&effecterValue[0])); in convertToDbusValue() local
194 return getEffecterRawValue<uint8_t>(pdr, currentValue, propertyType); in convertToDbusValue()
198 int8_t currentValue = *(reinterpret_cast<int8_t*>(&effecterValue[0])); in convertToDbusValue() local
199 return getEffecterRawValue<int8_t>(pdr, currentValue, propertyType); in convertToDbusValue()
203 uint16_t currentValue = in convertToDbusValue() local
205 return getEffecterRawValue<uint16_t>(pdr, currentValue, propertyType); in convertToDbusValue()
209 int16_t currentValue = *(reinterpret_cast<int16_t*>(&effecterValue[0])); in convertToDbusValue() local
210 return getEffecterRawValue<int16_t>(pdr, currentValue, propertyType); in convertToDbusValue()
214 uint32_t currentValue = in convertToDbusValue() local
216 return getEffecterRawValue<uint32_t>(pdr, currentValue, propertyType); in convertToDbusValue()
[all …]
H A Dbios_enum_attribute.cpp149 auto currentValue = iter->second; in getAttrValueIndex() local
150 return getValueIndex(currentValue, possibleValues); in getAttrValueIndex()
261 auto currentValue = iter->second; in updateAttrVal() local
263 getValueIndex(currentValue, possibleValues)}; in updateAttrVal()
H A Dbios_config.cpp289 CurrentValue currentValue{}; in checkAttributeValueTable() local
402 currentValue = getValue(pvHandls[handles[i]], *stringTable); in checkAttributeValueTable()
427 currentValue = static_cast<int64_t>( in checkAttributeValueTable()
458 currentValue = std::string( in checkAttributeValueTable()
496 description, menuPath, currentValue, defaultValue, in checkAttributeValueTable()
607 std::get<static_cast<uint8_t>(Index::currentValue)>( in buildAndStoreAttrTables()
1123 menuPath, currentValue, defaultValue, in constructPendingAttribute()
1129 if (attributeType == attrType && attributevalue != currentValue) in constructPendingAttribute()
H A Dbios_config.hpp153 currentValue, enumerator
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp270 double currentValue = dbusObject->value(); in setValueToNaN() local
277 if (!std::isnan(currentValue)) in setValueToNaN()
290 double currentValue = dbusObject->value(); in shouldUpdateValue() local
295 if (std::isnan(currentValue)) in shouldUpdateValue()
305 shouldUpdate = (std::abs(value - currentValue) >= hysteresis); in shouldUpdateValue()
308 shouldUpdate = (value > currentValue); in shouldUpdateValue()
311 shouldUpdate = (value < currentValue); in shouldUpdateValue()
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Di2c_write_byte_action.cpp42 uint8_t currentValue{0x00}; in execute() local
43 interface.read(reg, currentValue); in execute()
46 valueToWrite = (value & mask) | (currentValue & (~mask)); in execute()
/openbmc/webui-vue/src/store/modules/HardwareStatus/
H A DSensorsStore.js63 currentValue: response.data.Reading, property in AnonymousClass41fa655b0501
84 currentValue: sensor.Reading, property in AnonymousClass41fa655b0801
96 currentValue: sensor.ReadingCelsius, property in AnonymousClass41fa655b0901
116 currentValue: sensor.ReadingVolts,
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems_logservices_postcodes.hpp123 inline bool parsePostCode(std::string_view postCodeID, uint64_t& currentValue, in parsePostCode() argument
152 postCodeIndex.begin(), postCodeIndex.end(), currentValue); in parsePostCode()
497 uint64_t currentValue = 0; in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet() local
499 if (!parsePostCode(postCodeID, currentValue, index)) in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
506 [asyncResp, postCodeID, currentValue]( in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
523 size_t value = static_cast<size_t>(currentValue) - 1; in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
524 if (value == std::string::npos || postcodes.size() < currentValue) in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DHPSpecific.pm996 my $currentValue=`$ch_rc -l -p $key`;
997 chomp $currentValue;
1008 return $currentValue;
1026 my $currentValue=&B_get_rc($key);
1027 if(defined $currentValue ) {
1028 if ($currentValue =~ /^\"(.*)\"$/ ) {
1029 $currentValue = '"\"' . $1 . '\""';
1035 "$ch_rc -a -p $key=$currentValue $configfile") ) {
/openbmc/phosphor-buttons/src/
H A Dgpio.cpp192 uint32_t currentValue; in configGpio() local
197 stream >> currentValue; in configGpio()
208 const char* direction = currentValue ? "high" : "low"; in configGpio()
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp328 const TriggerThresholdParams currentValue = in TEST_F() local
339 {.valueBefore = Eq(currentValue), in TEST_F()
342 .valueAfter = Eq(currentValue)}); in TEST_F()
347 std::string currentValue = TriggerParams().name(); in TEST_F() local
351 {.valueBefore = Eq(currentValue), in TEST_F()
354 .valueAfter = Eq(currentValue)}); in TEST_F()
/openbmc/webui-vue/src/views/HardwareStatus/Sensors/
H A DSensors.vue82 <template #cell(currentValue)="data">
183 key: 'currentValue',
185 label: i18n.global.t('pageSensors.table.currentValue'),
/openbmc/bios-settings-mgr/include/
H A Dmanager.hpp167 currentValue, enumerator
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dobmc-flash-bmc389 currentValue="$(fw_printenv -n "${varName}" 2>/dev/null)" || true
390 if [[ "${currentValue}" != "${value}" ]]; then
/openbmc/bios-settings-mgr/src/
H A Dmanager.cpp76 std::get<static_cast<uint8_t>(Index::currentValue)>(iter->second); in getAttribute()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery-3.7.1.min.map1 …,"adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","initial","uni…