Home
last modified time | relevance | path

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

/external/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.c181 cmd_opt_t cmd_opt; in key_init() local
188 cmd_opt.long_opt.name = key->opt; in key_init()
189 cmd_opt.long_opt.has_arg = required_argument; in key_init()
190 cmd_opt.long_opt.flag = NULL; in key_init()
191 cmd_opt.long_opt.val = CMD_OPT_KEY; in key_init()
192 cmd_opt.help_msg = key->help_msg; in key_init()
193 cmd_opt_add(&cmd_opt); in key_init()
Dcert.c219 cmd_opt_t cmd_opt; in cert_init() local
225 cmd_opt.long_opt.name = cert->opt; in cert_init()
226 cmd_opt.long_opt.has_arg = required_argument; in cert_init()
227 cmd_opt.long_opt.flag = NULL; in cert_init()
228 cmd_opt.long_opt.val = CMD_OPT_CERT; in cert_init()
229 cmd_opt.help_msg = cert->help_msg; in cert_init()
230 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.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()
/external/arm-trusted-firmware/tools/encrypt_fw/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()
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()
/external/llvm-project/lldb/test/API/commands/platform/basic/
Dmyshell.c12 char *cmd_opt = "/C"; in main() local
14 char *cmd_opt = "-c"; in main() local
17 if (strncmp(argv[1], cmd_opt, 2)) { in main()
18 fprintf(stderr, "ERROR: Missing shell command option ('%s').\n", cmd_opt); in main()
/external/arm-trusted-firmware/tools/encrypt_fw/include/
Dcmd_opt.h27 void cmd_opt_add(const cmd_opt_t *cmd_opt);
/external/arm-trusted-firmware/tools/cert_create/include/
Dcmd_opt.h28 void cmd_opt_add(const cmd_opt_t *cmd_opt);
/external/arm-trusted-firmware/tools/encrypt_fw/
DMakefile15 src/cmd_opt.o \
/external/arm-trusted-firmware/tools/cert_create/
DMakefile21 src/cmd_opt.o \