Searched refs:num_options (Results 1 – 2 of 2) sorted by relevance
62 size_t num_options = __u_boot_sandbox_option_count(); in sandbox_early_getopt_check() local85 for (i = 0; i < num_options; ++i) in sandbox_early_getopt_check()90 size = sizeof(*sorted_opt) * num_options; in sandbox_early_getopt_check()97 qsort(sorted_opt, num_options, sizeof(*sorted_opt), h_compare_opt); in sandbox_early_getopt_check()99 for (i = 0; i < num_options; ++i) { in sandbox_early_getopt_check()
331 size_t num_options = __u_boot_sandbox_option_count(); in os_parse_args() local346 short_opts = malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()347 long_opts = malloc(sizeof(*long_opts) * (num_options + 1)); in os_parse_args()359 for (i = 0; i < num_options; ++i) { in os_parse_args()377 memset(&long_opts[num_options], '\0', sizeof(*long_opts)); in os_parse_args()384 for (i = 0; i < num_options; ++i) { in os_parse_args()393 if (i == num_options) { in os_parse_args()
Completed in 6 milliseconds