Home
last modified time | relevance | path

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

/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/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/python/cpython2/Lib/test/
Dtest_getopt.py177 longopts, shortopts = getopt.getopt(['--help='], '', ['help='])
179 longopts, shortopts = getopt.getopt(['--help=x'], '', ['help='])
/external/syslinux/lzo/src/
Dlzo_supp.h1281 const char* shortopts,
2427 const char* shortopts, in LZOLIB_PUBLIC()
2435 if (shortopts) in LZOLIB_PUBLIC()
2437 if (*shortopts == '-' || *shortopts == '+') in LZOLIB_PUBLIC()
2438 ordering = *shortopts++ == '-' ? LZO_GETOPT_RETURN_IN_ORDER : LZO_GETOPT_REQUIRE_ORDER; in LZOLIB_PUBLIC()
2439 if (*shortopts == ':') in LZOLIB_PUBLIC()
2440 missing_arg_ret = *shortopts++; in LZOLIB_PUBLIC()
2535 if (c != ':' && shortopts) in LZOLIB_PUBLIC()
2536 s = strchr(shortopts, c); in LZOLIB_PUBLIC()
Dminiacc.h4050 const char* shortopts,
/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)
/external/bison/
DChangeLog-201220553 (shortopts): Update.
21628 (shortopts): Move in options.c.
22222 (shortopts, getargs): -S is a new option.