Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dgetopt_long.c298 int optchar, short_too; in getopt_internal() local
417 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
419 if (optchar != -1) { in getopt_internal()
421 return (optchar); in getopt_internal()
425 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
426 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
427 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
433 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
438 warnx(illoptchar, optchar); in getopt_internal()
439 optopt = optchar; in getopt_internal()
[all …]
/external/mesa3d/src/getopt/
Dgetopt_long.c281 int optchar, short_too; in getopt_internal() local
400 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
402 if (optchar != -1) { in getopt_internal()
404 return (optchar); in getopt_internal()
408 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
409 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
410 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
416 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
421 fprintf(stderr, illoptchar, optchar); in getopt_internal()
422 optopt = optchar; in getopt_internal()
[all …]
/external/llvm-project/lldb/source/Host/common/
DGetOptInc.cpp227 int optchar, short_too; in getopt_internal() local
341 optchar = parse_long_options(nargv, options, long_options, idx, short_too); in getopt_internal()
342 if (optchar != -1) { in getopt_internal()
344 return (optchar); in getopt_internal()
348 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
349 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
350 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
356 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
361 warnx(illoptchar, optchar); in getopt_internal()
362 optopt = optchar; in getopt_internal()
[all …]
/external/tcpdump/missing/
Dgetopt_long.c358 int optchar, short_too; local
490 optchar = parse_long_options(nargv, options, long_options,
492 if (optchar != -1) {
494 return (optchar);
498 if ((optchar = (int)*place++) == (int)':' ||
499 (optchar == (int)'-' && *place != '\0') ||
500 (oli = strchr(options, optchar)) == NULL) {
506 if (optchar == (int)'-' && *place == '\0')
513 optchar);
516 warnx(illoptchar, optchar);
[all …]
/external/arm-trusted-firmware/tools/fiptool/
Dwin_posix.c73 const int optchar) in getopt_1char() argument
79 if (optchar == opstring[loptn]) { in getopt_1char()
87 return optchar; in getopt_1char()
93 return optchar; in getopt_1char()
96 optopt = optchar; in getopt_1char()
103 return optchar; in getopt_1char()
111 optopt = optchar; in getopt_1char()
/external/e2fsprogs/misc/
Dchattr.c96 char optchar; member
124 if (fp->optchar == c) in get_flag()
/external/selinux/policycoreutils/secon/
Dsecon.c154 int optchar = 0; in cmd_line() local
201 while ((optchar = getopt_long(argc, argv, SECON_OPTS_GO, in cmd_line()
203 switch (optchar) { in cmd_line()
/external/mksh/src/
Dfuncs.c3282 char optchar; member
3292 char optchar; \
3338 if (rlimits[i]->optchar == what) in c_ulimit()
3355 shprintf("-%c: %-20s ", rlimits[i]->optchar, rlimits[i]->name); in c_ulimit()