Home
last modified time | relevance | path

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

/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/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/libpcap/missing/
Dgetopt.c59 getopt(nargc, nargv, ostr) in getopt() argument
60 int nargc; in getopt()
77 if (optind >= nargc || *(place = nargv[optind]) != '-') {
110 else if (nargc <= ++optind) { /* no arg */
Dgetopt.h7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/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()