Home
last modified time | relevance | path

Searched refs:optind (Results 1 – 25 of 48) sorted by relevance

12

/toolchain/binutils/binutils-2.25/libiberty/
Dgetopt.c131 int optind = 1; variable
321 int top = optind; in exchange()
391 first_nonopt += (optind - last_nonopt); in exchange()
392 last_nonopt = optind; in exchange()
409 first_nonopt = last_nonopt = optind; in _getopt_initialize()
528 if (optind == 0 || !__getopt_initialized) in _getopt_internal()
530 if (optind == 0) in _getopt_internal()
531 optind = 1; /* Don't scan ARGV[0], the program name. */ in _getopt_internal()
541 # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ in _getopt_internal()
542 || (optind < nonoption_flags_len \ in _getopt_internal()
[all …]
Dgetopt1.c102 int this_option_optind = optind ? optind : 1; in main()
169 if (optind < argc) in main()
172 while (optind < argc) in main()
173 printf ("%s ", argv[optind++]); in main()
/toolchain/binutils/binutils-2.25/gprof/
Dgprof.c504 if (optind < argc) in main()
505 a_out_name = argv[optind++]; in main()
507 if (optind < argc) in main()
508 gmon_name = argv[optind++]; in main()
550 if (optind < argc) in main()
551 gmon_name = argv[optind]; in main()
553 while (optind++ < argc); in main()
/toolchain/binutils/binutils-2.25/binutils/
Dcxxfilt.c222 if (optind < argc) in main()
224 for ( ; optind < argc; optind++) in main()
226 demangle_it (argv[optind]); in main()
Dstrings.c259 numeric_opt = optind; in main()
294 if (optind >= argc) in main()
303 for (; optind < argc; ++optind) in main()
305 if (strcmp (argv[optind], "-") == 0) in main()
310 exit_status |= strings_file (argv[optind]) == FALSE; in main()
Dwindres.c861 if (optind == argc) in main()
863 optarg = argv [optind++]; in main()
1013 if (input_filename == NULL && optind < argc) in main()
1015 input_filename = argv[optind]; in main()
1016 ++optind; in main()
1019 if (output_filename == NULL && optind < argc) in main()
1021 output_filename = argv[optind]; in main()
1022 ++optind; in main()
1025 if (argc != optind) in main()
Ddllwrap.c771 && saved_argv[optind-1][0] == '-' in main()
772 && saved_argv[optind-1][1] == '-' in main()
773 && strchr (saved_argv[optind-1], '=')) in main()
778 dlltool_arg_indices[optind-1] = 1; in main()
781 dlltool_arg_indices[optind-2] = 1; in main()
787 driver_arg_indices[optind-1] = 0; in main()
790 driver_arg_indices[optind-2] = 0; in main()
Dsize.c235 if (optind == argc) in main()
238 for (; optind < argc;) in main()
239 display_file (argv[optind++]); in main()
Delfedit.c726 if (optind == argc in main()
733 while (optind < argc) in main()
734 status |= process_file (argv[optind++]); in main()
Daddr2line.c497 addr = argv + optind; in main()
498 naddr = argc - optind; in main()
Dsrconv.c1812 if (optind < ac) in main()
1814 input_file = av[optind]; in main()
1815 ++optind; in main()
1816 if (optind < ac) in main()
1818 output_file = av[optind]; in main()
1819 ++optind; in main()
1820 if (optind < ac) in main()
Dcoffdump.c526 if (optind < ac) in main()
528 input_file = av[optind]; in main()
Dsysdump.c705 if (optind < ac) in main()
706 input_file = av[optind]; in main()
Dwindmc.c1050 if (input_filename == NULL && optind < argc) in main()
1052 input_filename = argv[optind]; in main()
1053 ++optind; in main()
1081 if (argc != optind) in main()
Dnlmconv.c259 if (optind < argc) in main()
261 input_file = argv[optind]; in main()
262 ++optind; in main()
263 if (optind < argc) in main()
265 output_file = argv[optind]; in main()
266 ++optind; in main()
267 if (optind < argc) in main()
Dconfigure.com102 "/prefix=(all,exc=(""getopt"",""optarg"",""optopt"",""optind"",""opterr""))"
Dnm.c1682 if (optind == argc) in main()
1687 if (argc - optind > 1) in main()
1691 while (optind < argc) in main()
1694 if (!display_file (argv[optind++])) in main()
Dobjcopy.c3362 i = optind; in strip_main()
4221 if (optind == argc || optind + 2 < argc) in copy_main()
4224 input_filename = argv[optind]; in copy_main()
4225 if (optind + 1 < argc) in copy_main()
4226 output_filename = argv[optind + 1]; in copy_main()
Dar.c594 return &argv[optind]; in decode_options()
658 arg_index = optind; in ranlib_main()
Ddlltool.c4240 while (optind < ac) in main()
4243 firstarg = av[optind]; in main()
4244 scan_obj_file (av[optind]); in main()
4245 optind++; in main()
Dobjdump.c3703 if (optind == argc) in main()
3706 for (; optind < argc;) in main()
3707 display_file (argv[optind++], target); in main()
/toolchain/binutils/binutils-2.25/include/
Dgetopt.h50 extern int optind;
/toolchain/binutils/binutils-2.25/gas/
Das.c748 if ( old_argv[optind - 1][1] == 'g' in parse_args()
864 optarg = old_argv [optind - 1]; in parse_args()
879 if (optarg != old_argv[optind] && optarg[-1] == '=') in parse_args()
/toolchain/binutils/binutils-2.25/ld/
Dlexsup.c653 if (optind != last_optind) in parse_args()
660 last_optind = optind; in parse_args()
664 optind = last_optind; in parse_args()
999 if (optind == last_optind) in parse_args()
/toolchain/binutils/binutils-2.25/opcodes/
Di386-gen.c1350 if (optind != argc) in main()

12