Home
last modified time | relevance | path

Searched refs:path_equal_ptr (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-path-util.c45 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/
Dinstall.c146 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/
Dpath-util.h80 static inline bool path_equal_ptr(const char *a, const char *b) { in path_equal_ptr() function
Dstat-util.c152 if (path_equal_ptr(path_startswith(fn, root ?: "/"), "dev/null")) in null_or_empty_path_with_root()
/systemd-251/src/core/
Dmain.c1414 if (path_equal_ptr(getenv("HOME"), "/")) in fixup_environment()
Dload-fragment.c224 if (!path_equal_ptr(u->fragment_path, fragment_path)) in unit_is_likely_recursive_template_dependency()
Dexecute.c1922 if (path_equal_ptr(tty_path, "/dev/console") && getppid() == 1) in build_environment()