Home
last modified time | relevance | path

Searched refs:shortopts (Results 1 – 11 of 11) sorted by relevance

/external/epid-sdk/ext/argtable3/
Dargtable3.h77 const char *shortopts; /* String defining the short options */ member
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,
[all …]
Dargtable3.c943 const char *shortopts = parent->hdr.shortopts; in arg_date_errorfn() local
955 arg_print_option(fp, shortopts, longopts, datatype, "\n"); in arg_date_errorfn()
960 arg_print_option(fp, shortopts, longopts, argval, "\n"); in arg_date_errorfn()
980 const char * shortopts, in arg_date0() argument
986 return arg_daten(shortopts, longopts, format, datatype, 0, 1, glossary); in arg_date0()
991 const char * shortopts, in arg_date1() argument
997 return arg_daten(shortopts, longopts, format, datatype, 1, 1, glossary); in arg_date1()
1002 const char * shortopts, in arg_daten() argument
1030 result->hdr.shortopts = shortopts; in arg_daten()
1577 const char *shortopts = parent->hdr.shortopts; in arg_dbl_errorfn() local
[all …]
/external/python/cpython2/Lib/
Dgetopt.py51 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:]
133 opts, args = do_shorts(opts, args[0][1:], shortopts, args[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)):
[all …]
/external/python/cpython3/Lib/
Dgetopt.py56 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:]
138 opts, args = do_shorts(opts, args[0][1:], shortopts, args[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)):
[all …]
/external/flac/include/share/
Dgetopt.h149 extern int share__getopt (int argc, char *const *argv, const char *shortopts);
155 extern int share__getopt_long (int argc, char *const *argv, const char *shortopts,
158 const char *shortopts,
163 const char *shortopts,
/external/e2fsprogs/include/nonunix/
Dgetopt.h108 extern int getopt (int argc, char *const *argv, const char *shortopts);
112 extern int getopt_long (int argc, char *const *argv, const char *shortopts,
115 const char *shortopts,
120 const char *shortopts,
/external/libkmsxx/kms++util/src/
Dopts.cpp53 string shortopts = ":"; in parse() local
60 shortopts.push_back(o.m_short); in parse()
62 shortopts.push_back(':'); in parse()
64 shortopts.append("::"); in parse()
81 int c = getopt_long(argc, argv, shortopts.c_str(), in parse()
/external/python/cpython3/Lib/test/
Dtest_getopt.py177 longopts, shortopts = getopt.getopt(['--help='], '', ['help='])
179 longopts, shortopts = getopt.getopt(['--help=x'], '', ['help='])
/external/python/cpython3/Doc/library/
Dgetopt.rst30 .. function:: getopt(args, shortopts, longopts=[])
34 means ``sys.argv[1:]``. *shortopts* is the string of option letters that the
48 are not supported. To accept only long options, *shortopts* should be an
66 .. function:: gnu_getopt(args, shortopts, longopts=[])
/external/python/cpython2/Lib/test/
Dtest_getopt.py177 longopts, shortopts = getopt.getopt(['--help='], '', ['help='])
179 longopts, shortopts = getopt.getopt(['--help=x'], '', ['help='])
/external/python/cpython2/Lib/plat-mac/
Dbundlebuilder.py853 shortopts = "b:n:r:f:e:m:c:p:lx:i:hvqa"
863 options, args = getopt.getopt(sys.argv[1:], shortopts, longopts)