Searched refs:optstring (Results 1 – 4 of 4) sorted by relevance
/u-boot/include/ |
A D | getopt.h | 49 const char *optstring, bool silent); 110 char *const argv[], const char *optstring) in getopt() argument 112 return __getopt(gs, argc, argv, optstring, false); in getopt() 125 char *const argv[], const char *optstring) in getopt_silent() argument 127 return __getopt(gs, argc, argv, optstring, true); in getopt_silent()
|
/u-boot/test/lib/ |
A D | getopt.c | 16 struct getopt_state *gs, const char *optstring, in do_test_getopt() argument 24 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt() 38 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt() 49 #define test_getopt(optstring, argv, expected) do { \ argument 50 int ret = do_test_getopt(uts, __LINE__, &gs, optstring, \
|
/u-boot/lib/ |
A D | getopt.c | 22 const char *optstring, bool silent) in __getopt() argument 58 curoptp = strchr(optstring, curopt); in __getopt()
|
/u-boot/tools/ |
A D | ifwitool.c | 2169 const char *optstring; member 2246 c = getopt_long(argc, argv, commands[i].optstring, in main() 2253 if (!strchr(commands[i].optstring, c)) { in main()
|
Completed in 8 milliseconds