Searched refs:dir_is_empty_at (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-stat-util.c | 156 assert_se(dir_is_empty_at(AT_FDCWD, "/proc", /* ignore_hidden_or_backup= */ true) == 0); in TEST() 157 …assert_se(dir_is_empty_at(AT_FDCWD, "/icertainlydontexistdoi", /* ignore_hidden_or_backup= */ true… in TEST() 160 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ true) > 0); in TEST() 166 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ true) == 0); in TEST() 176 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ true) == 0); in TEST() 177 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ false) == 0); in TEST() 179 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ true) == 0); in TEST() 180 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ false) == 0); in TEST() 182 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ true) > 0); in TEST() 183 assert_se(dir_is_empty_at(AT_FDCWD, empty_dir, /* ignore_hidden_or_backup= */ false) == 0); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | stat-util.h | 20 int dir_is_empty_at(int dir_fd, const char *path, bool ignore_hidden_or_backup); 22 return dir_is_empty_at(AT_FDCWD, path, ignore_hidden_or_backup); in dir_is_empty()
|
D | stat-util.c | 74 int dir_is_empty_at(int dir_fd, const char *path, bool ignore_hidden_or_backup) { in dir_is_empty_at() function
|
/systemd-251/src/home/ |
D | homework-cifs.c | 210 r = dir_is_empty_at(setup->root_fd, NULL, /* ignore_hidden_or_backup= */ false); in home_create_cifs()
|
/systemd-251/src/shared/ |
D | copy.c | 908 r = dir_is_empty_at(dt, to, /* ignore_hidden_or_backup= */ false); in fd_copy_directory()
|