Lines Matching refs:argv
771 parse_long_option(int argc, const char** argv, bool equals_only, in parse_long_option() argument
774 const char* const this_argv = argv[*i]; in parse_long_option()
828 *arg = argv[(*i)++]; in parse_long_option()
847 parse_short_option(int argc, const char** argv, int pos_in_argv_i, in parse_short_option() argument
850 const char* const this_argv = argv[*i]; in parse_short_option()
889 *arg = argv[(*i)++]; in parse_short_option()
1449 Command_line::process_one_option(int argc, const char** argv, int i, in process_one_option() argument
1452 gold_assert(argv[i][0] == '-' && !(*no_more_options)); in process_one_option()
1455 if (argv[i][1] == '-' && argv[i][2] == '\0') in process_one_option()
1466 option = parse_long_option(argc, argv, false, &arg, &new_i); in process_one_option()
1469 option->reader->parse_to_value(argv[i], arg, this, &this->options_); in process_one_option()
1479 option = parse_short_option(argc, argv, pos_in_argv_i, &arg, &new_i); in process_one_option()
1482 option->reader->parse_to_value(argv[i], arg, this, &this->options_); in process_one_option()
1489 usage(_("unknown option"), argv[i]); in process_one_option()
1495 Command_line::process(int argc, const char** argv) in process() argument
1502 if (no_more_options || argv[i][0] != '-') in process()
1504 Input_file_argument file(argv[i], in process()
1511 i = process_one_option(argc, argv, i, &no_more_options); in process()