HomeSort by relevance Sort by last modified time
    Searched defs:optind (Results 1 - 25 of 27) sorted by null

1 2

  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/
optind.c 29 int optind = 1; variable
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
opt_data.c 40 int optind = 1; variable
  /onnv/onnv-gate/usr/src/cmd/bnu/
getopt.c 43 int optind = 1; variable
57 if(optind >= argc ||
58 argv[optind][0] != '-' || argv[optind][1] == '\0')
60 else if(strcmp(argv[optind], "--") == NULL) {
61 optind++;
64 optopt = c = argv[optind][sp];
67 if(argv[optind][++sp] == '\0') {
68 optind++;
74 if(argv[optind][sp+1] != '\0'
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/libstand/
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][++_sp] == '\0')
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ldap/common/
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 )
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 ] );
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 ) {
    [all...]
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 ] == NULL )
    [all...]
  /onnv/onnv-gate/usr/src/lib/libparted/common/lib/
getopt_int.h 39 int optind;
84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
111 /* The initializer is necessary to set OPTIND and OPTERR to their
38 int optind; member in struct:_getopt_data
getopt.c 87 Otherwise, `optind' communicates from one call to the next
91 int optind = 1;
148 The other is elements [last_nonopt,optind), which contains all
159 int top = d->optind;
229 d->__first_nonopt += (d->optind - d->__last_nonopt);
230 d->__last_nonopt = d->optind;
243 d->__first_nonopt = d->__last_nonopt = d->optind;
310 updating `optind' and `nextchar' so that the next call to `getopt' can
314 Then `optind' is the index in ARGV of the first ARGV-element
369 if (d->optind == 0 || !d->__initialized
90 int optind = 1; variable
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/common/
GetOpt.java 46 protected int optind = 0; field in class:GetOpt
97 if (optind >= argc || (argv[optind].length() < 2) ||
98 argv[optind].charAt(MINUS_POSITION) != '-') {
106 currentOption = argv[optind].charAt(OPTION_POSITION);
109 optind = optind + 1;
127 if (argv[optind].length() != 2) {
128 optarg = argv[optind].substring(AFTER_OPTION_POSITION);
129 optind++
    [all...]
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
Getopt.java 49 private int optind = 0; // args index field in class:Getopt
261 return optind;
321 * - the first character of argv[optind] is not '-'
322 * - argv[optind] is the string "-"
323 * getopt() returns -1 without changing optind if
324 * - argv[optind] is the string "--"
325 * getopt() returns -1 after incrementing optind
331 if (optind >= argc || args[optind].equals("-")) {
333 } else if (args[optind].equals("--"))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/idmap/idmap/
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 = 0
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lp/model/
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 */
  /onnv/onnv-gate/usr/src/grub/grub-0.97/lib/
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' and `nextchar' so that the next call to `getopt' ca
130 int optind = 1; variable
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/
dns-sd.c 90 #include <unistd.h> // For getopt() and optind
550 *pOptInd = optind;
658 int optind; local
683 operation = getfirstoption( argc, argv, "EFBLRPQCAUNTMI", &optind);
700 case 'B': if (argc < optind+1) goto Fail;
701 dom = (argc < optind+2) ? "" : argv[optind+1];
703 printf("Browsing for %s%s%s\n", argv[optind+0], dom[0] ? "." : "", dom);
704 err = DNSServiceBrowse(&client, 0, opinterface, argv[optind+0], dom, browse_reply, NULL);
707 case 'L': if (argc < optind+2) goto Fail
    [all...]
  /onnv/onnv-gate/usr/src/lib/libxcurses/h/
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] */
  /onnv/onnv-gate/usr/src/cmd/ssh/include/
defines.h 477 #undef optind macro
483 #define optind BSDoptind macro
  /onnv/onnv-gate/usr/src/lib/libast/amd64/include/ast/
ast_map.h 149 #undef optind macro
150 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/amd64/src/lib/libast/
ast_map.h 128 #undef optind macro
129 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/i386/include/ast/
ast_map.h 149 #undef optind macro
150 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/i386/src/lib/libast/
ast_map.h 128 #undef optind macro
129 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/sparc/include/ast/
ast_map.h 149 #undef optind macro
150 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/sparc/src/lib/libast/
ast_map.h 128 #undef optind macro
129 #define optind _ast_optind macro
  /onnv/onnv-gate/usr/src/lib/libast/sparcv9/include/ast/
ast_map.h 149 #undef optind macro
150 #define optind _ast_optind macro

Completed in 9409 milliseconds

1 2