Lines Matching refs:value
49 uint8_t BIOSEnumAttribute::getValueIndex(const std::string& value, in getValueIndex() argument
52 auto iter = std::find_if(pVs.begin(), pVs.end(), [&value](const auto& v) { in getValueIndex()
53 return v == value; in getValueIndex()
77 PropertyValue value; in buildValMap() local
83 value = static_cast<uint8_t>(it.value()); in buildValMap()
87 value = static_cast<uint16_t>(it.value()); in buildValMap()
91 value = static_cast<uint32_t>(it.value()); in buildValMap()
95 value = static_cast<uint64_t>(it.value()); in buildValMap()
99 value = static_cast<int16_t>(it.value()); in buildValMap()
103 value = static_cast<int32_t>(it.value()); in buildValMap()
107 value = static_cast<int64_t>(it.value()); in buildValMap()
111 value = static_cast<bool>(it.value()); in buildValMap()
115 value = static_cast<double>(it.value()); in buildValMap()
119 value = static_cast<std::string>(it.value()); in buildValMap()
127 valMap.emplace(value, possibleValues[pos]); in buildValMap()
230 auto attributeValue = optAttributeValue.value(); in constructEntry()
278 std::string value = std::get<std::string>(attributevalue); in generateAttributeEntry() local
280 entry->value[0] = 1; // number of current values, default 1 in generateAttributeEntry()
281 entry->value[1] = getAttrValueIndex(value); in generateAttributeEntry()