Home
last modified time | relevance | path

Searched refs:nargc (Results 1 – 7 of 7) sorted by relevance

/external/openssh/openbsd-compat/
Dgetopt_long.c294 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
330 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
446 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
467 if (++optind >= nargc) { /* no arg */ in getopt_internal()
490 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
501 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
510 getopt_long(int nargc, char * const *nargv, const char *options,
514 return (getopt_internal(nargc, nargv, options, long_options, idx,
523 getopt_long_only(int nargc, char * const *nargv, const char *options,
527 return (getopt_internal(nargc, nargv, options, long_options, idx,
/external/mesa3d/src/getopt/
Dgetopt_long.c277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
313 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
429 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
450 if (++optind >= nargc) { /* no arg */ in getopt_internal()
473 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
484 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
492 getopt_long(int nargc, char * const *nargv, const char *options, in getopt_long() argument
496 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long()
505 getopt_long_only(int nargc, char * const *nargv, const char *options, in getopt_long_only() argument
509 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long_only()
/external/libpcap/Win32/Src/
Dgetopt.c57 getopt(nargc, nargv, ostr) in getopt() argument
58 int nargc; in getopt()
72 if (optind >= nargc || *(place = nargv[optind]) != '-') {
105 else if (nargc <= ++optind) { /* no arg */
/external/tcpdump/missing/
Dgetopt_long.c354 getopt_internal(int nargc, char * const *nargv, const char *options, argument
393 if (optind >= nargc) { /* end of argument vector */
525 else if (++optind >= nargc) { /* no arg */
549 if (++optind >= nargc) { /* no arg */
573 getopt(int nargc, char * const *nargv, const char *options) argument
584 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
593 getopt_long(int nargc, char * const *nargv, const char *options, argument
597 return (getopt_internal(nargc, nargv, options, long_options, idx,
606 getopt_long_only(int nargc, char * const *nargv, const char *options, argument
610 return (getopt_internal(nargc, nargv, options, long_options, idx,
/external/c-ares/
Dares_getopt.c66 ares_getopt(int nargc, char * const nargv[], const char *ostr) in ares_getopt() argument
73 if (optind >= nargc || *(place = nargv[optind]) != '-') { in ares_getopt()
106 else if (nargc <= ++optind) { /* no arg */ in ares_getopt()
Dares_getopt.h34 int ares_getopt(int nargc, char * const nargv[], const char *ostr);
/external/libedit/examples/
Dwtc1.c246 int nargc; in main() local
248 tok_str(ntok, my_wcstombs(line), &nargc, &nav); in main()