Home
last modified time | relevance | path

Searched refs:privList (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Dcipher_mgmt.cpp161 auto iter = std::find(ipmi::privList.begin(), ipmi::privList.end(), value); in convertToPrivLimitIndex()
162 if (iter == privList.end()) in convertToPrivLimitIndex()
168 return static_cast<uint4_t>(std::distance(ipmi::privList.begin(), iter)); in convertToPrivLimitIndex()
173 return ipmi::privList.at(static_cast<size_t>(value)); in convertToPrivLimitString()
H A Dchannel_mgmt.cpp146 const std::array<std::string, PRIVILEGE_OEM + 1> privList = { variable
743 auto iter = std::find(privList.begin(), privList.end(), value); in convertToPrivLimitIndex()
744 if (iter == privList.end()) in convertToPrivLimitIndex()
750 return static_cast<CommandPrivilege>(std::distance(privList.begin(), iter)); in convertToPrivLimitIndex()
755 if (privList.size() <= value) in convertToPrivLimitString()
761 return privList.at(value); in convertToPrivLimitString()
H A Dchannel_layer.hpp36 extern const std::array<std::string, PRIVILEGE_OEM + 1> privList;
/openbmc/bmcweb/redfish-core/lib/
H A Droles.hpp142 const std::vector<std::string>& privList) { in requestRoutesRoleCollection() argument
151 for (const std::string& priv : privList) in requestRoutesRoleCollection()