/toolchain/binutils/binutils-2.25/libiberty/ |
D | argv.c | 67 int argc; in dupargv() local 74 for (argc = 0; argv[argc] != NULL; argc++); in dupargv() 75 copy = (char **) xmalloc ((argc + 1) * sizeof (char *)); in dupargv() 78 for (argc = 0; argv[argc] != NULL; argc++) in dupargv() 80 int len = strlen (argv[argc]); in dupargv() 81 copy[argc] = (char *) xmalloc (len + 1); in dupargv() 82 strcpy (copy[argc], argv[argc]); in dupargv() 84 copy[argc] = NULL; in dupargv() 180 int argc = 0; in buildargv() local 195 if ((maxargc == 0) || (argc >= (maxargc - 1))) in buildargv() [all …]
|
D | getopt.c | 281 store_args_and_env (int argc, char *const *argv) in store_args_and_env() argument 285 original_argc = argc; in store_args_and_env() 401 _getopt_initialize (int argc ATTRIBUTE_UNUSED, in _getopt_initialize() 434 && argc == original_argc && argv == original_argv) in _getopt_initialize() 445 if (nonoption_flags_max_len < argc) in _getopt_initialize() 446 nonoption_flags_max_len = argc; in _getopt_initialize() 522 _getopt_internal (int argc, char *const *argv, const char *optstring, in _getopt_internal() argument 532 optstring = _getopt_initialize (argc, argv, optstring); in _getopt_internal() 572 while (optind < argc && NONOPTION_P) in _getopt_internal() 582 if (optind != argc && !strcmp (argv[optind], "--")) in _getopt_internal() [all …]
|
D | getopt1.c | 69 getopt_long (int argc, char *const *argv, const char *options, in getopt_long() argument 72 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 81 getopt_long_only (int argc, char *const *argv, const char *options, in getopt_long_only() argument 84 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only() 95 main (int argc, char **argv) in main() argument 115 c = getopt_long (argc, argv, "abc:d:0123456789", in main() 169 if (optind < argc) in main() 172 while (optind < argc) in main()
|
D | pex-unix.c | 85 int argc; in to_ptr32() local 89 for (argc = 0; ptr64[argc] != NULL; argc++) in to_ptr32() 94 (sizeof (__char_ptr32) * (argc + 1)); in to_ptr32() 96 for (argc = 0; ptr64[argc] != NULL; argc++) in to_ptr32() 97 short_argv[argc] = (__char_ptr32) decc$strdup (ptr64[argc]); in to_ptr32() 99 short_argv[argc] = (__char_ptr32) 0; in to_ptr32()
|
/toolchain/binutils/binutils-2.25/include/ |
D | getopt.h | 113 extern int getopt (int argc, char *const *argv, const char *shortopts); 121 extern int getopt_long (int argc, char *const *argv, const char *shortopts, 123 extern int getopt_long_only (int argc, char *const *argv, 128 extern int _getopt_internal (int argc, char *const *argv,
|
/toolchain/binutils/binutils-2.25/gold/ |
D | main.cc | 72 collect_argv(int argc, char** argv) in collect_argv() argument 76 for (int i = 0; i < argc; ++i) in collect_argv() 138 main(int argc, char** argv) in main() argument 152 expandargv(&argc, &argv); in main() 155 std::string args = collect_argv(argc, argv); in main() 165 command_line.process(argc - 1, const_cast<const char**>(argv + 1)); in main() 233 layout.incremental_inputs()->report_command_line(argc, argv); in main()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | cxxfilt.c | 171 main (int argc, char **argv) in main() argument 180 expandargv (&argc, &argv); in main() 182 while ((c = getopt_long (argc, argv, "_hinps:tv", long_options, (int *) 0)) != EOF) in main() 222 if (optind < argc) in main() 224 for ( ; optind < argc; optind++) in main()
|
D | ar.c | 427 decode_options (int argc, char **argv) in decode_options() argument 434 if (argc > 1 && argv[1][0] != '-') in decode_options() 450 new_argc = argc - 1 + strlen (argv[1]); in decode_options() 466 while (in < argv + argc) in decode_options() 472 argc = new_argc; in decode_options() 476 while ((c = getopt_long (argc, argv, "hdmpqrtxlcoVsSuvabiMNfPTDU", in decode_options() 607 ranlib_main (int argc, char **argv) in ranlib_main() argument 613 while ((c = getopt_long (argc, argv, "DhHUvVt", long_options, NULL)) != EOF) in ranlib_main() 647 if (argc < 2) in ranlib_main() 660 while (arg_index < argc) in ranlib_main() [all …]
|
D | bin2c.c | 26 main (int argc, char *argv[]) in main() argument 31 if (argc != 1) in main() 36 if (argc == 2 && argv[1][0] == '-') in main()
|
D | strings.c | 151 main (int argc, char **argv) in main() argument 168 expandargv (&argc, &argv); in main() 181 while ((optc = getopt_long (argc, argv, "adfhHn:wot:e:T:Vv0123456789", in main() 294 if (optind >= argc) in main() 303 for (; optind < argc; ++optind) in main()
|
D | dllwrap.c | 607 main (int argc, char **argv) in main() argument 641 expandargv (&argc, &argv); in main() 643 saved_argv = (char **) xmalloc (argc * sizeof (char*)); in main() 644 dlltool_arg_indices = (int *) xmalloc (argc * sizeof (int)); in main() 645 driver_arg_indices = (int *) xmalloc (argc * sizeof (int)); in main() 646 for (i = 0; i < argc; ++i) in main() 663 while ((c = getopt_long_only (argc, argv, "nkAqve:Uho:l:L:I:", in main() 862 for (i = 1; i < argc; ++i) in main() 953 for (i = 1; i < argc; ++i) in main() 986 for (i = 1; i < argc; ++i) in main()
|
D | bfdtest1.c | 32 main (int argc, char **argv) in main() argument 37 if (argc != 2) in main()
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-nds32.c | 2103 typedef void (*nds32_pseudo_opcode_func) (int argc, char *argv[], int pv); 2107 int argc; member 2194 do_pseudo_b (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_b() 2214 do_pseudo_bal (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bal() 2235 do_pseudo_bge (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bge() 2243 do_pseudo_bges (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bges() 2251 do_pseudo_bgt (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bgt() 2259 do_pseudo_bgts (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bgts() 2267 do_pseudo_ble (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_ble() 2275 do_pseudo_bles (int argc ATTRIBUTE_UNUSED, char *argv[], int pv ATTRIBUTE_UNUSED) in do_pseudo_bles() [all …]
|
D | tc-ns32k.c | 901 encode_operand (int argc, in encode_operand() argument 913 for (loop = 0; loop < argc; loop++) in encode_operand() 1091 unsigned int argc; in parse() local 1113 argc = 0; in parse() 1124 if (desc->operands[argc << 1]) in parse() 1126 suffix[argc] = 0; in parse() 1127 arg_type = desc->operands[(argc << 1) + 1]; in parse() 1146 suffix[argc] = 0; /* 0 when no ':' is encountered. */ in parse() 1147 argv[argc] = freeptr; in parse() 1172 suffix[argc] = 1; in parse() [all …]
|
/toolchain/binutils/binutils-2.25/gprof/ |
D | gprof.c | 184 main (int argc, char **argv) in main() argument 204 expandargv (&argc, &argv); in main() 206 while ((ch = getopt_long (argc, argv, in main() 504 if (optind < argc) in main() 507 if (optind < argc) in main() 550 if (optind < argc) in main() 553 while (optind++ < argc); in main()
|
/toolchain/binutils/binutils-2.25/ld/ |
D | ldemul.c | 147 ldemul_parse_args (int argc, char **argv) in ldemul_parse_args() argument 151 return (*ld_emulation->parse_args) (argc, argv); in ldemul_parse_args() 176 ldemul_choose_target (int argc, char **argv) in ldemul_choose_target() argument 178 return ld_emulation->choose_target (argc, argv); in ldemul_choose_target() 185 ldemul_default_target (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) in ldemul_default_target()
|
D | ldmain.c | 188 main (int argc, char **argv) in main() argument 210 expandargv (&argc, &argv); in main() 224 ld_sysroot = get_sysroot (argc, argv); in main() 301 emulation = get_emulation (argc, argv); in main() 303 default_target = ldemul_choose_target (argc, argv); in main() 309 parse_args (argc, argv); in main() 392 if (argc == 2 && version_printed) in main() 566 get_sysroot (int argc, char **argv) in get_sysroot() argument 571 for (i = 1; i < argc; i++) in get_sysroot() 590 get_emulation (int argc, char **argv) in get_emulation() argument [all …]
|
/toolchain/binutils/binutils-2.25/gas/ |
D | as.c | 145 select_emulation_mode (int argc, char **argv) in select_emulation_mode() argument 150 for (i = 1; i < argc; i++) in select_emulation_mode() 154 if (i == argc) in select_emulation_mode() 1059 perform_an_assembly_pass (int argc, char ** argv) in perform_an_assembly_pass() argument 1108 argc--; in perform_an_assembly_pass() 1110 while (argc--) in perform_an_assembly_pass() 1127 main (int argc, char ** argv) in main() argument 1151 HOST_SPECIAL_INIT (argc, argv); in main() 1157 expandargv (&argc, &argv); in main() 1172 select_emulation_mode (argc, argv); in main() [all …]
|
/toolchain/binutils/binutils-2.25/libiberty/testsuite/ |
D | test-pexecute.c | 178 main (int argc, char **argv) in main() argument 191 if (argc > 1 && strcmp (argv[1], "-t") == 0) in main() 194 --argc; in main() 198 if (argc > 1) in main() 199 do_cmd (argc, argv); in main() 442 do_cmd (int argc, char **argv) in do_cmd() argument 464 for (i = 2; i < argc; ++i) in do_cmd() 477 for (i = 2; i < argc; ++i) in do_cmd()
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/ |
D | lto-15a.c | 3 int main(int argc, char **argv) in main() argument 6 return (int) ((unsigned long long) argc / argv[0][0]); in main()
|
D | pr16746c.c | 3 main (int argc, char **argv) in main() argument 5 if (__builtin_constant_p (argc)) in main()
|
D | pr16746d.c | 3 main (int argc, char **argv) in main() argument 5 if (!__builtin_constant_p (argc)) in main()
|
D | lto-1b.c | 4 main (int argc, char **argv) in main() argument 6 unsigned long long d = bar ((unsigned long long) (argc + 1)); in main()
|
D | pr13201.c | 6 main(int argc, char **argv) in main() argument 9 if (argc > 1) in main()
|
D | lto-12a.c | 7 main (int argc, char **argv) in main() argument 9 int n = 10 * (argc + 1); in main()
|