Searched refs:optchar (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp227 int optchar, short_too; local
341 optchar = parse_long_options(nargv, options, long_options, idx, short_too);
342 if (optchar != -1) {
344 return (optchar);
348 if ((optchar = (int)*place++) == (int)':' ||
349 (optchar == (int)'-' && *place != '\0') ||
350 (oli = strchr(options, optchar)) == NULL) {
356 if (optchar == (int)'-' && *place == '\0')
361 warnx(illoptchar, optchar);
362 optopt = optchar;
[all...]
/freebsd-current/contrib/tcpdump/missing/
H A Dgetopt_long.c380 int optchar, short_too; local
512 optchar = parse_long_options(nargv, options, long_options,
514 if (optchar != -1) {
516 return (optchar);
520 if ((optchar = (int)*place++) == (int)':' ||
521 (optchar == (int)'-' && *place != '\0') ||
522 (oli = strchr(options, optchar)) == NULL) {
528 if (optchar == (int)'-' && *place == '\0')
535 optchar);
538 warnx(illoptchar, optchar);
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dgetopt_long.c353 int optchar, short_too; local
484 optchar = parse_long_options(nargv, options, long_options,
486 if (optchar != -1) {
488 return (optchar);
492 if ((optchar = (int)*place++) == (int)':' ||
493 (optchar == (int)'-' && *place != '\0') ||
494 (oli = strchr(options, optchar)) == NULL) {
500 if (optchar == (int)'-' && *place == '\0')
507 optchar);
510 warnx(illoptchar, optchar);
[all...]
/freebsd-current/contrib/libfido2/openbsd-compat/
H A Dgetopt_long.c289 int optchar, short_too; local
408 optchar = parse_long_options(nargv, options, long_options,
410 if (optchar != -1) {
412 return (optchar);
416 if ((optchar = (int)*place++) == (int)':' ||
417 (optchar == (int)'-' && *place != '\0') ||
418 (oli = strchr(options, optchar)) == NULL) {
424 if (optchar == (int)'-' && *place == '\0')
429 warnx(illoptchar, optchar);
430 optopt = optchar;
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c312 int optchar, short_too; local
431 optchar = parse_long_options(nargv, options, long_options,
433 if (optchar != -1) {
435 return (optchar);
439 if ((optchar = (int)*place++) == (int)':' ||
440 (optchar == (int)'-' && *place != '\0') ||
441 (oli = strchr(options, optchar)) == NULL) {
447 if (optchar == (int)'-' && *place == '\0')
452 warnx(illoptchar, optchar);
453 optopt = optchar;
[all...]
/freebsd-current/contrib/file/src/
H A Dgetopt_long.c183 int optchar; local
260 if ((optchar = (int)*place++) == (int)':' ||
261 (oli = strchr(options + (IGNORE_FIRST ? 1 : 0), optchar)) == NULL) {
266 warnx(illoptchar, optchar);
267 optopt = optchar;
270 if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
278 warnx(recargchar, optchar);
279 optopt = optchar;
301 warnx(recargchar, optchar);
302 optopt = optchar;
[all...]
/freebsd-current/contrib/flex/src/
H A Dscanopt.c504 char optchar[2];
510 optchar[0] =
512 optchar[1] = '\0';
513 optname = optchar;
503 char optchar[2]; local
/freebsd-current/usr.bin/units/
H A Dunits.c752 int optchar; local
765 while ((optchar = getopt_long(argc, argv, "+ehf:o:qtvH:UV", longopts, NULL)) != -1) {
766 switch (optchar) {

Completed in 128 milliseconds