Lines Matching defs:boot
35 static int ExceptionUpdater(int argc, char **argv, UpdateMessage &boot)
42 if (snprintf_s(boot.update, sizeof(boot.update), sizeof(boot.update) - 1, "--update_package=%s",
77 struct UpdateMessage boot {};
80 if (ExceptionUpdater(argc, argv, boot) == -1) {
84 if (strncpy_s(boot.update, sizeof(boot.update), "--user_wipe_data", sizeof(boot.update) - 1) != 0) {
89 if (strncpy_s(boot.update, sizeof(boot.update), "boot_flash", sizeof(boot.update) - 1) != 0) {
96 if (strncpy_s(boot.update, sizeof(boot.update), "--sdcard_update", sizeof(boot.update) - 1) != 0) {
109 bool ret = WriteUpdaterMessage(miscFile, boot);