Home
last modified time | relevance | path

Searched refs:syntax_error (Results 1 – 3 of 3) sorted by relevance

/aosp14/system/core/fastboot/
H A Dfastboot.cpp528 void syntax_error(const char* fmt, ...) { in syntax_error() function
1987 if (args->empty()) syntax_error("expected argument"); in next_arg()
1994 if (args->empty()) syntax_error("empty oem command"); in do_oem_command()
2460 if (!args.empty()) syntax_error("junk after reboot command"); in Main()
2546 syntax_error("missing 'flashing' command"); in Main()
2568 if (args.empty()) syntax_error("invalid gsi command"); in Main()
2596 syntax_error("unknown command %s", command.c_str()); in Main()
2626 syntax_error("OS patch level should be YYYY-MM-DD: %s", arg); in ParseOsPatchLevel()
2641 syntax_error("bad OS version: %s", arg); in ParseOsVersion()
2650 if (options.size() < 1) syntax_error("bad options: %s", arg); in ParseFsOption()
[all …]
H A Dfastboot.h132 void syntax_error(const char* fmt, ...);
H A Dtask.cpp83 syntax_error("unknown reboot target %s", reboot_target_.c_str()); in Run()