Home
last modified time | relevance | path

Searched refs:sb_opt (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/sandbox/cpu/
Dos.c215 struct sandbox_cmdline_option **sb_opt = __u_boot_sandbox_option_start; in os_parse_args() local
245 long_opts[i].name = sb_opt[i]->flag; in os_parse_args()
246 long_opts[i].has_arg = sb_opt[i]->has_arg ? in os_parse_args()
250 if (sb_opt[i]->flag_short) { in os_parse_args()
251 short_opts[si++] = long_opts[i].val = sb_opt[i]->flag_short; in os_parse_args()
255 long_opts[i].val = sb_opt[i]->flag_short = hidden_short_opt++; in os_parse_args()
269 if (sb_opt[i]->flag_short == c) { in os_parse_args()
270 if (sb_opt[i]->callback(state, optarg)) { in os_parse_args()
271 state->parse_err = sb_opt[i]->flag; in os_parse_args()
Dstart.c21 struct sandbox_cmdline_option **sb_opt = __u_boot_sandbox_option_start; in sandbox_early_getopt_check() local
44 max_arg_len = max((int)strlen(sb_opt[i]->flag), max_arg_len); in sandbox_early_getopt_check()
48 struct sandbox_cmdline_option *opt = sb_opt[i]; in sandbox_early_getopt_check()