Home
last modified time | relevance | path

Searched refs:argv_split (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/crypto/openssh/regress/unittests/misc/
H A Dtest_argv.c40 ASSERT_INT_EQ(argv_split("", &ac, &av, 0), 0); in test_argv()
45 ASSERT_INT_EQ(argv_split(" ", &ac, &av, 0), 0); in test_argv()
53 ASSERT_INT_EQ(argv_split("leamas", &ac, &av, 0), 0); in test_argv()
59 ASSERT_INT_EQ(argv_split("smiley leamas", &ac, &av, 0), 0); in test_argv()
69 ASSERT_INT_EQ(argv_split("\"smiley\"", &ac, &av, 0), 0); in test_argv()
98 ASSERT_INT_EQ(argv_split("\\\"smiley\\'", &ac, &av, 0), 0); in test_argv()
104 ASSERT_INT_EQ(argv_split("'\\'smiley\\\"'", &ac, &av, 0), 0); in test_argv()
130 ASSERT_INT_EQ(argv_split("smiley\\ leamas", &ac, &av, 0), 0); in test_argv()
154 ASSERT_INT_EQ(argv_split("# gold", &ac, &av, 0), 0); in test_argv()
161 ASSERT_INT_EQ(argv_split("# gold", &ac, &av, 1), 0); in test_argv()
[all …]
/freebsd-13.1/crypto/openssh/
H A Dmisc.h183 int argv_split(const char *, int *, char ***, int);
H A Dauth2-pubkey.c478 if (argv_split(options.authorized_principals_command, in match_principals_command()
930 if (argv_split(options.authorized_keys_command, &ac, &av, 0) != 0) { in user_key_command_allowed2()
H A Dssh_namespace.h54 #define argv_split Fssh_argv_split macro
H A Dsshconnect.c869 if (argv_split(command_template, &ac, &av, 0) != 0) { in load_hostkeys_command()
H A Dmisc.c1957 argv_split(const char *s, int *argcp, char ***argvp, int terminate_on_comment) in argv_split() function
H A Dservconf.c1324 if (argv_split(str, &oac, &oav, 1) != 0) { in process_server_config_line_depth()
H A Dreadconf.c1002 if (argv_split(str, &oac, &oav, 1) != 0) { in process_config_line_depth()
H A DChangeLog2026 upstream: test argv_split() optional termination on comments
2083 upstream: switch sshd_config parsing to argv_split()
2100 upstream: Switch ssh_config parsing to use argv_split()
2147 upstream: Allow argv_split() to optionally terminate tokenisation
3253 upstream: add a test for misc.c:argv_split(), currently fails