Home | History | Annotate | Download | only in recovery

Lines Matching defs:args

307 // command line args come from, in decreasing precedence:
333 std::vector<std::string> args(argv, argv + argc);
336 if (args.size() == 1) {
343 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it));
345 LOG(INFO) << "Got " << args.size() << " arguments from boot message";
352 if (args.size() == 1 && has_cache) {
361 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it));
363 LOG(INFO) << "Got " << args.size() << " arguments from " << COMMAND_FILE;
367 // Write the arguments (excluding the filename in args[0]) back into the
370 std::vector<std::string> options(args.cbegin() + 1, args.cend());
375 return args;
1309 static void set_retry_bootloader_message(int retry_count, const std::vector<std::string>& args) {
1311 for (const auto& arg : args) {
1393 std::vector<std::string> args = get_args(argc, argv);
1394 std::vector<char*> args_to_parse(args.size());
1395 std::transform(args.cbegin(), args.cend(), args_to_parse.begin(),
1494 for (const auto& arg : args) {
1535 set_retry_bootloader_message(retry_count, args);