Lines Matching defs:boot
738 struct UpdateMessage boot {};
740 if (!ReadUpdaterMiscMsg(boot)) {
743 // if boot.update is empty, read from command.The Misc partition may have dirty data,
744 // so strlen(boot.update) is not used, which can cause system exceptions.
745 if (boot.update[0] == '\0' && !access(COMMAND_FILE, 0)) {
746 if (!ReadUpdaterMessage(COMMAND_FILE, boot)) {
751 boot.update[sizeof(boot.update) - 1] = '\0';
752 std::vector<std::string> parseParams = Utils::SplitString(boot.update, "\n");
955 if (GetParameter("ohos.boot.chiptype", "", deviceType, sizeof(deviceType) - 1) <= 0) {