Lines Matching refs:argv
41 static int do_cmd(LHASH_OF(FUNCTION) *prog, int argc, char *argv[]);
237 int main(int argc, char *argv[]) in main() argument
248 arg.argv = NULL; in main()
257 argv = copy_argv(&argc, argv); in main()
260 win32_utf8argv(&argc, &argv); in main()
271 fname, argv[0]); in main()
276 pname = opt_progname(argv[0]); in main()
288 && (strcmp(argv[1], "-help") == 0 || strcmp(argv[1], "--help") == 0 in main()
289 || strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--h") == 0); in main()
291 && (strcmp(argv[1], "-version") == 0 || strcmp(argv[1], "--version") == 0 in main()
292 || strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--v") == 0); in main()
295 argv++; in main()
296 opt_appname(argc == 1 || global_help ? "help" : global_version ? "version" : argv[0]); in main()
298 argv[0] = pname; in main()
309 : do_cmd(prog, argc, argv); in main()
314 OPENSSL_free(arg.argv); in main()
340 int help_main(int argc, char **argv) in help_main() argument
350 prog = opt_init(argc, argv, help_options); in help_main()
405 static int do_cmd(LHASH_OF(FUNCTION) *prog, int argc, char *argv[]) in do_cmd() argument
409 if (argc <= 0 || argv[0] == NULL) in do_cmd()
412 f.name = argv[0]; in do_cmd()
415 if (EVP_get_digestbyname(argv[0])) { in do_cmd()
419 } else if (EVP_get_cipherbyname(argv[0])) { in do_cmd()
428 return fp->func(argc, argv); in do_cmd()
430 f.name = argv[0]; in do_cmd()
437 BIO_printf(bio_out, "%s\n", argv[0]); in do_cmd()
440 BIO_printf(bio_out, "%s\n", argv[0] + 3); in do_cmd()
445 argv[0]); in do_cmd()