Searched refs:ignore_hidden_or_backup (Results 1 – 2 of 2) sorted by relevance
20 int dir_is_empty_at(int dir_fd, const char *path, bool ignore_hidden_or_backup);21 static inline int dir_is_empty(const char *path, bool ignore_hidden_or_backup) { in dir_is_empty() argument22 return dir_is_empty_at(AT_FDCWD, path, ignore_hidden_or_backup); in dir_is_empty()
74 int dir_is_empty_at(int dir_fd, const char *path, bool ignore_hidden_or_backup) { in dir_is_empty_at() argument103 m = (ignore_hidden_or_backup ? 16 : 3) * DIRENT_SIZE_MAX; in dir_is_empty_at()120 … if (!(ignore_hidden_or_backup ? hidden_or_backup_file(de->d_name) : dot_or_dot_dot(de->d_name))) in dir_is_empty_at()