Searched refs:path_startswith_strv (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-path-util.c | 1010 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/ |
D | path-util.h | 87 char* path_startswith_strv(const char *p, char **set); 88 #define PATH_STARTSWITH_SET(p, ...) path_startswith_strv(p, STRV_MAKE(__VA_ARGS__))
|
D | unit-file.c | 339 const char *tail = path_startswith_strv(simplified, search_path); in unit_file_resolve_symlink()
|
D | path-util.c | 200 char* path_startswith_strv(const char *p, char **set) { in path_startswith_strv() function
|
/systemd-251/src/core/ |
D | dbus-service.c | 157 if (path_startswith_strv(dest, c->inaccessible_paths)) in bus_service_method_mount()
|
/systemd-251/src/shared/ |
D | install.c | 472 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()
|