Searched refs:last_path_component (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-path-util.c | 757 TEST(last_path_component) { in TEST() argument 758 assert_se(last_path_component(NULL) == NULL); in TEST() 759 assert_se(streq(last_path_component("a/b/c"), "c")); in TEST() 760 assert_se(streq(last_path_component("a/b/c/"), "c/")); in TEST() 761 assert_se(streq(last_path_component("/"), "/")); in TEST() 762 assert_se(streq(last_path_component("//"), "/")); in TEST() 763 assert_se(streq(last_path_component("///"), "/")); in TEST() 764 assert_se(streq(last_path_component("."), ".")); in TEST() 765 assert_se(streq(last_path_component("./."), ".")); in TEST() 766 assert_se(streq(last_path_component("././"), "./")); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | path-util.h | 153 const char *last_path_component(const char *path);
|
D | mountpoint-util.c | 336 return fd_is_mount_point(fd, last_path_component(t), flags); in path_is_mount_point()
|
D | path-util.c | 981 const char *last_path_component(const char *path) { in last_path_component() function
|
D | process-util.c | 1579 return strstr(last_path_component(argv[0]), token); in invoked_as()
|
/systemd-251/src/boot/ |
D | bless-boot.c | 240 last = last_path_component(path); in acquire_boot_count_path()
|
/systemd-251/src/portable/ |
D | portable.c | 1194 fn = last_path_component(image_path); in image_symlink() 1411 a = last_path_component(image); in marker_matches_images() 1443 b = last_path_component(*image_name_or_path); in marker_matches_images()
|
/systemd-251/src/shared/ |
D | tpm2-util.c | 1251 TABLE_STRING, device ? last_path_component(device) : NULL, in tpm2_list_devices() 1252 TABLE_STRING, driver ? last_path_component(driver) : NULL); in tpm2_list_devices()
|
D | discover-image.c | 181 p = last_path_component(path); in extract_pretty()
|