Home
last modified time | relevance | path

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

/u-boot/arch/sandbox/cpu/
A Dstart.c64 size_t num_options = __u_boot_sandbox_option_count(); in sandbox_early_getopt_check() local
87 for (i = 0; i < num_options; ++i) in sandbox_early_getopt_check()
92 size = sizeof(*sorted_opt) * num_options; in sandbox_early_getopt_check()
99 qsort(sorted_opt, num_options, sizeof(*sorted_opt), h_compare_opt); in sandbox_early_getopt_check()
101 for (i = 0; i < num_options; ++i) { in sandbox_early_getopt_check()
A Dos.c466 size_t num_options = __u_boot_sandbox_option_count(); in os_parse_args() local
481 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()
482 long_opts = os_malloc(sizeof(*long_opts) * (num_options + 1)); in os_parse_args()
494 for (i = 0; i < num_options; ++i) { in os_parse_args()
512 memset(&long_opts[num_options], '\0', sizeof(*long_opts)); in os_parse_args()
519 for (i = 0; i < num_options; ++i) { in os_parse_args()
528 if (i == num_options) { in os_parse_args()

Completed in 10 milliseconds