Searched refs:optind (Results 76 - 100 of 356) sorted by relevance

1234567891011>>

/external/vboot_reference/futility/
H A Dcmd_dump_kernel_config.c64 if (optind >= argc) {
68 infile = argv[optind];
H A Dcmd_gbb_utility.c419 else if (argv[optind - 1])
423 argv[optind - 1]);
429 if (argv[optind - 1])
432 optopt, argv[optind - 1]);
454 if (argc - optind < 1) {
459 infile = argv[optind++];
506 if (argc - optind < 1) {
511 infile = argv[optind++];
513 outfile = (argc - optind < 1) ? infile : argv[optind
[all...]
/external/e2fsprogs/debugfs/
H A Dzap.c22 extern int optind;
114 if (argc != optind+1) {
123 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
194 if (argc != optind + 1) {
200 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
/external/syslinux/libinstaller/
H A Dsyslxopt.c234 opt.device = argv[optind++];
238 opt.directory = argv[optind++];
242 if (argv[optind] && (mode == MODE_SYSLINUX_DOSWIN))
244 opt.bootsecfile = argv[optind++];
245 if (argv[optind])
/external/selinux/policycoreutils/setfiles/
H A Dsetfiles.c391 for (i = optind; i < argc; i++) {
401 if (optind != (argc - 1))
404 if (optind != (argc - 1)) {
409 if (optind > (argc - 2))
420 if (stat(argv[optind], &sb) < 0) {
421 perror(argv[optind]);
426 argv[0], argv[optind]);
430 altpath = argv[optind];
431 optind++;
471 for (i = optind;
[all...]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DCommandLine.java65 int optind = getopts(options, argv);
74 if (argv.length == optind) {
78 for (int i = optind; i < argv.length; i++) {
94 for (int i = optind; i < argv.length; i++) {
257 int optind;
258 for (optind = 0; optind < argv.length; optind++) {
259 String arg = argv[optind];
278 return optind;
[all...]
/external/e2fsprogs/misc/
H A Dlogsave.c32 extern int optind;
276 if (optind == argc || optind+1 == argc)
278 outfn = argv[optind];
279 optind++;
280 argv += optind;
281 argc -= optind;
H A Duuidgen.c22 extern int optind;
/external/tinyalsa/
H A Dtinymix.c114 if (argc == optind) {
117 } else if (argc == optind + 1) {
118 ret = tinymix_detail_control(mixer, argv[optind], !g_value_only, !g_value_only);
119 } else if (argc >= optind + 2) {
120 ret = tinymix_set_value(mixer, argv[optind], &argv[optind + 1], argc - optind - 1);
/external/iptables/iptables/
H A Dxtables-arp.c957 /* re-set optind to 0 in case do_command gets called
959 optind = 0;
988 rulenum = parse_rulenumber(argv[optind++]);
998 rulenum = parse_rulenumber(argv[optind++]);
1010 rulenum = parse_rulenumber(argv[optind++]);
1019 chain = argv[optind++];
1027 chain = argv[optind++];
1035 chain = argv[optind++];
1057 chain = argv[optind++];
1065 newname = argv[optind
[all...]
/external/kmod/tools/
H A Dinsmod.c106 if (optind >= argc) {
111 filename = argv[optind];
117 for (i = optind + 1; i < argc; i++) {
/external/libmtp/examples/
H A Dalbumart.c43 extern int optind;
91 argc -= optind;
92 argv += optind;
H A Dalbums.c77 extern int optind;
88 argc -= optind;
89 argv += optind;
H A Dconnect.c143 if (optind < argc) {
145 while (optind < argc)
146 printf("%s ", argv[optind++]);
H A Dfiletree.c80 extern int optind;
91 argc -= optind;
92 argv += optind;
/external/selinux/policycoreutils/hll/pp/
H A Dpp.c94 if (argc >= optind + 1 && strcmp(argv[1], "-") != 0) {
107 if (argc >= optind + 2 && strcmp(argv[2], "-") != 0) {
119 if (argc >= optind + 3) {
/external/bison/lib/
H A Dgetopt_int.h61 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */
74 int optind;
73 int optind; member in struct:_getopt_data
/external/e2fsprogs/include/nonunix/
H A Dgetopt.h48 Otherwise, `optind' communicates from one call to the next
51 extern GETOPT_VARIABLE int optind;
/external/e2fsprogs/util/
H A Dcopy_sparse.c35 extern int optind;
222 if (optind+2 != argc)
224 copy_sparse_file(argv[optind], argv[optind+1]);
/external/f2fs-tools/mkfs/
H A Df2fs_format_main.c162 if (optind >= argc) {
168 c.devices[0].path = strdup(argv[optind]);
170 if ((optind + 1) < argc) {
175 c.wanted_total_sectors = atoll(argv[optind+1]);
/external/google-breakpad/src/tools/linux/symupload/
H A Dsym_upload.cc190 extern int optind;
213 if ((argc - optind) != 2) {
219 options->symbolsPath = argv[optind];
220 options->uploadURLStr = argv[optind + 1];
/external/iproute2/include/
H A Diptables_common.h17 int check_inverse(const char option[], int *invert, int *optind, int argc);
/external/libusb/examples/getopt/
H A Dgetopt.h58 Otherwise, `optind' communicates from one call to the next
61 extern int optind;
/external/selinux/semodule-utils/semodule_expand/
H A Dsemodule_expand.c25 extern int optind;
99 if (argc < 3 || !(optind != (argc - 1))) {
106 basename = argv[optind++];
107 outname = argv[optind];
/external/valgrind/drd/tests/
H A Dpth_broadcast.c133 s_signal_count = argc > optind ? atoi(argv[optind]) : 10;
134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10;

Completed in 778 milliseconds

1234567891011>>