Home
last modified time | relevance | path

Searched refs:short_opts (Results 1 – 20 of 20) sorted by relevance

/external/u-boot/arch/sandbox/cpu/
Dos.c210 static char *short_opts; variable
224 if (short_opts || long_opts) in os_parse_args()
231 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()
233 if (!short_opts || !long_opts) in os_parse_args()
251 short_opts[si++] = long_opts[i].val = sb_opt[i]->flag_short; in os_parse_args()
253 short_opts[si++] = ':'; in os_parse_args()
257 short_opts[si] = '\0'; in os_parse_args()
267 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { in os_parse_args()
/external/python/cpython2/Lib/distutils/
Dfancy_getopt.py75 self.short_opts = []
152 self.short_opts = []
226 self.short_opts.append(short)
255 short_opts = string.join(self.short_opts)
257 opts, args = getopt.getopt(args, short_opts, self.long_opts)
/external/python/cpython3/Lib/distutils/
Dfancy_getopt.py70 self.short_opts = []
139 self.short_opts = []
207 self.short_opts.append(short)
231 short_opts = ' '.join(self.short_opts)
233 opts, args = getopt.getopt(args, short_opts, self.long_opts)
/external/vboot_reference/futility/
Dcmd_load_fmap.c51 static char *short_opts = ":o:"; variable
103 while ((i = getopt_long(argc, argv, short_opts, long_opts, 0)) != -1) { in do_load_fmap()
Dcmd_gbb_utility.c81 static char *short_opts = ":gsc:o:k:b:r:"; variable
372 while ((i = getopt_long(argc, argv, short_opts, long_opts, 0)) != -1) { in do_gbb_utility()
Dcmd_show.c585 static char *short_opts = ":f:k:t"; variable
625 while ((i = getopt_long(argc, argv, short_opts, long_opts, 0)) != -1) { in do_show()
Dcmd_sign.c699 static char *short_opts = ":s:b:k:S:B:v:f:d:l:"; variable
716 while ((i = getopt_long(argc, argv, short_opts, long_opts, 0)) != -1) { in do_sign()
/external/bcc/src/lua/src/
Dsquish.lua3 local short_opts = { v = "verbose", vv = "very_verbose", o = "output", q = "quiet", qq = "very_quie…
9 name = (short_opts[name] or name):gsub("%-+", "_");
/external/dtc/
Dutil.c422 const char *short_opts, in util_usage() argument
435 "Options: -[%s]\n", synopsis, short_opts); in util_usage()
Dutil.h215 const char *short_opts,
/external/u-boot/scripts/dtc/
Dutil.c422 const char *short_opts, in util_usage() argument
435 "Options: -[%s]\n", synopsis, short_opts); in util_usage()
Dutil.h218 const char *short_opts,
/external/libxcam/tests/
Dtest-pipe-manager.cpp225 const char *short_opts = "ph"; in main() local
240 while ((opt = getopt_long (argc, argv, short_opts, long_opts, NULL)) != -1) { in main()
Dtest-device-manager.cpp374 const char *short_opts = "sca:n:m:f:W:H:d:b:pi:e:r:h"; in main() local
393 while ((opt = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { in main()
/external/python/cpython3/Lib/
Doptparse.py353 short_opts = [self._short_opt_fmt % (sopt, metavar)
358 short_opts = option._short_opts
362 opts = short_opts + long_opts
364 opts = long_opts + short_opts
/external/python/cpython2/Lib/
Doptparse.py347 short_opts = [self._short_opt_fmt % (sopt, metavar)
352 short_opts = option._short_opts
356 opts = short_opts + long_opts
358 opts = long_opts + short_opts
/external/nos/host/android/manual_tests/
Dtest_citadel.c75 static char *short_opts = ":hi:p:m:abv"; variable
963 while ((i = getopt_long(argc, argv, short_opts, long_opts, &idx)) != -1) { in main()
/external/u-boot/tools/
Dfdtgrep.c1001 const char *short_opts, struct option const long_opts[], in util_usage() argument
1013 "Options: -[%s]\n", synopsis, short_opts); in util_usage()
/external/nos/host/generic/citadel/updater/
Dupdater.cpp114 const char *short_opts = ":hvlV:fF:c"; variable
1247 short_opts, long_opts, &idx)) != -1) { in main()
/external/autotest/contrib/
Dcoverage.py354 short_opts = string.join(map(lambda o: o[1:], optmap.keys()), '')
356 options, args = getopt.getopt(argv, short_opts, long_opts)