/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | getopt.c | 41 optind = 1, /* index into parent argv vector */ variable 62 if (optind >= nargc || *(place = nargv[optind]) != '-') { 67 ++optind; 81 ++optind; 89 ++optind; 94 else if (nargc <= ++optind) { /* no arg */ 103 optarg = nargv[optind]; 105 ++optind;
|
/illumos-gate/usr/src/cmd/idmap/nltest/ |
H A D | nltest.c | 253 int optind = 1; local 258 while (optind < argc) { 259 arg = argv[optind]; 266 optind++; 277 optind++; 300 if (optval == NULL && optind < argc) 301 optval = argv[optind++]; 317 for (i = optind; i < argc; i++) {
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | mks.h | 665 int optind; /* Index into argv */ member in struct:getopt_state 668 int index; /* argv[optind] index */ 670 mbstate_t st; /* State of argv[optind][index] */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | opt_data.c | 40 int optind = 1; variable
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | optind.c | 29 int optind = 1; variable
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | ast_map.h | 149 #undef optind macro 150 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | ast_map.h | 128 #undef optind macro 129 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | ast_map.h | 149 #undef optind macro 150 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | ast_map.h | 128 #undef optind macro 129 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | ast_map.h | 149 #undef optind macro 150 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | ast_map.h | 128 #undef optind macro 129 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | ast_map.h | 149 #undef optind macro 150 #define optind _ast_optind macro
|
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_map.h | 128 #undef optind macro 129 #define optind _ast_optind macro
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 127 Otherwise, `optind' communicates from one call to the next 131 int optind = 1; 133 /* Formerly, initialization of getopt depended on optind==0, which 186 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 300 The other is elements [last_nonopt,optind), which contains all 316 int top = optind; 386 first_nonopt += (optind - last_nonopt); 387 last_nonopt = optind; 405 first_nonopt = last_nonopt = optind; 472 updating `optind' an 130 int optind = 1; variable [all...] |
/illumos-gate/usr/src/cmd/stat/fsstat/ |
H A D | fsstat.c | 573 int optind, 581 if (argc == optind) 585 * to be: argc - optind 587 if ((*entityp = calloc((argc - optind), sizeof (entity_t))) == NULL) { 592 for (/* void */; argc > optind; optind++) { 596 if ((argc - optind) > 2) { 597 (*entityp)[nentities++].e_name = strdup(argv[optind]); 604 *interval = strtol(argv[optind], &endptr, 10); 607 (*entityp)[nentities++].e_name = strdup(argv[optind]); 570 parse_operands( int argc, char **argv, int optind, long *interval, long *count, entity_t **entityp) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 2994 extern int optind, opterr, optopt; 2998 int optind = 1; /* index into parent argv vector */ local 3027 if (optind >= nargc || *(place = nargv[optind]) != '-' || !*++place) { 3032 ++optind; 3038 if (!*place) ++optind; 3043 if (!*place) ++optind; 3047 else if (nargc <= ++optind) { /* no arg */ 3051 else optarg = nargv[optind]; /* white space */ 3053 ++optind; [all...] |
/illumos-gate/usr/src/cmd/raidctl/ |
H A D | raidctl.c | 155 char *stripe_sizep, uint32_t f_flag, char **argv, uint32_t optind); 158 static int do_list(char *disk_argp, char **argv, uint32_t optind, 160 static int do_delete(uint32_t f_flag, char **argv, uint32_t optind); 164 uint32_t optind); 166 uint32_t optind); 414 optind, f_flag); 417 optind, f_flag); 420 optind, f_flag); 423 optind, f_flag); 433 f_flag, argv, optind); 566 do_create_cidl(char *raid_levelp, char *capacityp, char *disks_argp, char *stripe_sizep, uint32_t f_flag, char **argv, uint32_t optind) argument 884 do_list(char *disk_argp, char **argv, uint32_t optind, uint8_t is_snapshot) argument 1031 do_delete(uint32_t f_flag, char **argv, uint32_t optind) argument 1167 do_set_hsp(char *a_argp, char *disk_argp, char **argv, uint32_t optind) argument 1341 do_set_array_attr(uint32_t f_flag, char *p_argp, char **argv, uint32_t optind) argument [all...] |
/illumos-gate/usr/src/cmd/rctladm/ |
H A D | rctladm.c | 433 rctladm_list_rctls(int optind, int argc, char *argv[]) argument 435 if (optind >= argc) { 440 for (; optind < argc; optind++) 441 (void) rctl_walk_cb(argv[optind], NULL); 498 rctladm_list_rctls(optind, argc, argv); 504 if (optind >= argc) { 510 for (; optind < argc; optind++) { 511 rctl = argv[optind]; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | getopt.c | 33 int opterr = 1, optind = 1, optopt = 0; variable 43 optind = 1; 56 if (optind >= argc || argv[optind][0] != '-' || 57 argv[optind] == NULL || argv[optind][1] == '\0') 59 else if (strcmp(argv[optind], "--") == NULL) { 60 optind++; 64 optopt = c = (unsigned char)argv[optind][_sp]; 68 if (argv[optind][ [all...] |
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tsol_separator.c | 68 int optind; /* Used by getopt */ variable 430 optind = 1; 464 argc -= optind; /* Number of remaining(non-switch) args */ 465 argv += optind; /* argv[0] is first(non-switch) args */
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.c | 75 extern int optind, optopt, opterr; 83 optind = 1; 93 argv[optind - 1]); 103 return (optind); 125 int optind; local 133 optind = options_parse(argc, argv, my_comv[i].options); 134 if (optind < 0) { 139 argc - optind, 140 argv + optind, 533 optind [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapdelete.c | 71 int rc, deref, optind; local 92 optind = ldaptool_process_args( argc, argv, "c", 0, options_callback ); 94 if ( optind == -1 ) { 98 if ( ldaptool_fp == NULL && optind >= argc ) { 118 for ( ; optind < argc; ++optind ) { 121 conv = ldaptool_local2UTF8( argv[ optind ] );
|
H A D | ldapmodify.c | 146 int optind, i; local 165 optind = ldaptool_process_args( argc, argv, "aAbcFe:B:qrl:", 0, 168 optind = ldaptool_process_args( argc, argv, "aAbcFe:B:q", 0, 173 if ( optind == -1 ) { 185 if ( argc - optind != 0 ) {
|
H A D | ldapmodrdn.c | 42 int rc, havedn, deref, optind; local 60 optind = ldaptool_process_args( argc, argv, "cr", 0, options_callback); 62 if ( optind == -1 ) { 71 if (argc - optind == 3) /* accept as arguments: dn rdn newsuperior */ 92 else if (argc - optind == 2) /* accept as arguments: dn rdn */ 107 else if ( argc - optind != 0 )
|
H A D | ldapsearch.c | 158 int rc, optind, i, first, free_filtpattern; local 190 optind = ldaptool_process_args( argc, argv, "ABLTU1etuxra:b:F:G:l:S:s:z:C:", 193 optind = ldaptool_process_args( argc, argv, "ABLTU1etuxa:b:F:G:l:S:s:z:C:c:", 197 optind = ldaptool_process_args( argc, argv, "ABLTU1eotuxa:b:F:G:l:S:s:z:C:c:", 201 if ( optind == -1 ) { 225 if ( argc - optind < 1 ) { 232 if ( ldaptool_fp == NULL || strstr( argv[ optind ], "%s" ) != NULL ) { 233 filtpattern = ldaptool_local2UTF8( argv[ optind ] ); 236 ++optind; 241 if ( argv[ optind ] [all...] |