Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/
Dgetopt_long.c76 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
77 int nargc; in getopt_internal()
89 if (optind >= nargc || *(place = nargv[optind]) != '-') {
121 else if (nargc <= ++optind) { /* no arg */
142 getopt2(nargc, nargv, ostr)
143 int nargc;
149 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
162 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
163 int nargc; in getopt_long()
176 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
Dgetopt.c85 getopt(nargc, nargv, ostr) in getopt() argument
86 int nargc; in getopt()
100 if (optind >= nargc || *(place = nargv[optind]) != '-') {
134 else if (nargc <= ++optind) { /* no arg */
/netbsd/src/external/bsd/libevent/dist/WIN32-Code/
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) {
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/
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/tcpdump/dist/missing/
Dgetopt_long.c376 getopt_internal(int nargc, char * const *nargv, const char *options, argument
415 if (optind >= nargc) { /* end of argument vector */
546 else if (++optind >= nargc) { /* no arg */
572 if (++optind >= nargc) { /* no arg */
596 getopt(int nargc, char * const *nargv, const char *options) argument
607 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
616 getopt_long(int nargc, char * const *nargv, const char *options, argument
620 return (getopt_internal(nargc, nargv, options, long_options, idx,
629 getopt_long_only(int nargc, char * const *nargv, const char *options, argument
633 return (getopt_internal(nargc, nargv, options, long_options, idx,
/netbsd/src/lib/libc/stdlib/
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/
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()
Dgetopt.h7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
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()
Droken.h.in865 getopt(int nargc, char * const *nargv, const char *ostr);
/netbsd/src/common/lib/libc/stdlib/
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/
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/
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()
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/
Dwtc1.c246 int nargc; in main() local
248 tok_str(ntok, my_wcstombs(line), &nargc, &nav); in main()