Home
last modified time | relevance | path

Searched refs:current_argv (Results 26 – 50 of 173) sorted by relevance

1234567

/dports/games/openclonk/openclonk-release-8.1-src/thirdparty/getopt/
H A Dgetopt_long.c178 char *current_argv = nargv[optind++] + 2, *has_equal; local
181 if (*current_argv == '\0') {
184 if ((has_equal = strchr(current_argv, '=')) != NULL) {
185 current_argv_len = (int) (has_equal - current_argv);
188 current_argv_len = (int) (strlen(current_argv));
191 if (strncmp(current_argv, long_options[i].name, current_argv_len))
218 __progname(nargv[0]), current_argv);
224 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/extra/libevent/WIN32-Code/
H A Dgetopt_long.c175 char *current_argv = nargv[optind++] + 2, *has_equal; local
178 if (*current_argv == '\0') {
181 if ((has_equal = strchr(current_argv, '=')) != NULL) {
182 current_argv_len = has_equal - current_argv;
185 current_argv_len = strlen(current_argv);
188 if (strncmp(current_argv, long_options[i].name, current_argv_len))
215 __progname(nargv[0]), current_argv);
221 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/third_party/libevent/WIN32-Code/
H A Dgetopt_long.c175 char *current_argv = nargv[optind++] + 2, *has_equal; local
178 if (*current_argv == '\0') {
181 if ((has_equal = strchr(current_argv, '=')) != NULL) {
182 current_argv_len = has_equal - current_argv;
185 current_argv_len = strlen(current_argv);
188 if (strncmp(current_argv, long_options[i].name, current_argv_len))
215 __progname(nargv[0]), current_argv);
221 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/dports/devel/libevent/libevent-2.1.12-stable/WIN32-Code/
H A 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);
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/monkey/mk_core/deps/libevent/WIN32-Code/
H A Dgetopt_long.c175 char *current_argv = nargv[optind++] + 2, *has_equal; local
178 if (*current_argv == '\0') {
181 if ((has_equal = strchr(current_argv, '=')) != NULL) {
182 current_argv_len = has_equal - current_argv;
185 current_argv_len = strlen(current_argv);
188 if (strncmp(current_argv, long_options[i].name, current_argv_len))
215 __progname(nargv[0]), current_argv);
221 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/dports/databases/mysql57-client/mysql-5.7.36/extra/libevent/libevent-2.1.11-stable/WIN32-Code/
H A 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);
/dports/databases/mysql56-client/mysql-5.6.51/extra/libevent/WIN32-Code/
H A Dgetopt_long.c175 char *current_argv = nargv[optind++] + 2, *has_equal; local
178 if (*current_argv == '\0') {
181 if ((has_equal = strchr(current_argv, '=')) != NULL) {
182 current_argv_len = has_equal - current_argv;
185 current_argv_len = strlen(current_argv);
188 if (strncmp(current_argv, long_options[i].name, current_argv_len))
215 __progname(nargv[0]), current_argv);
221 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/dports/net/libwebsockets/libwebsockets-v4.2.2/win32port/win32helpers/
H A 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);
/dports/shells/klish/klish-2.1.4/libc/
H A Dgetopt.c348 char *current_argv, *has_equal; in getopt_long() local
352 current_argv = place; in getopt_long()
358 if (*current_argv == '\0') { /* found "--" */ in getopt_long()
371 if ((has_equal = strchr(current_argv, '=')) != NULL) { in getopt_long()
373 current_argv_len = has_equal - current_argv; in getopt_long()
376 current_argv_len = strlen(current_argv); in getopt_long()
380 if (strncmp(current_argv, long_options[i].name, in getopt_long()
396 current_argv); in getopt_long()
406 current_argv); in getopt_long()
438 xwarnx(recargstring, current_argv); in getopt_long()
[all …]
/dports/net/yptransitd/yptransitd-0.5/lib/
H A Dgetopt_long.c356 char *current_argv, *has_equal; local
360 current_argv = place;
366 if (*current_argv == '\0') { /* found "--" */
379 if ((has_equal = strchr(current_argv, '=')) != NULL) {
381 current_argv_len = has_equal - current_argv;
384 current_argv_len = strlen(current_argv);
388 if (strncmp(current_argv, long_options[i].name,
404 (int) current_argv_len, current_argv);
414 (int) current_argv_len, current_argv);
447 current_argv);
[all …]
/dports/science/cdo/cdo-2.0.0/src/
H A Dcdo_getopt.cc174 char *current_argv = argv[CDO_optind++] + 2, *has_equal; in cdo_getopt_long() local
177 if (*current_argv == '\0') return (-1); in cdo_getopt_long()
179 if ((has_equal = strchr(current_argv, '=')) != nullptr) in cdo_getopt_long()
181 current_argv_len = has_equal - current_argv; in cdo_getopt_long()
185 current_argv_len = strlen(current_argv); in cdo_getopt_long()
189 if (strncmp(current_argv, longopts[i].name, current_argv_len)) continue; in cdo_getopt_long()
215 … fprintf(stderr, "%s: option requires an argument -- %s\n", __progname(argv[0]), current_argv); in cdo_getopt_long()
221 …ptstring != ':')) fprintf(stderr, "%s: illegal option -- %s\n", __progname(argv[0]), current_argv); in cdo_getopt_long()
/dports/net/wackamole/wackamole-2.1.5/
H A Dgetopt_long.c350 char *current_argv, *has_equal; local
354 current_argv = place;
360 if (*current_argv == '\0') { /* found "--" */
373 if ((has_equal = strchr(current_argv, '=')) != NULL) {
375 current_argv_len = has_equal - current_argv;
378 current_argv_len = strlen(current_argv);
382 if (strncmp(current_argv, long_options[i].name,
398 current_argv);
408 current_argv);
439 fprintf(stderr, recargstring, current_argv);
[all …]
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/extras/
H A Dgetopt.c367 char *current_argv, *has_equal; local
371 current_argv = place;
377 if (*current_argv == '\0') { /* found "--" */
390 if ((has_equal = strchr(current_argv, '=')) != NULL) {
392 current_argv_len = has_equal - current_argv;
395 current_argv_len = strlen(current_argv);
399 if (strncmp(current_argv, long_options[i].name,
415 current_argv);
425 current_argv);
457 xwarnx(recargstring, current_argv);
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/stdlib/
H A Dgetopt_long.c358 char *current_argv, *has_equal; in getopt_long() local
362 current_argv = __UNCONST(place); in getopt_long()
369 if (*current_argv == '\0') { /* found "--" */ in getopt_long()
382 if ((has_equal = strchr(current_argv, '=')) != NULL) { in getopt_long()
384 current_argv_len = has_equal - current_argv; in getopt_long()
387 current_argv_len = strlen(current_argv); in getopt_long()
391 if (strncmp(current_argv, long_options[i].name, in getopt_long()
411 current_argv); in getopt_long()
420 current_argv); in getopt_long()
451 warnx(recargstring, current_argv); in getopt_long()
[all …]
/dports/emulators/hercules/hercules-3.13/
H A Dgetopt.c402 char *current_argv, *has_equal; local
406 current_argv = place;
412 if (*current_argv == '\0') { /* found "--" */
425 if ((has_equal = strchr(current_argv, '=')) != NULL) {
427 current_argv_len = has_equal - current_argv;
430 current_argv_len = strlen(current_argv);
434 if (strncmp(current_argv, long_options[i].name,
450 current_argv);
460 current_argv);
491 warnx(recargstring, current_argv);
[all …]
/dports/devel/libmowgli2/libmowgli-2-2.1.3/src/libmowgli/ext/
H A Dgetopt_long.c407 char *current_argv, *has_equal; in mowgli_getopt_long() local
411 current_argv = __UNCONST(place); in mowgli_getopt_long()
418 if (*current_argv == '\0') /* found "--" */ in mowgli_getopt_long()
434 if ((has_equal = strchr(current_argv, '=')) != NULL) in mowgli_getopt_long()
437 current_argv_len = has_equal - current_argv; in mowgli_getopt_long()
442 current_argv_len = strlen(current_argv); in mowgli_getopt_long()
448 if (strncmp(current_argv, long_options[i].name, in mowgli_getopt_long()
472 current_argv); in mowgli_getopt_long()
485 current_argv); in mowgli_getopt_long()
521 warnx(recargstring, current_argv); in mowgli_getopt_long()
[all …]
/dports/sysutils/file/file-5.39/src/
H A Dgetopt_long.c377 char *current_argv, *has_equal; local
381 current_argv = (char *)place;
388 if (*current_argv == '\0') { /* found "--" */
401 if ((has_equal = strchr(current_argv, '=')) != NULL) {
403 current_argv_len = has_equal - current_argv;
406 current_argv_len = strlen(current_argv);
410 if (strncmp(current_argv, long_options[i].name,
430 current_argv);
439 current_argv);
470 warnx(recargstring, current_argv);
[all …]
/dports/irc/atheme-services/atheme-7.2.9/libmowgli-2/src/libmowgli/ext/
H A Dgetopt_long.c407 char *current_argv, *has_equal; in mowgli_getopt_long() local
411 current_argv = __UNCONST(place); in mowgli_getopt_long()
418 if (*current_argv == '\0') /* found "--" */ in mowgli_getopt_long()
434 if ((has_equal = strchr(current_argv, '=')) != NULL) in mowgli_getopt_long()
437 current_argv_len = has_equal - current_argv; in mowgli_getopt_long()
442 current_argv_len = strlen(current_argv); in mowgli_getopt_long()
448 if (strncmp(current_argv, long_options[i].name, in mowgli_getopt_long()
472 current_argv); in mowgli_getopt_long()
485 current_argv); in mowgli_getopt_long()
521 warnx(recargstring, current_argv); in mowgli_getopt_long()
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/exiv2/src/
H A Dgetopt_win32.c396 char *current_argv, *has_equal; local
400 current_argv = place;
406 if (*current_argv == '\0') { /* found "--" */
419 if ((has_equal = strchr(current_argv, '=')) != NULL) {
421 current_argv_len = has_equal - current_argv;
424 current_argv_len = strlen(current_argv);
428 if (strncmp(current_argv, long_options[i].name,
444 current_argv);
454 current_argv);
485 warnx(recargstring, current_argv);
[all …]
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/framework/modules/c_FileTypeSigModule/file-5.08/src/
H A Dgetopt_long.c377 char *current_argv, *has_equal; local
381 current_argv = (char *)place;
388 if (*current_argv == '\0') { /* found "--" */
401 if ((has_equal = strchr(current_argv, '=')) != NULL) {
403 current_argv_len = has_equal - current_argv;
406 current_argv_len = strlen(current_argv);
410 if (strncmp(current_argv, long_options[i].name,
430 current_argv);
439 current_argv);
470 warnx(recargstring, current_argv);
[all …]
/dports/devel/py-magic/file-5.40/src/
H A Dgetopt_long.c377 char *current_argv, *has_equal; local
381 current_argv = (char *)place;
388 if (*current_argv == '\0') { /* found "--" */
401 if ((has_equal = strchr(current_argv, '=')) != NULL) {
403 current_argv_len = has_equal - current_argv;
406 current_argv_len = strlen(current_argv);
410 if (strncmp(current_argv, long_options[i].name,
430 current_argv);
439 current_argv);
470 warnx(recargstring, current_argv);
[all …]
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/ext/magic/
H A Dgetopt_long.c377 char *current_argv, *has_equal; local
381 current_argv = (char *)place;
388 if (*current_argv == '\0') { /* found "--" */
401 if ((has_equal = strchr(current_argv, '=')) != NULL) {
403 current_argv_len = has_equal - current_argv;
406 current_argv_len = strlen(current_argv);
410 if (strncmp(current_argv, long_options[i].name,
430 current_argv);
439 current_argv);
470 warnx(recargstring, current_argv);
[all …]
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/ext/magic/
H A Dgetopt_long.c377 char *current_argv, *has_equal; local
381 current_argv = (char *)place;
388 if (*current_argv == '\0') { /* found "--" */
401 if ((has_equal = strchr(current_argv, '=')) != NULL) {
403 current_argv_len = has_equal - current_argv;
406 current_argv_len = strlen(current_argv);
410 if (strncmp(current_argv, long_options[i].name,
430 current_argv);
439 current_argv);
470 warnx(recargstring, current_argv);
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Dmakeargv.c35 char *current_argv[ PARSER_MAX_ARGS ]; in makeargv() local
50 current_argv[ current_token ] = current_token_start; in makeargv()
95 current_argv[current_token++] = current_token_start; in makeargv()
107 remove_quotes( current_argv[i] ); in makeargv()
108 (*argv)[i] = strdup(current_argv[i]); in makeargv()
/dports/security/libfido2/libfido2-1.9.0/openbsd-compat/
H A Dgetopt_long.c170 char *current_argv, *has_equal; in parse_long_options() local
174 current_argv = place; in parse_long_options()
179 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options()
181 current_argv_len = has_equal - current_argv; in parse_long_options()
184 current_argv_len = strlen(current_argv); in parse_long_options()
188 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
210 current_argv); in parse_long_options()
220 current_argv); in parse_long_options()
250 current_argv); in parse_long_options()
267 warnx(illoptstring, current_argv); in parse_long_options()

1234567