Searched refs:optind (Results 51 - 75 of 258) sorted by relevance

1234567891011

/haiku-fatelf/src/bin/coreutils/src/
H A Dyes.c75 if (argc <= optind)
77 optind = argc;
84 for (i = optind; i < argc; i++)
H A Dchown.c272 if (argc - optind < (reference_file ? 1 : 2))
274 if (argc <= optind)
295 const char *e = parse_user_spec (argv[optind], &uid, &gid,
298 error (EXIT_FAILURE, 0, "%s: %s", e, quote (argv[optind]));
306 optind++;
319 ok = chown_files (argv + optind, bit_flags,
H A Dprintenv.c114 if (optind >= argc)
124 for (i = optind; i < argc; ++i)
151 ok = (matches == argc - optind);
H A Drmdir.c221 if (optind == argc)
227 for (; optind < argc; ++optind)
229 char *dir = argv[optind];
H A Did.c167 if (1 < argc - optind)
169 error (0, 0, _("extra operand %s"), quote (argv[optind + 1]));
173 if (argc - optind == 1 && just_context)
181 if (selinux_enabled && argc == optind)
194 if (argc - optind == 1)
196 struct passwd *pwd = getpwnam (argv[optind]);
198 error (EXIT_FAILURE, 0, _("%s: No such user"), argv[optind]);
221 if (!print_group_list (argv[optind], ruid, rgid, egid, use_name))
230 print_full_info (argv[optind]);
H A Dkill.c259 if (optind != 2)
262 optind--;
273 optarg = argv[optind - 1] + strlen (argv[optind - 1]);
274 if (optarg != argv[optind - 1] + 2)
320 if ( ! list && argc <= optind)
327 ? list_signals (table, optind < argc ? argv + optind : NULL)
328 : send_signals (signum, argv + optind));
H A Dseq.c368 while (optind < argc)
370 if (argv[optind][0] == '-'
371 && ((optc = argv[optind][1]) == '.' || ISDIGIT (optc)))
404 if (argc - optind < 1)
410 if (3 < argc - optind)
412 error (0, 0, _("extra operand %s"), quote (argv[optind + 3]));
419 last = scan_arg (argv[optind++]);
421 if (optind < argc)
424 last = scan_arg (argv[optind++]);
426 if (optind < arg
[all...]
/haiku-fatelf/src/bin/debug/time_stats/
H A Dtime_stats.cpp94 if (optind >= argc)
109 do_timing_analysis(argc - optind, argv + optind, schedulingAnalysis, outFD,
/haiku-fatelf/src/bin/mkfs/
H A Dmain.cpp129 if (optind > argc - 1)
132 const char* device = argv[optind];
134 if (optind == argc - 2)
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dchdir.c83 extern int optind;
86 dircount = lm_argc - optind;
94 dirlist[i] = lm_argv[optind++];
/haiku-fatelf/src/bin/
H A Ddiskimage.cpp219 if (optind >= argc)
223 const char* command = argv[optind++];
226 if (optind < argc)
231 if (optind + 1 != argc)
234 const char* fileName = argv[optind++];
237 if (optind + 1 != argc)
240 const char* fileName = argv[optind++];
H A Dmvattr.cpp191 if (argc - optind < 3)
195 const char* attrPattern = argv[optind++];
196 const char* fromFile = argv[optind++];
197 const char* toFile = argv[optind++];
202 const char* fromAttr = argv[optind++];
203 const char* toAttr = argv[optind++];
206 for (int i = optind; i < argc; i++) {
H A Dwatch.c154 if (optind >= argc)
157 command = strdup(argv[optind++]);
159 for (; optind < argc; optind++) {
161 int s = strlen(argv[optind]);
165 memcpy(endp + 1, argv[optind], s);
/haiku-fatelf/src/bin/bash/lib/readline/examples/
H A Drlcat.c60 extern int optind;
111 argc -= optind;
112 argv += optind;
/haiku-fatelf/src/bin/bc/dc/
H A Ddc.c174 for (; optind < argc; ++optind) {
175 try_file(argv[optind]);
/haiku-fatelf/src/bin/gdb/readline/examples/
H A Drlcat.c55 extern int optind;
106 argc -= optind;
107 argv += optind;
/haiku-fatelf/src/bin/pkgman/
H A Dcommand_add_repo.cpp78 if (argc < optind + 1)
81 const char* const* repoURLs = argv + optind;
82 int urlCount = argc - optind;
/haiku-fatelf/src/bin/bc/h/
H A Dgetopt.h46 Otherwise, `optind' communicates from one call to the next
49 extern int optind;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dlong-options.c87 optind = 0;
/haiku-fatelf/src/bin/gdb/include/
H A Dgetopt.h47 Otherwise, `optind' communicates from one call to the next
50 extern int optind;
/haiku-fatelf/src/bin/gzip/
H A Dgetopt.h42 Otherwise, `optind' communicates from one call to the next
45 extern int optind;
/haiku-fatelf/src/bin/network/tcpdump/win32/Include/
H A Dgetopt.h47 Otherwise, `optind' communicates from one call to the next
51 extern int optind;
/haiku-fatelf/src/bin/sharutils/lib/
H A Dgetopt.h42 Otherwise, `optind' communicates from one call to the next
45 extern int optind;
/haiku-fatelf/src/tools/stubgen/
H A Dgetopt.h43 Otherwise, `optind' communicates from one call to the next
46 extern int optind;
/haiku-fatelf/src/bin/bash/support/
H A Dxcase.c67 av += optind;
68 ac -= optind;

Completed in 214 milliseconds

1234567891011