Home
last modified time | relevance | path

Searched refs:dir_is_empty_at (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-stat-util.c156 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/
Dstat-util.h20 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()
Dstat-util.c74 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/
Dhomework-cifs.c210 r = dir_is_empty_at(setup->root_fd, NULL, /* ignore_hidden_or_backup= */ false); in home_create_cifs()
/systemd-251/src/shared/
Dcopy.c908 r = dir_is_empty_at(dt, to, /* ignore_hidden_or_backup= */ false); in fd_copy_directory()