Home
last modified time | relevance | path

Searched refs:argc (Results 51 – 75 of 1498) sorted by relevance

12345678910>>...60

/dragonfly/contrib/gdb-7/gdb/mi/
H A Dmi-cmd-break.c91 mi_cmd_break_insert (char *command, char **argv, int argc) in mi_cmd_break_insert() argument
132 int opt = mi_getopt ("-break-insert", argc, argv, in mi_cmd_break_insert()
165 if (oind >= argc) in mi_cmd_break_insert()
167 if (oind < argc - 1) in mi_cmd_break_insert()
211 if (argc != 2) in mi_cmd_break_passcount()
236 mi_cmd_break_watch (char *command, char **argv, int argc) in mi_cmd_break_watch() argument
257 int opt = mi_getopt ("-break-watch", argc, argv, in mi_cmd_break_watch()
272 if (oind >= argc) in mi_cmd_break_watch()
274 if (oind < argc - 1) in mi_cmd_break_watch()
321 if (argc < 1) in mi_cmd_break_commands()
[all …]
H A Dmi-cmd-catch.c34 mi_catch_load_unload (int load, char *argv[], int argc) in mi_catch_load_unload() argument
56 int opt = mi_getopt (actual_cmd, argc, argv, opts, in mi_catch_load_unload()
73 if (oind >= argc) in mi_catch_load_unload()
75 if (oind < argc -1) in mi_catch_load_unload()
88 mi_cmd_catch_load (char *cmd, char *argv[], int argc) in mi_cmd_catch_load() argument
90 mi_catch_load_unload (1, argv, argc); in mi_cmd_catch_load()
97 mi_cmd_catch_unload (char *cmd, char *argv[], int argc) in mi_cmd_catch_unload() argument
99 mi_catch_load_unload (0, argv, argc); in mi_cmd_catch_unload()
/dragonfly/stand/boot/pc32/libi386/
H A Dvidconsole.c323 argc = 1; in HO()
334 argc = -1; in end_term()
363 if (argc < 0) in get_arg()
364 argc = 0; in get_arg()
365 args[argc] *= 10; in get_arg()
396 argc = -1; in vidc_term_emu()
408 argc = 0; in vidc_term_emu()
412 args[++argc] = 0; in vidc_term_emu()
415 if (argc < 0) in vidc_term_emu()
423 if (argc < 0) in vidc_term_emu()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dgetopt.c284 original_argc = argc; in store_args_and_env()
589 last_nonopt = argc; in _getopt_internal()
591 optind = argc; in _getopt_internal()
597 if (optind == argc) in _getopt_internal()
724 if (optind < argc) in _getopt_internal()
817 else if (optind == argc) in _getopt_internal()
897 if (optind < argc) in _getopt_internal()
946 else if (optind == argc) in _getopt_internal()
989 main (int argc, char **argv) in main() argument
1040 if (optind < argc) in main()
[all …]
H A Dgetopt1.c68 getopt_long (int argc, char *const *argv, const char *options, in getopt_long() argument
71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long()
80 getopt_long_only (int argc, char *const *argv, const char *options, in getopt_long_only() argument
83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
94 main (int argc, char **argv) in main() argument
114 c = getopt_long (argc, argv, "abc:d:0123456789", in main()
168 if (optind < argc) in main()
171 while (optind < argc) in main()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dgetopt.c285 original_argc = argc; in store_args_and_env()
590 last_nonopt = argc; in _getopt_internal()
592 optind = argc; in _getopt_internal()
598 if (optind == argc) in _getopt_internal()
725 if (optind < argc) in _getopt_internal()
818 else if (optind == argc) in _getopt_internal()
898 if (optind < argc) in _getopt_internal()
947 else if (optind == argc) in _getopt_internal()
990 main (int argc, char **argv) in main() argument
1041 if (optind < argc) in main()
[all …]
H A Dgetopt1.c69 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()
/dragonfly/contrib/gdb-7/libiberty/
H A Dgetopt.c285 original_argc = argc; in store_args_and_env()
590 last_nonopt = argc; in _getopt_internal()
592 optind = argc; in _getopt_internal()
598 if (optind == argc) in _getopt_internal()
725 if (optind < argc) in _getopt_internal()
818 else if (optind == argc) in _getopt_internal()
898 if (optind < argc) in _getopt_internal()
947 else if (optind == argc) in _getopt_internal()
990 main (int argc, char **argv) in main() argument
1041 if (optind < argc) in main()
[all …]
H A Dgetopt1.c69 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()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dgetopt.c285 original_argc = argc; in store_args_and_env()
590 last_nonopt = argc; in _getopt_internal()
592 optind = argc; in _getopt_internal()
598 if (optind == argc) in _getopt_internal()
725 if (optind < argc) in _getopt_internal()
818 else if (optind == argc) in _getopt_internal()
898 if (optind < argc) in _getopt_internal()
947 else if (optind == argc) in _getopt_internal()
990 main (int argc, char **argv) in main() argument
1041 if (optind < argc) in main()
[all …]
H A Dgetopt1.c69 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()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dgetopt.c284 original_argc = argc; in store_args_and_env()
589 last_nonopt = argc; in _getopt_internal()
591 optind = argc; in _getopt_internal()
597 if (optind == argc) in _getopt_internal()
724 if (optind < argc) in _getopt_internal()
817 else if (optind == argc) in _getopt_internal()
897 if (optind < argc) in _getopt_internal()
946 else if (optind == argc) in _getopt_internal()
989 main (int argc, char **argv) in main() argument
1040 if (optind < argc) in main()
[all …]
H A Dgetopt1.c68 getopt_long (int argc, char *const *argv, const char *options, in getopt_long() argument
71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long()
80 getopt_long_only (int argc, char *const *argv, const char *options, in getopt_long_only() argument
83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
94 main (int argc, char **argv) in main() argument
114 c = getopt_long (argc, argv, "abc:d:0123456789", in main()
168 if (optind < argc) in main()
171 while (optind < argc) in main()
/dragonfly/usr.bin/tip/
H A Dcu.c40 cumain(int argc, char *argv[]) in cumain() argument
45 if (argc < 2) { in cumain()
51 for (; argc > 1; argv++, argc--) { in cumain()
58 --argc; in cumain()
62 CU = argv[2]; ++argv; --argc; in cumain()
66 if (argc < 3 || speed(atoi(argv[2])) == 0) { in cumain()
71 BR = atoi(argv[2]); ++argv; --argc; in cumain()
75 DV = argv[2]; ++argv; --argc; in cumain()
/dragonfly/contrib/diffutils/lib/
H A Dgetopt.c354 if (d->optind < argc) in process_long_option()
381 _getopt_initialize (int argc _GL_UNUSED, in _getopt_initialize()
477 if (argc < 1) in _getopt_internal_r()
537 d->__last_nonopt = argc; in _getopt_internal_r()
539 d->optind = argc; in _getopt_internal_r()
545 if (d->optind == argc) in _getopt_internal_r()
632 else if (d->optind == argc) in _getopt_internal_r()
678 else if (d->optind == argc) in _getopt_internal_r()
749 main (int argc, char **argv) in main() argument
800 if (optind < argc) in main()
[all …]
/dragonfly/contrib/grep/lib/
H A Dgetopt.c354 if (d->optind < argc) in process_long_option()
381 _getopt_initialize (int argc _GL_UNUSED, in _getopt_initialize()
477 if (argc < 1) in _getopt_internal_r()
537 d->__last_nonopt = argc; in _getopt_internal_r()
539 d->optind = argc; in _getopt_internal_r()
545 if (d->optind == argc) in _getopt_internal_r()
632 else if (d->optind == argc) in _getopt_internal_r()
678 else if (d->optind == argc) in _getopt_internal_r()
749 main (int argc, char **argv) in main() argument
800 if (optind < argc) in main()
[all …]
/dragonfly/sys/dev/disk/dm/flakey/
H A Ddm_target_flakey.c77 if (argc < 4) { in dm_target_flakey_init()
128 if (argc == 0) in _init_features()
132 if (argc > 6) { in _init_features()
137 while (argc) { in _init_features()
138 argc--; in _init_features()
149 if (argc < 4) { in _init_features()
151 "corrupt_bio_byte\n", argc); in _init_features()
156 argc--; in _init_features()
166 argc--; in _init_features()
179 argc--; in _init_features()
[all …]
/dragonfly/usr.bin/telnet/
H A Dcommands.c792 argc--; in toggle()
892 if (argc < 2 || argc > 3) { in setcmd()
977 argc--; in unsetcmd()
1256 (argc > 2)? " ":"", (argc > 2)? argv[1]: ""); in setescape()
1257 if (argc > 2) in setescape()
1980 argc -= 2; in encrypt_cmd()
1981 if (argc < c->minarg || argc > c->maxarg) { in encrypt_cmd()
2143 --argc; in tn()
2156 --argc; in tn()
2161 --argc; in tn()
[all …]
/dragonfly/usr.bin/expand/
H A Dexpand.c53 main(int argc, char *argv[]) in main() argument
65 while (argc > 1 && argv[1][0] == '-' && in main()
68 argc--; argv++; in main()
71 while ((c = getopt (argc, argv, "t:")) != -1) { in main()
82 argc -= optind; in main()
87 if (argc > 0) { in main()
91 argc--, argv++; in main()
95 argc--, argv++; in main()
152 } while (argc > 0); in main()
/dragonfly/usr.sbin/lpr/lpc/
H A Dcmds.c121 argc--; in generic()
146 targc = argc; in generic()
168 targc = argc; in generic()
171 argc = 0; in generic()
177 argc++; in generic()
208 for (; argc > 0; argc--, argv++) { in generic()
246 if (argc <= 0) in args2line()
613 for (; argc > 0; argc--, argv++) { in clean_gi()
915 argc--; in down_gi()
918 for (; argc > 0; argc--, argv++) in down_gi()
[all …]
/dragonfly/sbin/vinum/
H A Dcommands.c213 if (argc > 0) { in vinum_debug()
884 if (argc == 0) { in vinum_resetstats()
935 if ((argc < 2) in vinum_attach()
936 || (argc > 4)) { in vinum_attach()
1058 if ((argc < 1) in vinum_detach()
1059 || (argc > 2)) { in vinum_detach()
1264 if (argc < 2) { in vinum_mv()
1446 switch (argc) { in vinum_setdaemon()
1708 if (argc < 2) { in vinum_stripe()
1856 if (argc < 3) { in vinum_raid4()
[all …]
/dragonfly/stand/boot/common/
H A Dboot.c52 command_boot(int argc, char *argv[]) in command_boot() argument
61 if ((argc > 1) && (argv[1][0] != '-')) { in command_boot()
71 if (mod_loadkld(argv[1], argc - 2, argv + 2) != 0) in command_boot()
74 argc = 1; in command_boot()
81 if (loadakernel(0, argc - 1, argv + 1)) in command_boot()
83 argc = 1; in command_boot()
97 if (argc > 1) { in command_boot()
100 fp->f_args = unargv(argc - 1, argv + 1); in command_boot()
146 command_autoboot(int argc, char *argv[]) in command_autoboot() argument
153 switch(argc) { in command_autoboot()
[all …]
/dragonfly/bin/sh/
H A Doptions.c88 procargs(int argc, char **argv) in procargs() argument
94 if (argc > 0) in procargs()
322 setparam(int argc, char **argv) in setparam() argument
334 shellparam.nparam = argc; in setparam()
370 shiftcmd(int argc, char **argv) in shiftcmd() argument
375 if (argc > 1) in shiftcmd()
398 setcmd(int argc, char **argv) in setcmd() argument
400 if (argc == 1) in setcmd()
401 return showvarscmd(argc, argv); in setcmd()
435 if (argc < 3) in getoptscmd()
[all …]
/dragonfly/contrib/cvs-1.12/src/
H A Dremove.c50 cvsremove (int argc, char **argv) in cvsremove() argument
54 if (argc == -1) in cvsremove()
58 while ((c = getopt (argc, argv, "+flR")) != -1) in cvsremove()
77 argc -= optind; in cvsremove()
87 expand_wild (argc, argv, &argc, &argv); in cvsremove()
94 NULL, argc, argv, local, W_LOCAL, in cvsremove()
107 send_files (argc, argv, local, 0, 0); in cvsremove()
108 send_file_names (argc, argv, 0); in cvsremove()
109 free_names (&argc, argv); in cvsremove()
117 NULL, argc, argv, local, W_LOCAL, 0, in cvsremove()
H A Drelease.c36 static int release_server (int argc, char **argv);
40 release_server (int argc, char **argv) in release_server() argument
45 for (i = 1; i < argc; ++i) in release_server()
136 release (int argc, char **argv) in release() argument
150 return release_server (argc, argv); in release()
154 if (argc == -1) in release()
157 while ((c = getopt (argc, argv, "+Qdq")) != -1) in release()
176 argc -= optind; in release()
205 for (i = arg_start_idx; i < argc; i++) in release()
327 int argc = 2; in release() local
[all …]

12345678910>>...60