Home
last modified time | relevance | path

Searched refs:current_argv (Results 1 – 6 of 6) sorted by relevance

/external/libevent/WIN32-Code/
Dgetopt_long.c175 char *current_argv = nargv[optind++] + 2, *has_equal; local
179 if (*current_argv == '\0') {
182 if ((has_equal = strchr(current_argv, '=')) != NULL) {
183 current_argv_len = has_equal - current_argv;
186 current_argv_len = strlen(current_argv);
189 if (strncmp(current_argv, long_options[i].name, current_argv_len))
216 __progname(nargv[0]), current_argv);
222 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/external/libwebsockets/win32port/win32helpers/
Dgetopt_long.c182 char *current_argv = nargv[optind++] + 2, *has_equal; local
185 if (*current_argv == '\0') {
188 if ((has_equal = strchr(current_argv, '=')) != NULL) {
189 current_argv_len = lws_ptr_diff(has_equal, current_argv);
192 current_argv_len = (int)strlen(current_argv);
195 if (strncmp(current_argv, long_options[i].name, current_argv_len))
222 __progname(nargv[0]), current_argv);
228 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/external/openssh/openbsd-compat/
Dgetopt_long.c179 char *current_argv, *has_equal; in parse_long_options() local
183 current_argv = place; in parse_long_options()
188 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
190 current_argv_len = has_equal - current_argv; in parse_long_options()
193 current_argv_len = strlen(current_argv); in parse_long_options()
197 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
219 current_argv); in parse_long_options()
229 current_argv); in parse_long_options()
259 current_argv); in parse_long_options()
276 warnx(illoptstring, current_argv); in parse_long_options()
/external/mesa3d/src/getopt/
Dgetopt_long.c162 char *current_argv, *has_equal; in parse_long_options() local
166 current_argv = place; in parse_long_options()
171 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
173 current_argv_len = has_equal - current_argv; in parse_long_options()
176 current_argv_len = strlen(current_argv); in parse_long_options()
180 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
202 current_argv); in parse_long_options()
212 current_argv); in parse_long_options()
242 current_argv); in parse_long_options()
259 fprintf(stderr, illoptstring, current_argv); in parse_long_options()
/external/llvm-project/lldb/source/Host/common/
DGetOptInc.cpp115 char *current_argv, *has_equal; in parse_long_options() local
119 current_argv = const_cast<char *>(place); in parse_long_options()
124 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
126 current_argv_len = has_equal - current_argv; in parse_long_options()
129 current_argv_len = strlen(current_argv); in parse_long_options()
133 if (strncmp(current_argv, long_options[i].name, current_argv_len)) in parse_long_options()
153 warnx(ambig, (int)current_argv_len, current_argv); in parse_long_options()
161 warnx(noarg, (int)current_argv_len, current_argv); in parse_long_options()
189 warnx(recargstring, current_argv); in parse_long_options()
206 warnx(illoptstring, current_argv); in parse_long_options()
/external/tcpdump/missing/
Dgetopt_long.c192 const char *current_argv, *has_equal; in parse_long_options() local
199 current_argv = place; in parse_long_options()
222 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
224 current_argv_len = has_equal - current_argv; in parse_long_options()
227 current_argv_len = strlen(current_argv); in parse_long_options()
231 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
265 current_argv); in parse_long_options()
278 current_argv); in parse_long_options()
315 current_argv); in parse_long_options()
336 current_argv); in parse_long_options()