Home
last modified time | relevance | path

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

/external/sg3_utils/getopt_long/
Dgetopt_long.c317 char *current_argv, *has_equal; in getopt_long() local
321 current_argv = place; in getopt_long()
327 if (*current_argv == '\0') { /* found "--" */ in getopt_long()
340 if ((has_equal = strchr(current_argv, '=')) != NULL) { in getopt_long()
342 current_argv_len = has_equal - current_argv; in getopt_long()
345 current_argv_len = strlen(current_argv); in getopt_long()
349 if (strncmp(current_argv, long_options[i].name, in getopt_long()
365 current_argv); in getopt_long()
375 current_argv); in getopt_long()
406 fprintf(stderr, recargstring, current_argv); in getopt_long()
[all …]
/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/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/tcpdump/missing/
Dgetopt_long.c212 const char *current_argv, *has_equal; in parse_long_options() local
219 current_argv = place; in parse_long_options()
242 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
244 current_argv_len = has_equal - current_argv; in parse_long_options()
247 current_argv_len = strlen(current_argv); in parse_long_options()
251 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
285 current_argv); in parse_long_options()
298 current_argv); in parse_long_options()
337 current_argv); in parse_long_options()
358 current_argv); in parse_long_options()