Home
last modified time | relevance | path

Searched refs:path_is_absolute (Results 1 – 25 of 90) sorted by relevance

1234

/systemd-251/src/basic/
Dpath-util.c55 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()
Duser-util.c292 !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()
Dunit-file.c188 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()
Dchase-symlinks.c88 if (FLAGS_SET(flags, CHASE_PREFIX_ROOT) && !path_is_absolute(path)) in chase_symlinks()
320 if (path_is_absolute(destination)) { in chase_symlinks()
Dhash-funcs.c31 if (path_is_absolute(q)) in path_hash_func()
Dsync-util.c61 if (!path_is_absolute(path)) in fsync_directory_of_file()
/systemd-251/src/libsystemd/sd-path/
Dsd-path.c24 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/
Dtest-path-util.c27 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/
Duser-runtime-dir.c61 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/
Descape.c182 if (!path_is_absolute(*i)) in run()
197 else if (!path_is_absolute(*i)) in run()
/systemd-251/src/shared/
Dselinux-util.c477 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()
Dsmack-util.c131 assert(path_is_absolute(abspath)); in smack_fix_fd()
204 if (!path_is_absolute(path)) { in mac_smack_fix_at()
Dparse-helpers.c30 absolute = path_is_absolute(path); in path_simplify_and_warn()
/systemd-251/src/nspawn/
Dnspawn-mount.c92 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/
Danalyze-cat-config.c25 if (path_is_absolute(*arg)) { in verb_cat_config()
/systemd-251/src/core/
Ddbus-execute.c1513 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 …]
Ddbus-path.c96 if (!path_is_absolute(path)) in bus_path_set_transient_property()
/systemd-251/src/cryptsetup/
Dcryptsetup-keyfile.c21 if (strv_isempty(search_path) || path_is_absolute(key_file)) { in find_key_file()
/systemd-251/src/sysupdate/
Dsysupdate-transfer.c511 … 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/
Dmachine-dbus.c644 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/
Dhome-util.c63 path_is_absolute(path); in suitable_image_path()
/systemd-251/src/integritysetup/
Dintegritysetup-generator.c66 if (!path_is_absolute(key_file)) in create_disk()
Dintegritysetup.c58 if (!path_is_absolute(key_file)) in load_key_file()
/systemd-251/src/volatile-root/
Dvolatile-root.c146 if (!path_is_absolute(path)) in run()
/systemd-251/src/veritysetup/
Dveritysetup.c46 if (path_is_absolute(option) || startswith(option, "base64:")) { in save_roothashsig_option()

1234