optind 364 daemons/attrd/pacemaker-attrd.c if (optind > argc) { optind 161 daemons/based/pacemaker-based.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { optind 166 daemons/based/pacemaker-based.c if (optind > argc) { optind 82 daemons/controld/pacemaker-controld.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { optind 85 daemons/controld/pacemaker-controld.c } else if (argc - optind == 1 && pcmk__str_eq("version", argv[optind], pcmk__str_casei)) { optind 92 daemons/controld/pacemaker-controld.c if (optind > argc) { optind 620 daemons/execd/cts-exec-helper.c if (optind > argc) { optind 651 daemons/fenced/cts-fence-helper.c if (optind > argc) { optind 1436 daemons/fenced/pacemaker-fenced.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { optind 1574 daemons/fenced/pacemaker-fenced.c if (optind != argc) { optind 344 daemons/schedulerd/pacemaker-schedulerd.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { optind 349 daemons/schedulerd/pacemaker-schedulerd.c if (optind > argc) { optind 798 maint/gnulib/lib/argp-parse.c parser->opt_data.optind = parser->state.next; optind 810 maint/gnulib/lib/argp-parse.c parser->state.next = parser->opt_data.optind; optind 50 maint/gnulib/lib/getopt-core.h extern int optind; optind 47 maint/gnulib/lib/getopt-pfx-core.h # define optind __GETOPT_ID (optind) optind 104 maint/gnulib/lib/getopt.c int optind = 1; optind 135 maint/gnulib/lib/getopt.c int top = d->optind; optind 181 maint/gnulib/lib/getopt.c d->__first_nonopt += (d->optind - d->__last_nonopt); optind 182 maint/gnulib/lib/getopt.c d->__last_nonopt = d->optind; optind 302 maint/gnulib/lib/getopt.c d->optind++; optind 315 maint/gnulib/lib/getopt.c if (!long_only || argv[d->optind][1] == '-' optind 323 maint/gnulib/lib/getopt.c d->optind++; optind 333 maint/gnulib/lib/getopt.c d->optind++; optind 354 maint/gnulib/lib/getopt.c if (d->optind < argc) optind 355 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optind 388 maint/gnulib/lib/getopt.c if (d->optind == 0) optind 389 maint/gnulib/lib/getopt.c d->optind = 1; optind 391 maint/gnulib/lib/getopt.c d->__first_nonopt = d->__last_nonopt = d->optind; optind 482 maint/gnulib/lib/getopt.c if (d->optind == 0 || !d->__initialized) optind 491 maint/gnulib/lib/getopt.c #define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') optind 499 maint/gnulib/lib/getopt.c if (d->__last_nonopt > d->optind) optind 500 maint/gnulib/lib/getopt.c d->__last_nonopt = d->optind; optind 501 maint/gnulib/lib/getopt.c if (d->__first_nonopt > d->optind) optind 502 maint/gnulib/lib/getopt.c d->__first_nonopt = d->optind; optind 510 maint/gnulib/lib/getopt.c && d->__last_nonopt != d->optind) optind 512 maint/gnulib/lib/getopt.c else if (d->__last_nonopt != d->optind) optind 513 maint/gnulib/lib/getopt.c d->__first_nonopt = d->optind; optind 518 maint/gnulib/lib/getopt.c while (d->optind < argc && NONOPTION_P) optind 519 maint/gnulib/lib/getopt.c d->optind++; optind 520 maint/gnulib/lib/getopt.c d->__last_nonopt = d->optind; optind 528 maint/gnulib/lib/getopt.c if (d->optind != argc && !strcmp (argv[d->optind], "--")) optind 530 maint/gnulib/lib/getopt.c d->optind++; optind 533 maint/gnulib/lib/getopt.c && d->__last_nonopt != d->optind) optind 536 maint/gnulib/lib/getopt.c d->__first_nonopt = d->optind; optind 539 maint/gnulib/lib/getopt.c d->optind = argc; optind 545 maint/gnulib/lib/getopt.c if (d->optind == argc) optind 550 maint/gnulib/lib/getopt.c d->optind = d->__first_nonopt; optind 561 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optind 569 maint/gnulib/lib/getopt.c if (argv[d->optind][1] == '-') optind 573 maint/gnulib/lib/getopt.c d->__nextchar = argv[d->optind] + 2; optind 591 maint/gnulib/lib/getopt.c if (long_only && (argv[d->optind][2] optind 592 maint/gnulib/lib/getopt.c || !strchr (optstring, argv[d->optind][1]))) optind 595 maint/gnulib/lib/getopt.c d->__nextchar = argv[d->optind] + 1; optind 605 maint/gnulib/lib/getopt.c d->__nextchar = argv[d->optind] + 1; optind 616 maint/gnulib/lib/getopt.c ++d->optind; optind 632 maint/gnulib/lib/getopt.c else if (d->optind == argc) optind 647 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind]; optind 662 maint/gnulib/lib/getopt.c d->optind++; optind 676 maint/gnulib/lib/getopt.c d->optind++; optind 678 maint/gnulib/lib/getopt.c else if (d->optind == argc) optind 694 maint/gnulib/lib/getopt.c d->optarg = argv[d->optind++]; optind 709 maint/gnulib/lib/getopt.c getopt_data.optind = optind; optind 716 maint/gnulib/lib/getopt.c optind = getopt_data.optind; optind 756 maint/gnulib/lib/getopt.c int this_option_optind = optind ? optind : 1; optind 800 maint/gnulib/lib/getopt.c if (optind < argc) optind 803 maint/gnulib/lib/getopt.c while (optind < argc) optind 804 maint/gnulib/lib/getopt.c printf ("%s ", argv[optind++]); optind 81 maint/gnulib/lib/getopt1.c int this_option_optind = optind ? optind : 1; optind 148 maint/gnulib/lib/getopt1.c if (optind < argc) optind 151 maint/gnulib/lib/getopt1.c while (optind < argc) optind 152 maint/gnulib/lib/getopt1.c printf ("%s ", argv[optind++]); optind 66 maint/gnulib/lib/getopt_int.h int optind; optind 1060 maint/gnulib/lib/git-merge-changelog.c if (optind + 3 != argc) optind 1080 maint/gnulib/lib/git-merge-changelog.c ancestor_file_name = argv[optind]; optind 1081 maint/gnulib/lib/git-merge-changelog.c destination_file_name = argv[optind + 1]; optind 1082 maint/gnulib/lib/git-merge-changelog.c other_file_name = argv[optind + 2]; optind 89 maint/gnulib/lib/long-options.c optind = 0; optind 54 maint/gnulib/tests/test-getopt-main.h ASSERT (optind == 1); optind 114 maint/gnulib/tests/test-getopt.h optind = start; optind 125 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 147 maint/gnulib/tests/test-getopt.h optind = start; optind 158 maint/gnulib/tests/test-getopt.h ASSERT (optind == 3); optind 179 maint/gnulib/tests/test-getopt.h optind = start; optind 190 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 212 maint/gnulib/tests/test-getopt.h optind = start; optind 223 maint/gnulib/tests/test-getopt.h ASSERT (optind == 3); optind 245 maint/gnulib/tests/test-getopt.h optind = start; optind 256 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 277 maint/gnulib/tests/test-getopt.h optind = start; optind 288 maint/gnulib/tests/test-getopt.h ASSERT (optind == 3); optind 311 maint/gnulib/tests/test-getopt.h optind = start; optind 322 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 345 maint/gnulib/tests/test-getopt.h optind = start; optind 356 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 377 maint/gnulib/tests/test-getopt.h optind = start; optind 388 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 409 maint/gnulib/tests/test-getopt.h optind = start; optind 420 maint/gnulib/tests/test-getopt.h ASSERT (optind == 3); optind 447 maint/gnulib/tests/test-getopt.h optind = start; optind 458 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 481 maint/gnulib/tests/test-getopt.h optind = start; optind 492 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 515 maint/gnulib/tests/test-getopt.h optind = start; optind 526 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 549 maint/gnulib/tests/test-getopt.h optind = start; optind 560 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 583 maint/gnulib/tests/test-getopt.h optind = start; optind 594 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 617 maint/gnulib/tests/test-getopt.h optind = start; optind 628 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 649 maint/gnulib/tests/test-getopt.h optind = start; optind 660 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 679 maint/gnulib/tests/test-getopt.h optind = start; optind 690 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 709 maint/gnulib/tests/test-getopt.h optind = start; optind 720 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 746 maint/gnulib/tests/test-getopt.h optind = start; optind 767 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 786 maint/gnulib/tests/test-getopt.h ASSERT (optind == 4); optind 818 maint/gnulib/tests/test-getopt.h optind = start; optind 844 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 868 maint/gnulib/tests/test-getopt.h ASSERT (optind == 5); optind 896 maint/gnulib/tests/test-getopt.h optind = start; optind 918 maint/gnulib/tests/test-getopt.h ASSERT (optind == 7); optind 949 maint/gnulib/tests/test-getopt.h optind = start; optind 979 maint/gnulib/tests/test-getopt.h ASSERT (optind == 7); optind 993 maint/gnulib/tests/test-getopt.h ASSERT (optind == 12); optind 1019 maint/gnulib/tests/test-getopt.h optind = start; optind 1040 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 1059 maint/gnulib/tests/test-getopt.h ASSERT (optind == 4); optind 1087 maint/gnulib/tests/test-getopt.h optind = start; optind 1106 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 1125 maint/gnulib/tests/test-getopt.h optind = start; optind 1135 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 1166 maint/gnulib/tests/test-getopt.h optind = start; optind 1190 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 1217 maint/gnulib/tests/test-getopt.h optind = start; optind 1238 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 1257 maint/gnulib/tests/test-getopt.h ASSERT (optind == 4); optind 1287 maint/gnulib/tests/test-getopt.h optind = start; optind 1306 maint/gnulib/tests/test-getopt.h ASSERT (optind == 1); optind 1325 maint/gnulib/tests/test-getopt.h optind = start; optind 1335 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 1355 maint/gnulib/tests/test-getopt.h optind = start; optind 1365 maint/gnulib/tests/test-getopt.h ASSERT (optind == 3); optind 1384 maint/gnulib/tests/test-getopt.h optind = start; optind 1388 maint/gnulib/tests/test-getopt.h ASSERT (optind == 2); optind 126 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 141 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 156 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 171 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 185 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 200 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 215 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 229 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 243 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 259 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 274 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 300 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 329 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 333 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 354 maint/gnulib/tests/test-getopt_long.h optind = start; optind 364 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 384 maint/gnulib/tests/test-getopt_long.h optind = start; optind 394 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 413 maint/gnulib/tests/test-getopt_long.h optind = start; optind 423 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 443 maint/gnulib/tests/test-getopt_long.h optind = start; optind 453 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 474 maint/gnulib/tests/test-getopt_long.h optind = start; optind 484 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 504 maint/gnulib/tests/test-getopt_long.h optind = start; optind 514 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 536 maint/gnulib/tests/test-getopt_long.h optind = start; optind 546 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 567 maint/gnulib/tests/test-getopt_long.h optind = start; optind 577 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 599 maint/gnulib/tests/test-getopt_long.h optind = start; optind 609 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 631 maint/gnulib/tests/test-getopt_long.h optind = start; optind 641 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 661 maint/gnulib/tests/test-getopt_long.h optind = start; optind 671 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 690 maint/gnulib/tests/test-getopt_long.h optind = start; optind 700 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 721 maint/gnulib/tests/test-getopt_long.h optind = start; optind 731 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 751 maint/gnulib/tests/test-getopt_long.h optind = start; optind 761 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 780 maint/gnulib/tests/test-getopt_long.h optind = start; optind 790 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 811 maint/gnulib/tests/test-getopt_long.h optind = start; optind 821 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 841 maint/gnulib/tests/test-getopt_long.h optind = start; optind 851 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 871 maint/gnulib/tests/test-getopt_long.h optind = start; optind 881 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 903 maint/gnulib/tests/test-getopt_long.h optind = start; optind 913 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 6); optind 933 maint/gnulib/tests/test-getopt_long.h optind = start; optind 943 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 962 maint/gnulib/tests/test-getopt_long.h optind = start; optind 972 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 991 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1001 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 1021 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1031 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1050 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1060 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1079 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1089 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1108 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1118 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 1138 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1148 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1167 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1177 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1196 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1206 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1226 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1236 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 3); optind 1256 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1266 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1289 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1299 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 1320 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1330 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 1352 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1362 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1382 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1394 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1418 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1436 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1465 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1488 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 5); optind 1512 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1533 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 7); optind 1562 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1590 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 7); optind 1604 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 12); optind 1629 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1647 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1672 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1690 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 1); optind 1707 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1717 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1746 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1769 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 1); optind 1793 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1811 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1845 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1863 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 1); optind 1883 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1893 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 1914 maint/gnulib/tests/test-getopt_long.h optind = start; optind 1925 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 4); optind 1952 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 1968 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 1984 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2000 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2017 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2034 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2050 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2066 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2081 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2096 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2105 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 2116 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 2125 maint/gnulib/tests/test-getopt_long.h ASSERT (optind == 2); optind 2137 maint/gnulib/tests/test-getopt_long.h optind = 1; optind 250 tools/attrd_updater.c if (optind > argc) { optind 546 tools/cibadmin.c if (optind < argc) { optind 547 tools/cibadmin.c crm_xml_add(output, XML_ATTR_VALIDATION, argv[optind]); optind 565 tools/cibadmin.c if (optind < argc) { optind 567 tools/cibadmin.c while (optind < argc) optind 568 tools/cibadmin.c printf("%s ", argv[optind++]); optind 573 tools/cibadmin.c if (optind > argc || cib_action == NULL) { optind 1619 tools/crm_resource.c argv[optind]); optind 341 tools/crm_shadow.c if (optind < argc) { optind 343 tools/crm_shadow.c while (optind < argc) optind 344 tools/crm_shadow.c printf("%s ", argv[optind++]); optind 349 tools/crm_shadow.c if (optind > argc) { optind 832 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { optind 834 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { optind 835 tools/crm_ticket.c CMD_ERR("%s", argv[optind++]); optind 840 tools/crm_ticket.c if (optind > argc) { optind 130 tools/notifyServicelogEvent.c if (argc - optind != 1) { optind 140 tools/notifyServicelogEvent.c if (sscanf(argv[optind], "%" U64TS, &event_id) != 1) {