Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_expand.c28 int parseerr; in test_expand() local
55 ret = dollar_expand(&parseerr, "a${BAZ}"); in test_expand()
56 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
57 ret = dollar_expand(&parseerr, "${BAZ}b"); in test_expand()
58 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
59 ret = dollar_expand(&parseerr, "a${BAZ}b"); in test_expand()
60 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 0); in test_expand()
62 ret = dollar_expand(&parseerr, "${"); in test_expand()
63 ASSERT_PTR_EQ(ret, NULL); ASSERT_INT_EQ(parseerr, 1); in test_expand()
64 ret = dollar_expand(&parseerr, "${F"); in test_expand()
[all …]
/freebsd/crypto/openssh/
H A Dmisc.c1400 dollar_expand(int *parseerr, const char *string, ...) in dollar_expand() argument
1409 if (parseerr != NULL) in dollar_expand()
1410 *parseerr = err; in dollar_expand()