Lines Matching refs:STRV_MAKE

139         _cleanup_free_ char *s = strv_join(STRV_MAKE("1", "2", "3,3"), ",");  in TEST()
169 _cleanup_free_ char *r = strv_join_full(STRV_MAKE("a", "a;b", "a:c"), ";", NULL, true); in TEST()
173 …_cleanup_free_ char *s = strv_join_full(STRV_MAKE("a", "a;b", "a;;c", ";", ";x"), ";", NULL, true); in TEST()
177 _cleanup_free_ char *t = strv_join_full(STRV_MAKE("a", "a;b", "a:c", ";"), ";", "=", true); in TEST()
225 …test_strv_unquote_one(" foo=bar \"waldo\" zzz ", STRV_MAKE("foo=bar", "waldo", "zzz")… in TEST()
229 test_strv_unquote_one(" x", STRV_MAKE("x")); in TEST()
230 test_strv_unquote_one("x ", STRV_MAKE("x")); in TEST()
231 test_strv_unquote_one(" x ", STRV_MAKE("x")); in TEST()
232 test_strv_unquote_one(" \"x\" ", STRV_MAKE("x")); in TEST()
233 test_strv_unquote_one(" 'x' ", STRV_MAKE("x")); in TEST()
234 test_strv_unquote_one(" 'x\"' ", STRV_MAKE("x\"")); in TEST()
235 test_strv_unquote_one(" \"x'\" ", STRV_MAKE("x'")); in TEST()
236 test_strv_unquote_one("a '--b=c \"d e\"'", STRV_MAKE("a", "--b=c \"d e\"")); in TEST()
239 test_strv_unquote_one(" x\\\\", STRV_MAKE("x\\")); in TEST()
319 assert_se(strv_equal(l, STRV_MAKE("\\"))); in TEST()
324 assert_se(strv_equal(l, STRV_MAKE("\\"))); in TEST()
329 assert_se(strv_equal(l, STRV_MAKE("aa\\", "bb\\"))); in TEST()
334 assert_se(strv_equal(l, STRV_MAKE("aa\"", "bb'"))); in TEST()
661 STRV_FOREACH_BACKWARDS(check, STRV_MAKE("ONE")) in TEST()
693 test_strv_from_stdarg_alloca_one(STRV_MAKE("foo", "bar"), "foo", "bar", NULL); in TEST()
694 test_strv_from_stdarg_alloca_one(STRV_MAKE("foo"), "foo", NULL); in TEST()
862 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 0, STRV_MAKE("foo", "bar", "baz")); in TEST()
863 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 1, STRV_MAKE("bar", "baz")); in TEST()
864 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 2, STRV_MAKE("baz")); in TEST()
865 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 3, STRV_MAKE(NULL)); in TEST()
866 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 4, STRV_MAKE(NULL)); in TEST()
867 test_strv_skip_one(STRV_MAKE("foo", "bar", "baz"), 55, STRV_MAKE(NULL)); in TEST()
869 test_strv_skip_one(STRV_MAKE("quux"), 0, STRV_MAKE("quux")); in TEST()
870 test_strv_skip_one(STRV_MAKE("quux"), 1, STRV_MAKE(NULL)); in TEST()
871 test_strv_skip_one(STRV_MAKE("quux"), 55, STRV_MAKE(NULL)); in TEST()
873 test_strv_skip_one(STRV_MAKE(NULL), 0, STRV_MAKE(NULL)); in TEST()
874 test_strv_skip_one(STRV_MAKE(NULL), 1, STRV_MAKE(NULL)); in TEST()
875 test_strv_skip_one(STRV_MAKE(NULL), 55, STRV_MAKE(NULL)); in TEST()
929 test_strv_make_nulstr_one(STRV_MAKE(NULL)); in TEST()
930 test_strv_make_nulstr_one(STRV_MAKE("foo")); in TEST()
931 test_strv_make_nulstr_one(STRV_MAKE("foo", "bar")); in TEST()
932 test_strv_make_nulstr_one(STRV_MAKE("foo", "bar", "quuux")); in TEST()