Home
last modified time | relevance | path

Searched refs:parseerr (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/crypto/openssh/regress/unittests/misc/
H A Dtest_expand.c29 int parseerr; in test_expand() local
56 ret = dollar_expand(&parseerr, "a${BAZ}"); in test_expand()
57 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
58 ret = dollar_expand(&parseerr, "${BAZ}b"); in test_expand()
59 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
60 ret = dollar_expand(&parseerr, "a${BAZ}b"); in test_expand()
61 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
63 ret = dollar_expand(&parseerr, "${"); in test_expand()
65 ret = dollar_expand(&parseerr, "${F"); in test_expand()
67 ret = dollar_expand(&parseerr, "${FO"); in test_expand()
[all …]
/freebsd-13.1/crypto/openssh/
H A Dmisc.c1305 dollar_expand(int *parseerr, const char *string, ...) in dollar_expand() argument
1314 if (parseerr != NULL) in dollar_expand()
1315 *parseerr = err; in dollar_expand()