/systemd-251/src/basic/ |
D | path-util.c | 55 if (path_is_absolute(p) || isempty(prefix)) in path_make_absolute() 89 if (path_is_absolute(p)) in path_make_absolute_cwd() 120 if (!path_is_absolute(from) || !path_is_absolute(to)) in path_make_relative() 249 if (!path_is_absolute(*s)) { in path_strv_resolve() 342 if (path_is_absolute(path)) in path_simplify() 426 r = CMP(path_is_absolute(a), path_is_absolute(b)); in path_compare() 654 if (!path_is_absolute(*element)) in find_executable_full() 682 if (!path_is_absolute(element)) in find_executable_full() 1168 if (path_is_absolute(filename)) in file_in_same_dir()
|
D | user-util.c | 292 !path_is_absolute(p->pw_dir))) in get_user_creds() 302 !path_is_absolute(p->pw_shell) || in get_user_creds() 569 if (e && path_is_valid(e) && path_is_absolute(e)) { in get_home_dir() 605 !path_is_absolute(p->pw_dir)) in get_home_dir() 626 if (e && path_is_valid(e) && path_is_absolute(e)) { in get_shell() 662 !path_is_absolute(p->pw_shell)) in get_shell() 907 if (!path_is_absolute(p)) in valid_home() 1088 if (e && path_is_absolute(e) && path_is_normalized(e)) in get_home_root()
|
D | unit-file.c | 188 if (path_is_absolute(t)) { in unit_ids_map_get() 291 assert(dir || path_is_absolute(filename)); in unit_file_resolve_symlink() 314 bool is_abs = path_is_absolute(target); in unit_file_resolve_symlink() 329 assert(path_is_absolute(simplified)); in unit_file_resolve_symlink()
|
D | chase-symlinks.c | 88 if (FLAGS_SET(flags, CHASE_PREFIX_ROOT) && !path_is_absolute(path)) in chase_symlinks() 320 if (path_is_absolute(destination)) { in chase_symlinks()
|
D | hash-funcs.c | 31 if (path_is_absolute(q)) in path_hash_func()
|
D | sync-util.c | 61 if (!path_is_absolute(path)) in fsync_directory_of_file()
|
/systemd-251/src/libsystemd/sd-path/ |
D | sd-path.c | 24 if (e && path_is_absolute(e)) { in from_environment() 50 if (e && path_is_absolute(e)) { in from_home_dir() 155 } else if (path_is_absolute(p)) { in from_user_dir() 482 if (e && path_is_absolute(e)) { in search_from_environment() 491 if (e && path_is_absolute(e)) { in search_from_environment()
|
/systemd-251/src/test/ |
D | test-path-util.c | 27 assert_se(path_is_absolute("/")); in TEST() 28 assert_se(!path_is_absolute("./")); in TEST() 257 assert_se(path_is_absolute(p)); in TEST() 263 assert_se(path_is_absolute(p)); in TEST() 271 assert_se(path_is_absolute(p)); in TEST() 291 assert_se(path_is_absolute(t)); in test_find_executable_exec_one() 292 if (path_is_absolute(path)) in test_find_executable_exec_one()
|
/systemd-251/src/login/ |
D | user-runtime-dir.c | 61 assert(path_is_absolute(runtime_path)); in user_mkdir_runtime_path() 122 assert(path_is_absolute(runtime_path)); in user_remove_runtime_path()
|
/systemd-251/src/escape/ |
D | escape.c | 182 if (!path_is_absolute(*i)) in run() 197 else if (!path_is_absolute(*i)) in run()
|
/systemd-251/src/shared/ |
D | selinux-util.c | 477 assert(path_is_absolute(abspath)); in selinux_create_file_prepare_abspath() 515 if (isempty(path) || !path_is_absolute(path)) { in mac_selinux_create_file_prepare_at() 628 if (path_is_absolute(path)) in mac_selinux_bind()
|
D | smack-util.c | 131 assert(path_is_absolute(abspath)); in smack_fix_fd() 204 if (!path_is_absolute(path)) { in mac_smack_fix_at()
|
D | parse-helpers.c | 30 absolute = path_is_absolute(path); in path_simplify_and_warn()
|
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 92 return path_is_absolute(p); in source_path_is_valid() 244 if (!path_is_absolute(destination)) in bind_mount_parse() 282 if (!path_is_absolute(path)) in tmpfs_mount_parse() 337 if (!path_is_absolute(destination)) in overlay_mount_parse() 361 if (!path_is_absolute(s)) in inaccessible_mount_parse() 1204 if (!path_is_absolute(root_new)) in pivot_root_parse() 1206 if (root_old && !path_is_absolute(root_old)) in pivot_root_parse()
|
/systemd-251/src/analyze/ |
D | analyze-cat-config.c | 25 if (path_is_absolute(*arg)) { in verb_cat_config()
|
/systemd-251/src/core/ |
D | dbus-execute.c | 1513 if (!path_is_absolute(path) && !filename_is_valid(path)) in bus_set_transient_exec_command() 2197 … if (!(path_is_absolute(source) ? path_is_normalized(source) : credential_name_valid(source))) in bus_exec_context_set_transient_property() 2842 if (!isempty(s) && !streq(s, "~") && !path_is_absolute(s)) in bus_exec_context_set_transient_property() 2917 if (!path_is_absolute(s)) in bus_exec_context_set_transient_property() 3155 if (!path_is_absolute(path)) in bus_exec_context_set_transient_property() 3251 if (!path_is_absolute(i + offset)) in bus_exec_context_set_transient_property() 3299 if (!path_is_absolute(*p) || !path_is_normalized(*p) || strchr(*p, ':')) in bus_exec_context_set_transient_property() 3331 if (path_is_absolute(*p)) in bus_exec_context_set_transient_property() 3413 if (!path_is_absolute(source)) in bus_exec_context_set_transient_property() 3415 if (!path_is_absolute(destination)) in bus_exec_context_set_transient_property() [all …]
|
D | dbus-path.c | 96 if (!path_is_absolute(path)) in bus_path_set_transient_property()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-keyfile.c | 21 if (strv_isempty(search_path) || path_is_absolute(key_file)) { in find_key_file()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-transfer.c | 511 … if (!path_is_absolute(t->source.path) || !path_is_normalized(t->source.path)) in transfer_read_definition() 533 (!path_is_absolute(t->target.path) || !path_is_normalized(t->target.path))) in transfer_read_definition() 544 …if (t->current_symlink && !RESOURCE_IS_FILESYSTEM(t->target.type) && !path_is_absolute(t->current_… in transfer_read_definition() 1197 if (path_is_absolute(t->current_symlink)) { in transfer_install_instance() 1212 assert(path_is_absolute(t->current_symlink)); in transfer_install_instance()
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 644 if (!path_is_absolute(path)) in bus_machine_method_open_shell() 859 if (!path_is_absolute(src) || !path_is_normalized(src)) in bus_machine_method_bind_mount() 864 else if (!path_is_absolute(dest) || !path_is_normalized(dest)) in bus_machine_method_bind_mount() 931 if (!path_is_absolute(src)) in bus_machine_method_copy() 936 else if (!path_is_absolute(dest)) in bus_machine_method_copy()
|
/systemd-251/src/home/ |
D | home-util.c | 63 path_is_absolute(path); in suitable_image_path()
|
/systemd-251/src/integritysetup/ |
D | integritysetup-generator.c | 66 if (!path_is_absolute(key_file)) in create_disk()
|
D | integritysetup.c | 58 if (!path_is_absolute(key_file)) in load_key_file()
|
/systemd-251/src/volatile-root/ |
D | volatile-root.c | 146 if (!path_is_absolute(path)) in run()
|
/systemd-251/src/veritysetup/ |
D | veritysetup.c | 46 if (path_is_absolute(option) || startswith(option, "base64:")) { in save_roothashsig_option()
|