Lines Matching refs:keepAndClear
255 void BiosHandler::saveKeepAndClearToVPD(const std::string& keepAndClear) in saveKeepAndClearToVPD() argument
267 if (keepAndClear != "Enabled" && keepAndClear != "Disabled") in saveKeepAndClearToVPD()
270 << keepAndClear << std::endl; in saveKeepAndClearToVPD()
275 if (keepAndClear == "Enabled" && ((valInVPD.at(0) & 0x01) != 0x01)) in saveKeepAndClearToVPD()
279 else if (keepAndClear == "Disabled" && ((valInVPD.at(0) & 0x01) != 0)) in saveKeepAndClearToVPD()
404 std::string keepAndClear{}; in readBIOSKeepAndClear() local
409 keepAndClear = *pVal; in readBIOSKeepAndClear()
415 return keepAndClear; in readBIOSKeepAndClear()
525 void BiosHandler::saveKeepAndClearToBIOS(const std::string& keepAndClear, in saveKeepAndClearToBIOS() argument
528 if (keepAndClear.size() != 1) in saveKeepAndClearToBIOS()
531 << keepAndClear.size() << std::endl; in saveKeepAndClearToBIOS()
536 std::string toWrite = (keepAndClear.at(0) & 0x01) ? "Enabled" : "Disabled"; in saveKeepAndClearToBIOS()