/dports/devel/argtable/argtable2-13/src/ |
H A D | argtable2.h | 152 struct arg_lit* arg_lit0(const char* shortopts, 155 struct arg_lit* arg_lit1(const char* shortopts, 158 struct arg_lit* arg_litn(const char* shortopts, 176 struct arg_int* arg_int0(const char* shortopts, 180 struct arg_int* arg_int1(const char* shortopts, 184 struct arg_int* arg_intn(const char* shortopts, 191 struct arg_dbl* arg_dbl0(const char* shortopts, 195 struct arg_dbl* arg_dbl1(const char* shortopts, 199 struct arg_dbl* arg_dbln(const char* shortopts, 206 struct arg_str* arg_str0(const char* shortopts, [all …]
|
H A D | arg_lit.c | 62 const char *shortopts = parent->hdr.shortopts; in errorfn() local 70 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 76 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 81 struct arg_lit* arg_lit0(const char* shortopts, in arg_lit0() argument 84 {return arg_litn(shortopts,longopts,0,1,glossary);} in arg_lit0() 86 struct arg_lit* arg_lit1(const char* shortopts, in arg_lit1() argument 89 {return arg_litn(shortopts,longopts,1,1,glossary);} in arg_lit1() 92 struct arg_lit* arg_litn(const char* shortopts, in arg_litn() argument 108 result->hdr.shortopts = shortopts; in arg_litn()
|
H A D | arg_dbl.c | 86 const char *shortopts = parent->hdr.shortopts; in errorfn() local 98 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 103 arg_print_option(fp,shortopts,longopts,argval,"\n"); in errorfn() 108 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 114 struct arg_dbl* arg_dbl0(const char* shortopts, in arg_dbl0() argument 119 return arg_dbln(shortopts,longopts,datatype,0,1,glossary); in arg_dbl0() 122 struct arg_dbl* arg_dbl1(const char* shortopts, in arg_dbl1() argument 127 return arg_dbln(shortopts,longopts,datatype,1,1,glossary); in arg_dbl1() 131 struct arg_dbl* arg_dbln(const char* shortopts, in arg_dbln() argument 155 result->hdr.shortopts = shortopts; in arg_dbln()
|
H A D | argtable2.c | 81 if (table[tabindex]->shortopts && strchr(table[tabindex]->shortopts,shortopt)) in find_shortoption() 212 len += 3 * (hdr->shortopts?strlen(hdr->shortopts):0); in alloc_shortoptions() 227 const char *shortopts = hdr->shortopts; in alloc_shortoptions() local 228 while(shortopts && *shortopts) in alloc_shortoptions() 601 if (shortopts) in arg_cat_option() 667 if (shortopts) in arg_cat_optionv() 719 else if (shortopts) in arg_cat_optionv() 825 shortopts = table[tabindex]->shortopts; in arg_print_syntax() 870 shortopts = table[tabindex]->shortopts; in arg_print_syntaxv() 912 const char *shortopts = table[tabindex]->shortopts; in arg_print_glossary() local [all …]
|
H A D | arg_str.c | 76 const char *shortopts = parent->hdr.shortopts; in errorfn() local 88 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 93 arg_print_option(fp,shortopts,longopts,argval,"\n"); in errorfn() 99 struct arg_str* arg_str0(const char* shortopts, in arg_str0() argument 104 return arg_strn(shortopts,longopts,datatype,0,1,glossary); in arg_str0() 107 struct arg_str* arg_str1(const char* shortopts, in arg_str1() argument 112 return arg_strn(shortopts,longopts,datatype,1,1,glossary); in arg_str1() 116 struct arg_str* arg_strn(const char* shortopts, in arg_strn() argument 139 result->hdr.shortopts = shortopts; in arg_strn()
|
/dports/net/sslh/sslh-1.21c/ |
H A D | argtable3.h | 162 struct arg_lit* arg_lit0(const char* shortopts, 165 struct arg_lit* arg_lit1(const char* shortopts, 168 struct arg_lit* arg_litn(const char* shortopts, 186 struct arg_int* arg_int0(const char* shortopts, 190 struct arg_int* arg_int1(const char* shortopts, 194 struct arg_int* arg_intn(const char* shortopts, 201 struct arg_dbl* arg_dbl0(const char* shortopts, 205 struct arg_dbl* arg_dbl1(const char* shortopts, 209 struct arg_dbl* arg_dbln(const char* shortopts, 216 struct arg_str* arg_str0(const char* shortopts, [all …]
|
/dports/textproc/multimarkdown/MultiMarkdown-6-6.6.0/src/ |
H A D | argtable3.h | 162 struct arg_lit* arg_lit0(const char* shortopts, 165 struct arg_lit* arg_lit1(const char* shortopts, 168 struct arg_lit* arg_litn(const char* shortopts, 186 struct arg_int* arg_int0(const char* shortopts, 190 struct arg_int* arg_int1(const char* shortopts, 194 struct arg_int* arg_intn(const char* shortopts, 201 struct arg_dbl* arg_dbl0(const char* shortopts, 205 struct arg_dbl* arg_dbl1(const char* shortopts, 209 struct arg_dbl* arg_dbln(const char* shortopts, 216 struct arg_str* arg_str0(const char* shortopts, [all …]
|
/dports/devel/ultragetopt/ultragetopt-0.6.0/ |
H A D | ultragetopt.h | 45 int ultragetopt_long(int argc, char *const argv[], const char *shortopts, 64 int ultragetopt_tunable(int argc, char *const argv[], const char *shortopts, 77 # define getopt_long(argc, argv, shortopts, longopts, indexptr) \ argument 78 ultragetopt_long(argc, argv, shortopts, longopts, indexptr) 79 # define getopt_long_only(argc, argv, shortopts, longopts, indexptr) \ argument 80 ultragetopt_long_only(argc, argv, shortopts, longopts, indexptr) 83 # define getopt_long_dos(argc, argv, shortopts, longopts, indexptr) \ argument 84 ultragetopt_long_dos(argc, argv, shortopts, longopts, indexptr) 90 # define ultragetopt_long(argc, argv, shortopts, longopts, indexptr) \ argument 91 ultragetopt_long_dos(argc, argv, shortopts, longopts, indexptr) [all …]
|
/dports/devel/argtable/argtable2-13/example/ |
H A D | argxxx.c | 138 const char *shortopts = parent->hdr.shortopts; in errorfn() local 151 arg_print_option(fp,shortopts,longopts,datatype,"\"\n"); in errorfn() 157 arg_print_option(fp,shortopts,longopts,argval,"\"\n"); in errorfn() 164 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 170 arg_print_option(fp,shortopts,longopts,datatype,"\n"); in errorfn() 181 struct arg_xxx* arg_xxx0(const char* shortopts, in arg_xxx0() argument 188 return arg_xxxn(shortopts,longopts,datatype,0,1,minvalue,maxvalue,glossary); in arg_xxx0() 191 struct arg_xxx* arg_xxx1(const char* shortopts, in arg_xxx1() argument 198 return arg_xxxn(shortopts,longopts,datatype,1,1,minvalue,maxvalue,glossary); in arg_xxx1() 202 struct arg_xxx* arg_xxxn(const char* shortopts, in arg_xxxn() argument [all …]
|
/dports/lang/python27/Python-2.7.18/Lib/ |
H A D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 117 if shortopts.startswith('+'): 118 shortopts = shortopts[1:] 187 def do_shorts(opts, optstring, shortopts, args): argument 190 if short_has_arg(opt, shortopts): 202 def short_has_arg(opt, shortopts): argument 203 for i in range(len(shortopts)): 204 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python-legacy/Python-2.7.18/Lib/ |
H A D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 117 if shortopts.startswith('+'): 118 shortopts = shortopts[1:] 187 def do_shorts(opts, optstring, shortopts, args): argument 190 if short_has_arg(opt, shortopts): 202 def short_has_arg(opt, shortopts): argument 203 for i in range(len(shortopts)): 204 if opt == shortopts[i] != ':': [all …]
|
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/ |
H A D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 117 if shortopts.startswith('+'): 118 shortopts = shortopts[1:] 187 def do_shorts(opts, optstring, shortopts, args): argument 190 if short_has_arg(opt, shortopts): 202 def short_has_arg(opt, shortopts): argument 203 for i in range(len(shortopts)): 204 if opt == shortopts[i] != ':': [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 117 if shortopts.startswith('+'): 118 shortopts = shortopts[1:] 187 def do_shorts(opts, optstring, shortopts, args): argument 190 if short_has_arg(opt, shortopts): 202 def short_has_arg(opt, shortopts): argument 203 for i in range(len(shortopts)): 204 if opt == shortopts[i] != ':': [all …]
|
/dports/biology/mothur/mothur-1.46.1/source/clearcut/ |
H A D | getopt_long.cpp | 147 for (i = 0; shortopts[i]; i++) { in has_argument_short() 148 switch (shortopts[i]) { in has_argument_short() 161 if (*arg != shortopts[i]) continue; in has_argument_short() 163 switch (shortopts[i+1]) { in has_argument_short() 165 if (shortopts[i+2] != ':') { in has_argument_short() 182 for (i++; shortopts[i] && shortopts[i] != ']'; i++) { in has_argument_short() 183 if (arg[1] == shortopts[i]) in has_argument_short() 186 if (!shortopts[i]) { in has_argument_short() 244 const char *shortopts, in has_argument() argument 273 const char *shortopts, in getopt_long() argument [all …]
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/stdlib/ |
H A D | getopt.c | 184 getopt_internal (int argc, char *const argv[], const char *shortopts, in getopt_internal() argument 201 if (argc == 0 || argv == 0 || (shortopts == 0 && longopts == 0) in getopt_internal() 215 if (shortopts != 0 && (*shortopts == '-' || *shortopts == '+')) in getopt_internal() 217 ordering = (*shortopts == '-') ? RETURN_IN_ORDER : REQUIRE_ORDER; in getopt_internal() 218 shortopts++; in getopt_internal() 224 if (shortopts != 0 && *shortopts == ':') in getopt_internal() 226 ++shortopts; in getopt_internal() 340 if (longopt_match < 0 && shortopts != 0) in getopt_internal() 342 cp = strchr (shortopts, argv[data->optind][data->optwhere]); in getopt_internal() 467 getopt_long (int argc, char *const argv[], const char *shortopts, in getopt_long() argument [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python37/Python-3.7.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/ |
H A D | getopt.py | 56 def getopt(args, shortopts, longopts = []): argument 95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): argument 122 if shortopts.startswith('+'): 123 shortopts = shortopts[1:] 192 def do_shorts(opts, optstring, shortopts, args): argument 195 if short_has_arg(opt, shortopts): 207 def short_has_arg(opt, shortopts): argument 208 for i in range(len(shortopts)): 209 if opt == shortopts[i] != ':': [all …]
|
/dports/print/ghostscript9-x11/ghostscript-9.06/jpegxr/my_getopt-1.5/ |
H A D | my_getopt.c | 149 char mode, colon_mode = *shortopts; in _my_getopt_internal() 154 if((colon_mode = *shortopts) == ':') shortoff ++; in _my_getopt_internal() 155 if(((mode = shortopts[shortoff]) == '+') || (mode == '-')) { in _my_getopt_internal() 182 opt=_my_getopt_internal(argc, argv, shortopts, in _my_getopt_internal() 194 opt = my_getopt(argc, argv, shortopts); in _my_getopt_internal() 203 while((c = shortopts[ind++])) { in _my_getopt_internal() 204 if(((shortopts[ind] == ':') || in _my_getopt_internal() 205 ((c == 'W') && (shortopts[ind] == ';'))) && in _my_getopt_internal() 206 (shortopts[++ind] == ':')) in _my_getopt_internal() 253 if(offset == 1) opt = my_getopt(argc, argv, shortopts); in _my_getopt_internal() [all …]
|