Lines Matching refs:argv
198 static int verb_list(int argc, char **argv, void *userdata) { in verb_list() argument
361 static int verb_cat(int argc, char **argv, void *userdata) { in verb_cat() argument
367 STRV_FOREACH(cn, strv_skip(argv, 1)) { in verb_cat()
439 static int verb_encrypt(int argc, char **argv, void *userdata) { in verb_encrypt() argument
451 input_path = empty_or_dash(argv[1]) ? NULL : argv[1]; in verb_encrypt()
462 output_path = empty_or_dash(argv[2]) ? NULL : argv[2]; in verb_encrypt()
532 static int verb_decrypt(int argc, char **argv, void *userdata) { in verb_decrypt() argument
544 input_path = empty_or_dash(argv[1]) ? NULL : argv[1]; in verb_decrypt()
547 …r = read_full_file_full(AT_FDCWD, argv[1], UINT64_MAX, CREDENTIAL_ENCRYPTED_SIZE_MAX, READ_FULL_FI… in verb_decrypt()
555 output_path = (argc < 3 || isempty(argv[2]) || streq(argv[2], "-")) ? NULL : argv[2]; in verb_decrypt()
601 static int verb_setup(int argc, char **argv, void *userdata) { in verb_setup() argument
614 static int verb_has_tpm2(int argc, char **argv, void *userdata) { in verb_has_tpm2() argument
642 static int verb_help(int argc, char **argv, void *userdata) { in verb_help() argument
697 static int parse_argv(int argc, char *argv[]) { in parse_argv() argument
738 assert(argv); in parse_argv()
740 while ((c = getopt_long(argc, argv, "hHTpq", options, NULL)) >= 0) { in parse_argv()
899 static int creds_main(int argc, char *argv[]) { in creds_main() argument
912 return dispatch_verb(argc, argv, verbs, NULL); in creds_main()
915 static int run(int argc, char *argv[]) { in run() argument
920 r = parse_argv(argc, argv); in run()
924 return creds_main(argc, argv); in run()