Home | History | Annotate | Download | only in fastboot

Lines Matching defs:syntax_error

315 static void syntax_error(const char* fmt, ...) {
1303 if (args->empty()) syntax_error("expected argument");
1310 if (args->empty()) syntax_error("missing unlock_bootloader request");
1322 if (args->empty()) syntax_error("empty oem command");
1641 if (argc == 0 && !wants_wipe && !wants_set_active) syntax_error("no command");
1743 syntax_error("unknown reboot target %s", what.c_str());
1747 if (!args.empty()) syntax_error("junk after reboot command");
1840 syntax_error("missing 'flashing' command");
1851 syntax_error("unknown 'flashing' command %s", args[0].c_str());
1854 syntax_error("unknown command %s", command.c_str());