Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dcmd_opt.c19 void cmd_opt_add(const cmd_opt_t *cmd_opt) in cmd_opt_add() argument
21 assert(cmd_opt != NULL); in cmd_opt_add()
28 long_opt[num_reg_opt].name = cmd_opt->long_opt.name; in cmd_opt_add()
29 long_opt[num_reg_opt].has_arg = cmd_opt->long_opt.has_arg; in cmd_opt_add()
31 long_opt[num_reg_opt].val = cmd_opt->long_opt.val; in cmd_opt_add()
33 help_msg[num_reg_opt] = cmd_opt->help_msg; in cmd_opt_add()
Dkey.c187 cmd_opt_t cmd_opt; in key_init() local
194 cmd_opt.long_opt.name = key->opt; in key_init()
195 cmd_opt.long_opt.has_arg = required_argument; in key_init()
196 cmd_opt.long_opt.flag = NULL; in key_init()
197 cmd_opt.long_opt.val = CMD_OPT_KEY; in key_init()
198 cmd_opt.help_msg = key->help_msg; in key_init()
199 cmd_opt_add(&cmd_opt); in key_init()
Dcert.c207 cmd_opt_t cmd_opt; in cert_init() local
213 cmd_opt.long_opt.name = cert->opt; in cert_init()
214 cmd_opt.long_opt.has_arg = required_argument; in cert_init()
215 cmd_opt.long_opt.flag = NULL; in cert_init()
216 cmd_opt.long_opt.val = CMD_OPT_CERT; in cert_init()
217 cmd_opt.help_msg = cert->help_msg; in cert_init()
218 cmd_opt_add(&cmd_opt); in cert_init()
Dext.c48 cmd_opt_t cmd_opt; variable
58 cmd_opt.long_opt.name = ext->opt;
59 cmd_opt.long_opt.has_arg = required_argument;
60 cmd_opt.long_opt.flag = NULL;
61 cmd_opt.long_opt.val = CMD_OPT_EXT;
62 cmd_opt.help_msg = ext->help_msg;
63 cmd_opt_add(&cmd_opt);
Dmain.c254 const struct option *cmd_opt; in main() local
290 cmd_opt = cmd_opt_get_array(); in main()
294 c = getopt_long(argc, argv, "a:hknp", cmd_opt, &opt_idx); in main()
310 print_help(argv[0], cmd_opt); in main()
338 print_help(argv[0], cmd_opt); in main()
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/
Dcmd_opt.h28 void cmd_opt_add(const cmd_opt_t *cmd_opt);
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/
DMakefile16 src/cmd_opt.o \