/dports/lang/gawk/gawk-5.1.1/awklib/eg/lib/ |
H A D | getopt.awk | 23 function getopt(argc, argv, options, longopts, thisopt, i, j) 39 thisopt = substr(argv[Optind], _opti, 1) 40 Optopt = thisopt 41 i = index(options, thisopt) 66 return thisopt 70 thisopt = substr(argv[Optind], 3, j - 3) 72 thisopt = substr(argv[Optind], 3) 73 Optopt = thisopt 74 i = match(longopts, "(^|,)" thisopt "($|[,:])") 81 if (substr(longopts, i+1+length(thisopt), 1) == ":") { [all …]
|
/dports/audio/sdl2_mixer/SDL2_mixer-2.0.4/external/mpg123-1.25.6/src/ |
H A D | getlopt.c | 105 char *thisopt; in getsingleopt() local 111 thisopt = argv[loptind]; in getsingleopt() 112 debug1("getsingleopt: %s", thisopt); in getsingleopt() 114 if (thisopt[0] != '-' || !thisopt[1]) /* no more options */ in getsingleopt() 116 if (thisopt[1] == '-') { /* "--" */ in getsingleopt() 117 if (thisopt[2]) { /* long option */ in getsingleopt() 118 loptarg = thisopt+2; in getsingleopt() 120 if (!(opt = findopt(1, thisopt+2, opts))) in getsingleopt() 133 shortopt[0] = thisopt[loptchr]; in getsingleopt() 135 opt = findopt(0, thisopt+(loptchr++), opts); in getsingleopt() [all …]
|
/dports/ftp/omi/omi/utils/ |
H A D | getlopt.c | 80 char *thisopt; in getsingleopt() local 86 thisopt = argv[loptind]; in getsingleopt() 88 if (thisopt[0] != '-' || !thisopt[1]) /* no more options */ in getsingleopt() 90 if (thisopt[1] == '-') /* "--" */ in getsingleopt() 91 if (thisopt[2]) { /* long option */ in getsingleopt() 92 loptarg = thisopt+2; in getsingleopt() 94 if (!(opt = findopt(1, thisopt+2, opts))) in getsingleopt() 106 shortopt[0] = thisopt[loptchr]; in getsingleopt() 108 opt = findopt(0, thisopt+(loptchr++), opts); in getsingleopt() 109 if (!thisopt[loptchr]) { in getsingleopt()
|
/dports/audio/tosha/tosha-0.6/ |
H A D | getlopt.c | 111 char *thisopt; in getsingleopt() local 117 thisopt = argv[loptind]; in getsingleopt() 119 if (thisopt[0] != '-' || !thisopt[1]) /* no more options */ in getsingleopt() 121 if (thisopt[1] == '-') /* "--" */ in getsingleopt() 122 if (thisopt[2]) { /* long option */ in getsingleopt() 123 loptarg = thisopt + 2; in getsingleopt() 125 if (!(opt = findopt(1, thisopt + 2, opts))) in getsingleopt() 137 shortopt[0] = thisopt[loptchr]; in getsingleopt() 139 opt = findopt(0, thisopt + (loptchr++), opts); in getsingleopt() 140 if (!thisopt[loptchr]) { in getsingleopt()
|
/dports/audio/mpg123/mpg123-1.29.3/src/ |
H A D | getlopt.c | 133 char *thisopt; in getsingleopt() local 139 thisopt = argv[loptind]; in getsingleopt() 140 debug1("getsingleopt: %s", thisopt); in getsingleopt() 142 if (thisopt[0] != '-' || !thisopt[1]) /* no more options */ in getsingleopt() 144 if (thisopt[1] == '-') { /* "--" */ in getsingleopt() 145 if (thisopt[2]) { /* long option */ in getsingleopt() 146 loptarg = thisopt+2; in getsingleopt() 148 if (!(opt = findopt(1, thisopt+2, opts))) in getsingleopt() 161 shortopt[0] = thisopt[loptchr]; in getsingleopt() 163 opt = findopt(0, thisopt+(loptchr++), opts); in getsingleopt() [all …]
|
/dports/devel/silc-toolkit/silc-toolkit-1.1.12/lib/silcutil/ |
H A D | silcconfig.c | 472 SilcConfigOption *thisopt; in silc_config_main_internal() local 549 if (!thisopt) in silc_config_main_internal() 565 silc_config_register_table(sub_ent, thisopt->subtable, thisopt->context); in silc_config_main_internal() 574 if (thisopt->cb) { in silc_config_main_internal() 577 ret = thisopt->cb(thisopt->type, thisopt->name, file->line, NULL, in silc_config_main_internal() 578 thisopt->context); in silc_config_main_internal() 593 if (thisopt->cb) { in silc_config_main_internal() 594 thisopt->cb(thisopt->type, thisopt->name, file->line, in silc_config_main_internal() 616 if (thisopt->cb) in silc_config_main_internal() 617 ret = thisopt->cb(thisopt->type, thisopt->name, file->line, in silc_config_main_internal() [all …]
|
/dports/japanese/gawk/gawk-3.0.6/awklib/eg/lib/ |
H A D | getopt.awk | 22 function getopt(argc, argv, options, optl, thisopt, i) 38 thisopt = substr(argv[Optind], _opti, 1) 39 Optopt = thisopt 40 i = index(options, thisopt) 44 thisopt) > "/dev/stderr" 66 return thisopt
|
/dports/devel/tla/tla-1.3.5/src/build-tools/scripts/ |
H A D | configure-top | 495 thisopt= 499 thisopt="$opt" 509 if test -z "$thisopt" ; then 598 thisopt= 602 thisopt=$opt 613 if test ! -z "$thisopt" ; then 643 thisopt= 647 thisopt=$opt 657 if test ! -z "$thisopt" ; then 668 thisopt= [all …]
|
/dports/security/afl++/AFLplusplus-3.14c/ |
H A D | afl-cmin | 52 function getopt(argc, argv, options, thisopt, i) 67 thisopt = substr(argv[Optind], _opti, 1) 68 Optopt = thisopt 69 i = index(options, thisopt) 72 printf("%c -- invalid option\n", thisopt) > "/dev/stderr" 94 return thisopt
|
/dports/finance/quickfix/quickfix-1.15.1/src/C++/ |
H A D | UtilitySSL.cpp | 1057 thisopt = SSL_PROTOCOL_SSLV2; in STACK_OF() 1062 thisopt = SSL_PROTOCOL_SSLV3; in STACK_OF() 1067 thisopt = SSL_PROTOCOL_TLSV1_1; in STACK_OF() 1072 thisopt = SSL_PROTOCOL_TLSV1_2; in STACK_OF() 1077 thisopt = SSL_PROTOCOL_TLSV1; in STACK_OF() 1082 thisopt = SSL_PROTOCOL_ALL; in STACK_OF() 1089 options &= ~thisopt; in STACK_OF() 1091 options |= thisopt; in STACK_OF() 1093 options = thisopt; in STACK_OF() 1099 thisopt = SSL_PROTOCOL_SSLV2; in STACK_OF() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc48/gcc-4.8.5/gcc/config/ |
H A D | print-sysroot-suffix.sh | 100 thisopt="$1" 105 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/config/ |
H A D | print-sysroot-suffix.sh | 100 thisopt="$1" 105 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc11/gcc-11.2.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/config/ |
H A D | print-sysroot-suffix.sh | 100 thisopt="$1" 105 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc10/gcc-10.3.0/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/config/csky/ |
H A D | print-sysroot-suffix.sh | 103 thisopt="$1" 108 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/config/ |
H A D | print-sysroot-suffix.sh | 110 thisopt="$1" 115 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/config/ |
H A D | print-sysroot-suffix.sh | 110 thisopt="$1" 115 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/config/ |
H A D | print-sysroot-suffix.sh | 110 thisopt="$1" 115 for x in `echo "$thisopt" | sed -e 's,/, ,g'`; do
|