Home
last modified time | relevance | path

Searched refs:curOptIdx (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/ntp/sntp/libopts/
H A Dsort.c68 if (opts->curOptIdx >= opts->origArgCt) in must_arg()
71 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in must_arg()
105 if (opts->curOptIdx >= opts->origArgCt) in maybe_arg()
108 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in maybe_arg()
110 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in maybe_arg()
140 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in short_opt_ck()
143 opts->origArgVect[ (opts->curOptIdx)++ ]; in short_opt_ck()
152 if (opts->curOptIdx >= opts->origArgCt) in short_opt_ck()
155 opts->origArgVect[ (opts->curOptIdx)++ ]; in short_opt_ck()
197 opts->curOptIdx = 1; in optionSort()
[all …]
H A Dfind.c466 opts->pzCurOpt = opts->origArgVect[ opts->curOptIdx++ ]; in get_opt_arg_must()
476 o_st->pzOptArg = opts->origArgVect[ opts->curOptIdx++ ]; in get_opt_arg_must()
496 if (opts->curOptIdx > opts->origArgCt) { in get_opt_arg_must()
527 char * pzLA = pOpts->origArgVect[ pOpts->curOptIdx ]; in get_opt_arg_may()
537 pOpts->curOptIdx++; /* argument found */ in get_opt_arg_may()
550 char * pzLA = pOpts->origArgVect[ pOpts->curOptIdx ]; in get_opt_arg_may()
560 pOpts->curOptIdx++; /* argument found */ in get_opt_arg_may()
674 if (opts->curOptIdx >= opts->origArgCt) in find_opt()
677 opts->pzCurOpt = opts->origArgVect[ opts->curOptIdx ]; in find_opt()
688 opts->curOptIdx++; in find_opt()
[all …]
H A Dautoopts.c343 if (opts->curOptIdx <= 0) { in optionProcess()
344 opts->curOptIdx = 1; in optionProcess()
381 return (int)opts->curOptIdx; in optionProcess()
H A Dcheck.c150 if (pOpts->origArgCt > pOpts->curOptIdx) { in is_consistent()
160 if (pOpts->origArgCt <= pOpts->curOptIdx) { in is_consistent()
H A Dputshell.c338 for (ix = opts->curOptIdx; in print_reordering()
359 printf(zOptCtFmt, pOpts->curOptIdx-1); in optionPutShell()
482 && (pOpts->curOptIdx < pOpts->origArgCt)) in optionPutShell()
H A Dinit.c146 opts->curOptIdx = 1; /* start by skipping program name */ in immediate_opts()
277 opts->curOptIdx = 1; in ao_initialize()
H A Denv.c84 pOpts->curOptIdx = 1; in doPrognameEnv()
94 pOpts->curOptIdx = 1; in doPrognameEnv()
H A Dgenshell.h153 genshelloptOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/ntpsnmpd/
H A Dntpsnmpd-opts.h187 ntpsnmpdOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc-opts.h245 ntpdcOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/ntpq/
H A Dntpq-opts.h258 ntpqOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/sntp/libopts/autoopts/
H A Doptions.h608 unsigned int curOptIdx; ///< current option index member
/freebsd/contrib/ntp/sntp/
H A Dsntp-opts.h314 sntpOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/util/
H A Dntp-keygen-opts.h330 ntp_keygenOptions.curOptIdx = (n); \
/freebsd/contrib/ntp/ntpd/
H A Dntpd-opts.h409 ntpdOptions.curOptIdx = (n); \