Home
last modified time | relevance | path

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

/trusted-firmware-a-latest/tools/fiptool/
Dfiptool.c438 static struct option *add_opt(struct option *opts, size_t *nr_opts, in add_opt() argument
441 opts = realloc(opts, (*nr_opts + 1) * sizeof(*opts)); in add_opt()
444 opts[*nr_opts].name = name; in add_opt()
445 opts[*nr_opts].has_arg = has_arg; in add_opt()
446 opts[*nr_opts].flag = NULL; in add_opt()
447 opts[*nr_opts].val = val; in add_opt()
448 ++*nr_opts; in add_opt()
452 static struct option *fill_common_opts(struct option *opts, size_t *nr_opts, in fill_common_opts() argument
458 opts = add_opt(opts, nr_opts, desc->cmdline_name, has_arg, in fill_common_opts()
701 size_t nr_opts = 0; in create_cmd() local
[all …]