Home
last modified time | relevance | path

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

/trusted-firmware-a/tools/cert_create/src/
A 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()
A Dkey.c184 cmd_opt_t cmd_opt; in key_init() local
213 cmd_opt.long_opt.name = key->opt; in key_init()
214 cmd_opt.long_opt.has_arg = required_argument; in key_init()
215 cmd_opt.long_opt.flag = NULL; in key_init()
216 cmd_opt.long_opt.val = CMD_OPT_KEY; in key_init()
217 cmd_opt.help_msg = key->help_msg; in key_init()
218 cmd_opt_add(&cmd_opt); in key_init()
A Dcert.c222 cmd_opt_t cmd_opt; in cert_init() local
250 cmd_opt.long_opt.name = cert->opt; in cert_init()
251 cmd_opt.long_opt.has_arg = required_argument; in cert_init()
252 cmd_opt.long_opt.flag = NULL; in cert_init()
253 cmd_opt.long_opt.val = CMD_OPT_CERT; in cert_init()
254 cmd_opt.help_msg = cert->help_msg; in cert_init()
255 cmd_opt_add(&cmd_opt); in cert_init()
A Dext.c52 cmd_opt_t cmd_opt; variable
82 cmd_opt.long_opt.name = ext->opt;
83 cmd_opt.long_opt.has_arg = required_argument;
84 cmd_opt.long_opt.flag = NULL;
85 cmd_opt.long_opt.val = CMD_OPT_EXT;
86 cmd_opt.help_msg = ext->help_msg;
87 cmd_opt_add(&cmd_opt);
A Dmain.c304 const struct option *cmd_opt; in main() local
343 cmd_opt = cmd_opt_get_array(); in main()
347 c = getopt_long(argc, argv, "a:b:hknps:", cmd_opt, &opt_idx); in main()
370 print_help(argv[0], cmd_opt); in main()
405 print_help(argv[0], cmd_opt); in main()
/trusted-firmware-a/tools/encrypt_fw/src/
A 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()
A Dmain.c137 const struct option *cmd_opt; in main() local
155 cmd_opt = cmd_opt_get_array(); in main()
159 c = getopt_long(argc, argv, "a:f:hi:k:n:o:", cmd_opt, &opt_idx); in main()
190 print_help(argv[0], cmd_opt); in main()
194 print_help(argv[0], cmd_opt); in main()
/trusted-firmware-a/tools/encrypt_fw/include/
A Dcmd_opt.h27 void cmd_opt_add(const cmd_opt_t *cmd_opt);
/trusted-firmware-a/tools/cert_create/include/
A Dcmd_opt.h28 void cmd_opt_add(const cmd_opt_t *cmd_opt);
/trusted-firmware-a/tools/encrypt_fw/
A DMakefile15 src/cmd_opt.o \
/trusted-firmware-a/tools/cert_create/
A DMakefile27 src/cmd_opt.o \

Completed in 12 milliseconds