Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/sandbox/cpu/
H A Dos.c284 static char *short_opts; variable
298 if (short_opts || long_opts) in os_parse_args()
305 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()
307 if (!short_opts || !long_opts) in os_parse_args()
325 short_opts[si++] = long_opts[i].val = sb_opt[i]->flag_short; in os_parse_args()
327 short_opts[si++] = ':'; in os_parse_args()
331 short_opts[si] = '\0'; in os_parse_args()
341 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { in os_parse_args()
/openbmc/linux/tools/testing/memblock/tests/
H A Dcommon.c16 static const char *short_opts = "hmv"; variable
125 printf("Usage: %s [-%s]\n", prog, short_opts); in usage()
139 while ((c = getopt_long_only(argc, argv, short_opts, long_opts, in parse_args()
/openbmc/u-boot/scripts/dtc/
H A Dutil.c422 const char *short_opts, in util_usage() argument
435 "Options: -[%s]\n", synopsis, short_opts); in util_usage()
H A Dutil.h218 const char *short_opts,
/openbmc/linux/scripts/dtc/
H A Dutil.c427 const char *short_opts, in util_usage() argument
440 "Options: -[%s]\n", synopsis, short_opts); in util_usage()
H A Dutil.h201 const char *short_opts,
/openbmc/u-boot/tools/
H A 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()