Home
last modified time | relevance | path

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

/openbmc/bios-settings-mgr/src/
H A Dmanager.cpp107 const std::string& attrValue, in validateEnumOption() argument
114 (attrValue == std::get<std::string>(std::get<1>(enumOptions)))) in validateEnumOption()
125 const std::string& attrValue, in validateStringOption() argument
147 if (attrValue.length() < minStringLength || in validateStringOption()
148 attrValue.length() > maxStringLength) in validateStringOption()
152 "ATTRVALUE", attrValue, "MAXLEN", maxStringLength, "MINLEN", in validateStringOption()
161 const int64_t& attrValue, in validateIntegerOption() argument
185 if ((attrValue < lowerBound) || (attrValue > upperBound)) in validateIntegerOption()
192 ((std::abs(attrValue - lowerBound)) % scalarIncrement) != 0) in validateIntegerOption()
196 "ATTR_VALUE", attrValue, "LOWER_BOUND", lowerBound, in validateIntegerOption()
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dutils.cpp116 const std::string& attrValue) in setPendingAttributes() argument
127 std::make_pair(attrName, std::make_tuple(dbusAttrType, attrValue))); in setPendingAttributes()
143 entry("ATTRIBUTE_VALUE=%s", attrValue.c_str())); in setPendingAttributes()
/openbmc/bios-settings-mgr/include/
H A Dmanager.hpp173 const std::string& attrValue,
179 const std::string& attrValue,
185 const int64_t& attrValue,
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp46 std::string attrName, std::variant<std::string, int64_t> attrValue, in setBIOSTableAttr() argument
54 int64_t value = std::get<int64_t>(attrValue); in setBIOSTableAttr()
63 std::string value = std::get<std::string>(attrValue); in setBIOSTableAttr()
H A Dhyp_network_manager.hpp88 std::variant<std::string, int64_t> attrValue,
/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp779 app->add_option("-d, --data", attrValue, "pldm attribute value") in SetBIOSAttributeCurrentValue()
828 attrValue.c_str()); in exec()
872 attrValue.size()); in exec()
878 attrType, attrValue.size(), attrValue.c_str()); in exec()
891 uint64_t value = std::stoll(attrValue); in exec()
950 std::string attrValue; member in pldmtool::bios::SetBIOSAttributeCurrentValue