Home
last modified time | relevance | path

Searched refs:nargv (Results 1 – 13 of 13) sorted by relevance

/external/libevent/WIN32-Code/
Dgetopt_long.c74 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
76 char * const *nargv;
82 _DIAGASSERT(nargv != NULL);
87 if (optind >= nargc || *(place = nargv[optind]) != '-') {
109 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
124 __progname(nargv[0]), optopt);
127 optarg = nargv[optind];
140 getopt2(nargc, nargv, ostr)
142 char * const *nargv;
147 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
[all …]
Dgetopt.c83 getopt(nargc, nargv, ostr) in getopt() argument
85 char * const nargv[];
91 __progname = __progname?__progname:_progname(*nargv);
93 _DIAGASSERT(nargv != NULL);
98 if (optind >= nargc || *(place = nargv[optind]) != '-') {
143 optarg = nargv[optind];
/external/libwebsockets/win32port/win32helpers/
Dgetopt_long.c81 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
83 char * const *nargv;
89 _DIAGASSERT(nargv != NULL);
94 if (optind >= nargc || *(place = nargv[optind]) != '-') {
116 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
131 __progname(nargv[0]), optopt);
134 optarg = nargv[optind];
147 getopt2(nargc, nargv, ostr)
149 char * const *nargv;
154 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
[all …]
Dgetopt.c87 getopt(nargc, nargv, ostr) in getopt() argument
89 char * const nargv[];
95 __progname = __progname?__progname:_progname(*nargv);
97 _DIAGASSERT(nargv != NULL);
102 if (optind >= nargc || *(place = nargv[optind]) != '-') {
147 optarg = nargv[optind];
/external/mesa3d/src/getopt/
Dgetopt_long.c123 char * const *nargv) in permute_args() argument
144 swap = nargv[pos]; in permute_args()
146 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
148 ((char **)nargv)[cstart] = swap; in permute_args()
159 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
231 optarg = nargv[optind++]; in parse_long_options()
277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
318 optind, nargv); in getopt_internal()
331 if (*(place = nargv[optind]) != '-' || in getopt_internal()
339 optarg = nargv[optind++]; in getopt_internal()
[all …]
/external/sg3_utils/getopt_long/
Dgetopt_long.c132 char * const *nargv) in permute_args() argument
137 assert(nargv != NULL); in permute_args()
155 swap = nargv[pos]; in permute_args()
157 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
159 ((char **)nargv)[cstart] = swap; in permute_args()
170 getopt_internal(int nargc, char * const *nargv, const char *options) in getopt_internal() argument
175 assert(nargv != NULL); in getopt_internal()
195 optind, nargv); in getopt_internal()
208 if ((*(place = nargv[optind]) != '-') in getopt_internal()
216 optarg = nargv[optind++]; in getopt_internal()
[all …]
/external/tcpdump/missing/
Dgetopt_long.c142 char * const *nargv) in permute_args() argument
179 swap = nargv[pos]; in permute_args()
182 ((char **) nargv)[pos] = nargv[cstart]; in permute_args() local
184 ((char **)nargv)[cstart] = swap; in permute_args()
209 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
322 optarg = nargv[optind++]; in parse_long_options()
376 getopt_internal(int nargc, char * const *nargv, const char *options, argument
420 optind, nargv);
433 if (*(place = nargv[optind]) != '-' ||
445 optarg = nargv[optind++];
[all …]
/external/libpcap/missing/
Dgetopt.c59 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument
67 if ((cp = strrchr(nargv[0], '/')) != NULL) in getopt()
70 __progname = nargv[0]; in getopt()
74 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
127 optarg = nargv[optind]; in getopt()
Dgetopt.h7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/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()
68 optarg = nargv[optind]; in getopt()
/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()
117 optarg = nargv[optind]; in ares_getopt()
Dares_getopt.h34 int ares_getopt(int nargc, char * const nargv[], const char *ostr);
/external/openthread/third_party/nlbuild-autotools/repo/tools/packages/make/make.patches/
Dmake-00.patch352 exec_command ((char **)nargv, environ);