Home
last modified time | relevance | path

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

12

/freebsd/bin/test/
H A Dtest.c212 nargc = argc; in main()
217 --nargc; in main()
245 if (t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL) == BOR) in oexpr()
249 nargc++; in oexpr()
259 if (t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL) == BAND) in aexpr()
263 nargc++; in aexpr()
271 return !nexpr(t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL)); in nexpr()
285 if ((nn = t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL)) == in primary()
291 if (t_lex(nargc > 0 ? (--nargc, *++t_wp) : NULL) != RPAREN) in primary()
325 op = nargc > 0 ? (--nargc, *++t_wp) : NULL; in binop()
[all …]
/freebsd/contrib/ntp/sntp/libevent/WIN32-Code/
H A Dgetopt_long.c74 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
75 int nargc; in getopt_internal()
87 if (optind >= nargc || *(place = nargv[optind]) != '-') {
119 else if (nargc <= ++optind) { /* no arg */
140 getopt2(nargc, nargv, ostr)
141 int nargc;
147 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
160 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
161 int nargc; in getopt_long()
174 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
H A Dgetopt.c83 getopt(nargc, nargv, ostr) in getopt() argument
84 int nargc; in getopt()
98 if (optind >= nargc || *(place = nargv[optind]) != '-') {
132 else if (nargc <= ++optind) { /* no arg */
/freebsd/contrib/libevent/WIN32-Code/
H A Dgetopt_long.c74 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
75 int nargc; in getopt_internal()
87 if (optind >= nargc || *(place = nargv[optind]) != '-') {
119 else if (nargc <= ++optind) { /* no arg */
140 getopt2(nargc, nargv, ostr)
141 int nargc;
147 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
160 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
161 int nargc; in getopt_long()
174 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
H A Dgetopt.c83 getopt(nargc, nargv, ostr) in getopt() argument
84 int nargc; in getopt()
98 if (optind >= nargc || *(place = nargv[optind]) != '-') {
132 else if (nargc <= ++optind) { /* no arg */
/freebsd/contrib/file/src/
H A Dgetopt_long.c177 getopt_internal(nargc, nargv, options) in getopt_internal() argument
178 int nargc; in getopt_internal()
203 if (optind >= nargc) { /* end of argument vector */
275 if (++optind >= nargc) { /* no arg */
298 if (++optind >= nargc) { /* no arg */
322 getopt(nargc, nargv, options) in getopt() argument
323 int nargc; in getopt()
332 retval = getopt_internal(nargc, (char **)nargv, options);
356 getopt_long(nargc, nargv, options, long_options, idx) in getopt_long() argument
357 int nargc; in getopt_long()
[all …]
/freebsd/contrib/libfido2/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,
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp223 static int getopt_internal(int nargc, char *const *nargv, const char *options, in getopt_internal() argument
259 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
369 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
389 if (++optind >= nargc) { /* no arg */ in getopt_internal()
412 int getopt(int nargc, char *const *nargv, const char *options) { in getopt() argument
422 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
431 int getopt_long(int nargc, char *const *nargv, const char *options, in getopt_long() argument
434 getopt_internal(nargc, nargv, options, long_options, idx, FLAG_PERMUTE)); in getopt_long()
443 int getopt_long_only(int nargc, char *const *nargv, const char *options, in getopt_long_only() argument
446 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long_only()
/freebsd/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c308 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
344 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
460 else if (++optind >= nargc) { /* no arg */ in getopt_internal()
481 if (++optind >= nargc) { /* no arg */ in getopt_internal()
504 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
515 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
524 getopt_long(int nargc, char * const *nargv, const char *options,
528 return (getopt_internal(nargc, nargv, options, long_options, idx,
537 getopt_long_only(int nargc, char * const *nargv, const char *options,
541 return (getopt_internal(nargc, nargv, options, long_options, idx,
/freebsd/lib/libc/stdlib/
H A Dgetopt_long.c349 getopt_internal(int nargc, char * const *nargv, const char *options, argument
385 if (optind >= nargc) { /* end of argument vector */
519 else if (++optind >= nargc) { /* no arg */
543 if (++optind >= nargc) { /* no arg */
567 getopt(int nargc, char * const *nargv, const char *options) argument
578 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
587 getopt_long(int nargc, char * const *nargv, const char *options, argument
591 return (getopt_internal(nargc, nargv, options, long_options, idx,
600 getopt_long_only(int nargc, char * const *nargv, const char *options, argument
604 return (getopt_internal(nargc, nargv, options, long_options, idx,
H A Dgetopt.c57 getopt(int nargc, char * const nargv[], const char *ostr) in getopt() argument
65 if (optind >= nargc || *place++ != '-') { in getopt()
116 else if (nargc > ++optind) in getopt()
/freebsd/contrib/tcpdump/missing/
H A Dgetopt_long.c376 getopt_internal(int nargc, char * const *nargv, const char *options, argument
415 if (optind >= nargc) { /* end of argument vector */
547 else if (++optind >= nargc) { /* no arg */
573 if (++optind >= nargc) { /* no arg */
597 getopt(int nargc, char * const *nargv, const char *options) argument
608 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
617 getopt_long(int nargc, char * const *nargv, const char *options, argument
621 return (getopt_internal(nargc, nargv, options, long_options, idx,
630 getopt_long_only(int nargc, char * const *nargv, const char *options, argument
634 return (getopt_internal(nargc, nargv, options, long_options, idx,
/freebsd/stand/common/
H A Dinterp_lua.c165 int argc, nargc; in interp_run() local
185 for (nargc = 0; nargc < argc; ++nargc) { in interp_run()
186 lua_pushstring(luap, argv[nargc]); in interp_run()
/freebsd/stand/libsa/
H A Dgetopt.c48 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
55 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
87 else if (nargc <= ++optind) { /* no arg */ in getopt()
/freebsd/lib/libc/gen/
H A Dsetproctitle.c76 int nargc; in setproctitle_internal() local
112 nargc = 1; in setproctitle_internal()
116 nargc = oargc; in setproctitle_internal()
168 ps_strings->ps_nargvstr = nargc; in setproctitle_internal()
/freebsd/contrib/smbfs/lib/smb/
H A Dcfopt.c54 cf_getopt(int nargc, char * const *nargv, const char *ostr) in cf_getopt() argument
64 if (tmpind >= nargc) { in cf_getopt()
104 else if (nargc <= ++cf_optind) { /* no arg */ in cf_getopt()
/freebsd/contrib/unifdef/FreeBSD/
H A Dgetopt.c48 getopt(int nargc, char *nargv[], const char *ostr) in getopt() argument
56 if (optind >= nargc || *place++ != '-') { in getopt()
101 else if (nargc > ++optind) in getopt()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetopt.c58 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
66 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
104 else if (nargc <= ++optind) { /* no arg */ in getopt()
/freebsd/contrib/libpcap/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);
/freebsd/usr.bin/pr/
H A Degetopt.c69 egetopt(int nargc, char * const *nargv, const char *ostr) in egetopt() argument
86 if ((eoptind >= nargc) || in egetopt()
187 } else if (nargc <= ++eoptind) { in egetopt()
/freebsd/contrib/bmake/
H A Dgetopt.c58 getopt(int nargc, char * const nargv[], const char *ostr) in getopt() argument
76 if (optind >= nargc || *place++ != '-') { in getopt()
126 else if (nargc > ++optind) in getopt()
/freebsd/stand/liblua/
H A Dlutils.c149 int argc, nargc; in lua_parse() local
153 for (nargc = 0; nargc < argc; ++nargc) { in lua_parse()
154 lua_pushstring(L, argv[nargc]); in lua_parse()
157 return nargc; in lua_parse()
/freebsd/contrib/bsddialog/utility/
H A Dbsddialog.c154 int i, rows, cols, retval, parsed, nargc, firstoptind; in main() local
179 nargc = argc - parsed; in main()
261 argc = nargc; in main()
/freebsd/contrib/unifdef/win32/
H A Dunifdef.h82 int getopt(int nargc, char *nargv[], const char *ostr);

12