Home
last modified time | relevance | path

Searched refs:path_extend (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/
Dtest-path-util.c418 TEST(path_extend) { in TEST() argument
421 assert_se(path_extend(&p, "foo", "bar", "baz") == p); in TEST()
424 assert_se(path_extend(&p, "foo", "bar", "baz") == p); in TEST()
428 assert_se(path_extend(&p, "foo") == p); in TEST()
431 assert_se(path_extend(&p, "/foo") == p); in TEST()
433 assert_se(path_extend(&p, "/waaaah/wahhh//") == p); in TEST()
435 assert_se(path_extend(&p, "/aaa/bbb/") == p); in TEST()
439 assert_se(path_extend(&p, "foo") == p); in TEST()
/systemd-251/src/libsystemd/sd-path/
Dsd-path.c60 if (!path_extend(&h, suffix)) in from_home_dir()
141 if (!path_extend(&h, p+5)) in from_user_dir()
177 if (!path_extend(&h, "Desktop")) in from_user_dir()
/systemd-251/src/basic/
Dchase-symlinks.c284 if (!path_extend(&done, first, todo)) in chase_symlinks()
348 if (!path_extend(&destination, todo)) in chase_symlinks()
361 if (!path_extend(&done, first)) in chase_symlinks()
Dtmpfile-util.c119 if (!path_extend(&d, nf)) in tempfn_xxxxxx()
161 if (!path_extend(&d, nf)) in tempfn_random()
Dpath-util.h75 #define path_extend(x, ...) path_extend_internal(x, __VA_ARGS__, POINTER_MAX) macro
Dpath-lookup.c56 if (!path_extend(&j, "/.config", suffix)) in xdg_user_config_dir()
86 if (!path_extend(&j, "/.local/share", suffix)) in xdg_user_data_dir()
Dpath-util.c685 if (!path_extend(&element, name)) in find_executable_full()
/systemd-251/src/shared/
Dselinux-util.c523 if (!isempty(path) && !path_extend(&abspath, path)) in mac_selinux_create_file_prepare_at()
/systemd-251/src/libsystemd/sd-device/
Ddevice-private.c764 if (!path_extend(&new_syspath, name)) in device_rename()
/systemd-251/src/core/
Dexecute.c2391 if (!path_extend(&pp, context->directories[type].items[i].path)) { in setup_exec_directory()