Home
last modified time | relevance | path

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

/external/libevent/WIN32-Code/
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) {
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 */
/external/libwebsockets/win32port/win32helpers/
Dgetopt_long.c81 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
82 int nargc; in getopt_internal()
94 if (optind >= nargc || *(place = nargv[optind]) != '-') {
126 else if (nargc <= ++optind) { /* no arg */
147 getopt2(nargc, nargv, ostr)
148 int nargc;
154 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
167 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
168 int nargc; in getopt_long()
181 if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
Dgetopt.c87 getopt(nargc, nargv, ostr) in getopt() argument
88 int nargc; in getopt()
102 if (optind >= nargc || *(place = nargv[optind]) != '-') {
136 else if (nargc <= ++optind) { /* no arg */
/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/tcpdump/missing/
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,
/external/capstone/cstool/
Dgetopt.h20 getopt (int nargc, char * const nargv[], const char *ostr) in getopt() argument
27 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
59 else if (nargc <= ++optind) { /* no arg */ in getopt()
/external/sg3_utils/getopt_long/
Dgetopt_long.c170 getopt_internal(int nargc, char * const *nargv, const char *options) in getopt_internal() argument
190 if (optind >= nargc) { /* end of argument vector */ in getopt_internal()
262 if (++optind >= nargc) { /* no arg */ in getopt_internal()
285 if (++optind >= nargc) { /* no arg */ in getopt_internal()
306 getopt_long(int nargc, char * const *nargv, const char *options, in getopt_long() argument
316 if ((retval = getopt_internal(nargc, nargv, options)) == -2) { in getopt_long()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
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/libpcap/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);