Searched refs:possibleValues (Results 1 – 6 of 6) sorted by relevance
/openbmc/pldm/libpldmresponder/ |
H A D | bios_enum_attribute.cpp | 25 possibleValues.emplace_back(val); in BIOSEnumAttribute() 127 valMap.emplace(value, possibleValues[pos]); in buildValMap() 133 auto defaultValueIndex = getValueIndex(defaultValue, possibleValues); in getAttrValueIndex() 150 return getValueIndex(currentValue, possibleValues); in getAttrValueIndex() 162 return getValueIndex(std::get<std::string>(propValue), possibleValues); in getAttrValueIndex() 166 return getValueIndex(defaultValue, possibleValues); in getAttrValueIndex() 210 getPossibleValuesHandle(stringTable, possibleValues); in constructEntry() 212 defaultIndices[0] = getValueIndex(defaultValue, possibleValues); in constructEntry() 234 currValueIndices[0] = getValueIndex(currValue, possibleValues); in constructEntry() 263 getValueIndex(currentValue, possibleValues)}; in updateAttrVal() [all...] |
H A D | bios_enum_attribute.hpp | 71 std::vector<std::string> possibleValues; member in pldm::responder::bios::BIOSEnumAttribute
|
H A D | bios_config.cpp | 632 auto possibleValues = entry.at("possible_values"); in buildAndStoreStringTable() local 633 for (auto& pv : possibleValues) in buildAndStoreStringTable()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_config_test.cpp | 182 auto possibleValues = jsonEntry->at("possible_values") in TEST_F() local 190 EXPECT_EQ(strings, possibleValues); in TEST_F() 240 auto possibleValues = jsonEntry->at("possible_values") in TEST_F() local 245 EXPECT_EQ(possibleValues[indices[0]], defValues[0]); in TEST_F()
|
H A D | libpldmresponder_systemspecific_bios_test.cpp | 189 auto possibleValues = jsonEntry->at("possible_values") in TEST_F() local 197 EXPECT_EQ(strings, possibleValues); in TEST_F() 247 auto possibleValues = jsonEntry->at("possible_values") in TEST_F() local 252 EXPECT_EQ(possibleValues[indices[0]], defValues[0]); in TEST_F()
|
H A D | libpldmresponder_bios_enum_attribute_test.cpp | 26 return attribute.possibleValues; in getPossibleValues()
|