Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_expand.c76 ASSERT_STRING_EQ(percent_expand("%%", "%h", "foo", NULL), "%"); in test_expand()
77 ASSERT_STRING_EQ(percent_expand("%h", "h", "foo", NULL), "foo"); in test_expand()
78 ASSERT_STRING_EQ(percent_expand("%h ", "h", "foo", NULL), "foo "); in test_expand()
79 ASSERT_STRING_EQ(percent_expand(" %h", "h", "foo", NULL), " foo"); in test_expand()
80 ASSERT_STRING_EQ(percent_expand(" %h ", "h", "foo", NULL), " foo "); in test_expand()
81 ASSERT_STRING_EQ(percent_expand(" %a%b ", "a", "foo", "b", "bar", NULL), in test_expand()
/freebsd/crypto/openssh/
H A Dauth2-pubkey.c374 username = percent_expand(options.authorized_principals_command_user, in match_principals_command()
418 tmp = percent_expand(av[i], in match_principals_command()
645 username = percent_expand(options.authorized_keys_command_user, in user_key_command_allowed2()
679 tmp = percent_expand(av[i], in user_key_command_allowed2()
H A Dmisc.h79 char *percent_expand(const char *, ...) __attribute__((__sentinel__));
H A Dssh.c222 return percent_expand(str, in default_client_percent_expand()
1218 cp = percent_expand(options.hostname, in main()
2236 options.local_command = percent_expand(cp, in ssh_session2()
H A Dauth.c395 file = percent_expand(filename, "h", pw->pw_dir, in expand_authorized_keys()
H A Dssh_namespace.h459 #define percent_expand Fssh_percent_expand macro
H A Dsshconnect.c97 ret = percent_expand(tmp, in expand_proxy_command()
H A Dreadconf.c672 host = percent_expand(options->hostname, in match_cfg_line()
784 cmd = percent_expand(arg, in match_cfg_line()
H A Dsftp-server.c1959 homedir = percent_expand(cp, "d", user_pw->pw_dir, in sftp_server_main()
H A Dsession.c1412 chroot_path = percent_expand(tmp, "h", pw->pw_dir, in do_setusercontext()
H A Dmisc.c1384 percent_expand(const char *string, ...) in percent_expand() function