Home
last modified time | relevance | path

Searched refs:possibleValues (Results 1 – 6 of 6) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dbios_enum_attribute.cpp25 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 Dbios_enum_attribute.hpp71 std::vector<std::string> possibleValues; member in pldm::responder::bios::BIOSEnumAttribute
H A Dbios_config.cpp632 auto possibleValues = entry.at("possible_values"); in buildAndStoreStringTable() local
633 for (auto& pv : possibleValues) in buildAndStoreStringTable()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_config_test.cpp182 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 Dlibpldmresponder_systemspecific_bios_test.cpp189 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 Dlibpldmresponder_bios_enum_attribute_test.cpp26 return attribute.possibleValues; in getPossibleValues()