Searched refs:path_equal_ptr (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/test/ |
D | test-path-util.c | 45 assert_se(path_equal_ptr(NULL, NULL)); in TEST() 46 assert_se(path_equal_ptr("/a", "/a")); in TEST() 47 assert_se(!path_equal_ptr("/a", "/b")); in TEST() 48 assert_se(!path_equal_ptr("/a", NULL)); in TEST() 49 assert_se(!path_equal_ptr(NULL, "/a")); in TEST() 548 assert_se(path_equal_ptr(s, expected)); in test_prefix_root_one() 552 assert_se(path_equal_ptr(t, expected)); in test_prefix_root_one()
|
/systemd-251/src/shared/ |
D | install.c | 146 return path_equal_ptr(parent, lp->generator) || in path_is_generator() 147 path_equal_ptr(parent, lp->generator_early) || in path_is_generator() 148 path_equal_ptr(parent, lp->generator_late); in path_is_generator() 161 return path_equal_ptr(parent, lp->transient); in path_is_transient() 174 return path_equal_ptr(parent, lp->persistent_control) || in path_is_control() 175 path_equal_ptr(parent, lp->runtime_control); in path_is_control() 195 return path_equal_ptr(path, lp->persistent_config) || in path_is_config() 196 path_equal_ptr(path, lp->runtime_config); in path_is_config() 221 return path_equal_ptr(path, lp->runtime_config) || in path_is_runtime() 222 path_equal_ptr(path, lp->generator) || in path_is_runtime() [all …]
|
/systemd-251/src/basic/ |
D | path-util.h | 80 static inline bool path_equal_ptr(const char *a, const char *b) { in path_equal_ptr() function
|
D | stat-util.c | 152 if (path_equal_ptr(path_startswith(fn, root ?: "/"), "dev/null")) in null_or_empty_path_with_root()
|
/systemd-251/src/core/ |
D | main.c | 1414 if (path_equal_ptr(getenv("HOME"), "/")) in fixup_environment()
|
D | load-fragment.c | 224 if (!path_equal_ptr(u->fragment_path, fragment_path)) in unit_is_likely_recursive_template_dependency()
|
D | execute.c | 1922 if (path_equal_ptr(tty_path, "/dev/console") && getppid() == 1) in build_environment()
|