Home
last modified time | relevance | path

Searched refs:versionVar (Results 1 – 2 of 2) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dserialize.cpp95 std::string versionVar = "pnor-" + versionId + "="; in restoreFromFile() local
96 auto varPosition = envVars.find(versionVar); in restoreFromFile()
103 priority = std::stoi(var.substr(versionVar.length())); in restoreFromFile()
/openbmc/phosphor-bmc-code-mgmt/
H A Dserialize.cpp109 std::string versionVar = flashId + "="; in restorePriority() local
110 auto varPosition = envVars.find(versionVar); in restorePriority()
117 priority = std::stoi(var.substr(versionVar.length())); in restorePriority()