Home
last modified time | relevance | path

Searched refs:path_startswith_strv (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-path-util.c1010 TEST(path_startswith_strv) { in TEST() argument
1011 …assert_se(streq_ptr(path_startswith_strv("/foo/bar", STRV_MAKE("/foo/quux", "/foo/bar", "/zzz")), … in TEST()
1012 …assert_se(streq_ptr(path_startswith_strv("/foo/bar", STRV_MAKE("/foo/quux", "/foo/", "/zzz")), "ba… in TEST()
1013 …assert_se(streq_ptr(path_startswith_strv("/foo/bar", STRV_MAKE("/foo/quux", "/foo", "/zzz")), "bar… in TEST()
1014 …assert_se(streq_ptr(path_startswith_strv("/foo/bar", STRV_MAKE("/foo/quux", "/", "/zzz")), "foo/ba… in TEST()
1015 … assert_se(streq_ptr(path_startswith_strv("/foo/bar", STRV_MAKE("/foo/quux", "", "/zzz")), NULL)); in TEST()
1017 …assert_se(streq_ptr(path_startswith_strv("/foo/bar2", STRV_MAKE("/foo/quux", "/foo/bar", "/zzz")),… in TEST()
1018 …assert_se(streq_ptr(path_startswith_strv("/foo/bar2", STRV_MAKE("/foo/quux", "/foo/", "/zzz")), "b… in TEST()
1019 …assert_se(streq_ptr(path_startswith_strv("/foo/bar2", STRV_MAKE("/foo/quux", "/foo", "/zzz")), "ba… in TEST()
1020 …assert_se(streq_ptr(path_startswith_strv("/foo/bar2", STRV_MAKE("/foo/quux", "/", "/zzz")), "foo/b… in TEST()
[all …]
/systemd-251/src/basic/
Dpath-util.h87 char* path_startswith_strv(const char *p, char **set);
88 #define PATH_STARTSWITH_SET(p, ...) path_startswith_strv(p, STRV_MAKE(__VA_ARGS__))
Dunit-file.c339 const char *tail = path_startswith_strv(simplified, search_path); in unit_file_resolve_symlink()
Dpath-util.c200 char* path_startswith_strv(const char *p, char **set) { in path_startswith_strv() function
/systemd-251/src/core/
Ddbus-service.c157 if (path_startswith_strv(dest, c->inaccessible_paths)) in bus_service_method_mount()
/systemd-251/src/shared/
Dinstall.c472 path_startswith_strv(a, lp->search_path) && in chroot_unit_symlinks_equivalent()
473 path_startswith_strv(b, lp->search_path); in chroot_unit_symlinks_equivalent()