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

/freebsd-current/crypto/openssh/regress/unittests/misc/
H A Dtest_expand.c75 TEST_START("percent_expand");
76 ASSERT_STRING_EQ(percent_expand("%%", "%h", "foo", NULL), "%");
77 ASSERT_STRING_EQ(percent_expand("%h", "h", "foo", NULL), "foo");
78 ASSERT_STRING_EQ(percent_expand("%h ", "h", "foo", NULL), "foo ");
79 ASSERT_STRING_EQ(percent_expand(" %h", "h", "foo", NULL), " foo");
80 ASSERT_STRING_EQ(percent_expand(" %h ", "h", "foo", NULL), " foo ");
81 ASSERT_STRING_EQ(percent_expand(" %a%b ", "a", "foo", "b", "bar", NULL),
/freebsd-current/crypto/openssh/
H A Dauth2-pubkey.c374 username = percent_expand(options.authorized_principals_command_user,
418 tmp = percent_expand(av[i],
434 fatal_f("percent_expand failed");
645 username = percent_expand(options.authorized_keys_command_user,
679 tmp = percent_expand(av[i],
690 fatal_f("percent_expand failed");
H A Dmisc.h79 char *percent_expand(const char *, ...) __attribute__((__sentinel__));
H A Dauth.c395 file = percent_expand(filename, "h", pw->pw_dir,
H A Dssh.c214 * Expands the set of percent_expand options used by the majority of keywords
222 return percent_expand(str,
228 * Expands the set of percent_expand options used by the majority of keywords
1218 cp = percent_expand(options.hostname,
1419 /* Set up strings used to percent_expand() arguments */
2236 options.local_command = percent_expand(cp,
H A Dssh_namespace.h459 #define percent_expand Fssh_percent_expand macro
H A Dsshconnect.c97 ret = percent_expand(tmp,
895 fatal_f("percent_expand failed");
H A Dsftp-server.c1959 homedir = percent_expand(cp, "d", user_pw->pw_dir,
H A Dreadconf.c672 host = percent_expand(options->hostname,
784 cmd = percent_expand(arg,
H A Dmisc.c1384 percent_expand(const char *string, ...) function
H A Dsession.c1412 chroot_path = percent_expand(tmp, "h", pw->pw_dir,

Completed in 208 milliseconds