Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libevent/dist/WIN32-Code/
H A Dgetopt_long.c75 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
76 int nargc; in getopt_internal()
88 if (optind >= nargc || *(place = nargv[optind]) != '-') {
120 else if (nargc <= ++optind) { /* no arg */
141 getopt2(nargc, nargv, ostr)
142 int nargc;
148 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
161 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
162 int nargc; in getopt_long()
175 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
H A Dgetopt.c84 getopt(nargc, nargv, ostr) in getopt() argument
85 int nargc; in getopt()
99 if (optind >= nargc || *(place = nargv[optind]) != '-') {
133 else if (nargc <= ++optind) { /* no arg */
/netbsd-src/external/bsd/file/dist/src/
H A Dgetopt_long.c183 getopt_internal(nargc, nargv, options) in getopt_internal() argument
184 int nargc; in getopt_internal()
209 if (optind >= nargc) { /* end of argument vector */
281 if (++optind >= nargc) { /* no arg */
304 if (++optind >= nargc) { /* no arg */
328 getopt(nargc, nargv, options) in getopt() argument
329 int nargc; in getopt()
338 retval = getopt_internal(nargc, (char **)nargv, options);
362 getopt_long(nargc, nargv, options, long_options, idx) in getopt_long() argument
363 int nargc; in getopt_long()
[all …]
/netbsd-src/external/bsd/libfido2/dist/openbsd-compat/
H A Dgetopt_long.c285 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
321 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
437 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
458 if (++optind >= nargc) { /* no arg */ in getopt_internal()
481 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
492 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
501 getopt_long(int nargc, char * const *nargv, const char *options,
505 return (getopt_internal(nargc, nargv, options, long_options, idx,
514 getopt_long_only(int nargc, char * const *nargv, const char *options,
518 return (getopt_internal(nargc, nargv, options, long_options, idx,
/netbsd-src/lib/libc/stdlib/
H A Dgetopt_long.c168 getopt_internal(int nargc, char **nargv, const char *options) in getopt_internal() argument
191 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
263 if (++optind >= nargc) { /* no arg */ in getopt_internal()
286 if (++optind >= nargc) { /* no arg */ in getopt_internal()
310 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
317 retval = getopt_internal(nargc, __UNCONST(nargv), options); in getopt()
341 getopt_long(int nargc, char * const *nargv, const char *options, in getopt_long() argument
356 retval = getopt_internal(nargc, __UNCONST(nargv), options); in getopt_long()
/netbsd-src/external/bsd/libpcap/dist/missing/
H A Dgetopt.c59 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
74 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
116 else if (nargc <= ++optind) { /* no arg */ in getopt()
H A Dgetopt.h7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetopt.c60 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
68 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
106 else if (nargc <= ++optind) { /* no arg */ in getopt()
H A Droken.h.in865 getopt(int nargc, char * const *nargv, const char *ostr);
/netbsd-src/common/lib/libc/stdlib/
H A Dgetopt.c77 getopt(int nargc, char * const nargv[], const char *ostr) in getopt() argument
88 if (optind >= nargc || *place++ != '-') { in getopt()
137 else if (nargc > ++optind) in getopt()
/netbsd-src/usr.bin/pr/
H A Degetopt.c73 egetopt(int nargc, char * const *nargv, const char *ostr) in egetopt() argument
90 if ((eoptind >= nargc) || in egetopt()
191 } else if (nargc <= ++eoptind) { in egetopt()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_provider.c414 dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc) in dt_probe_create() argument
433 xargc = nargc; in dt_probe_create()
447 prp->pr_nargv = dt_alloc(dtp, sizeof (dt_node_t *) * nargc); in dt_probe_create()
448 prp->pr_nargc = nargc; in dt_probe_create()
483 for (i = 0; i < nargc; i++, nargs = nargs->dn_list) in dt_probe_create()
H A Ddt_parser.c2516 int nargc, xargc; in dt_node_probe() local
2542 nargc = dt_decl_prototype(nargs, nargs, in dt_node_probe()
2548 if (nargc > UINT8_MAX) { in dt_node_probe()
2550 "parameters: %d params used\n", name, UINT8_MAX, nargc); in dt_node_probe()
2559 dnp->dn_ident, protoc, nargs, nargc, xargs, xargc) == NULL) in dt_node_probe()
/netbsd-src/lib/libedit/TEST/
H A Dwtc1.c246 int nargc; in main() local
248 tok_str(ntok, my_wcstombs(line), &nargc, &nav); in main()