/external/libchrome/base/files/ |
D | file_enumerator_unittest.cc | 26 const std::vector<FileEnumerator::FolderSearchPolicy> kFolderSearchPolicies{ 27 FileEnumerator::FolderSearchPolicy::MATCH_ONLY, 28 FileEnumerator::FolderSearchPolicy::ALL}; 35 FileEnumerator::FolderSearchPolicy folder_search_policy) { in RunEnumerator() 37 FileEnumerator enumerator(root_path, recursive, file_type, pattern, in RunEnumerator() 50 TEST(FileEnumerator, NotExistingPath) { in TEST() argument 56 path, true, FileEnumerator::FILES & FileEnumerator::DIRECTORIES, in TEST() 62 TEST(FileEnumerator, EmptyFolder) { in TEST() argument 69 FileEnumerator::FILES & FileEnumerator::DIRECTORIES, in TEST() 75 TEST(FileEnumerator, SingleFileInFolderForFileSearch) { in TEST() argument [all …]
|
D | file_enumerator_posix.cc | 37 FileEnumerator::FileInfo::FileInfo() { in FileInfo() 41 bool FileEnumerator::FileInfo::IsDirectory() const { in IsDirectory() 45 FilePath FileEnumerator::FileInfo::GetName() const { in GetName() 49 int64_t FileEnumerator::FileInfo::GetSize() const { in GetSize() 53 base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { in GetLastModifiedTime() 59 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() function in base::FileEnumerator 62 : FileEnumerator(root_path, in FileEnumerator() 68 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() function in base::FileEnumerator 72 : FileEnumerator(root_path, in FileEnumerator() 78 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() function in base::FileEnumerator [all …]
|
D | file_enumerator.h | 40 class BASE_EXPORT FileEnumerator { 68 friend class FileEnumerator; 115 FileEnumerator(const FilePath& root_path, 118 FileEnumerator(const FilePath& root_path, 122 FileEnumerator(const FilePath& root_path, 127 ~FileEnumerator(); 169 DISALLOW_COPY_AND_ASSIGN(FileEnumerator);
|
D | file_enumerator.cc | 11 FileEnumerator::FileInfo::~FileInfo() = default; 13 bool FileEnumerator::ShouldSkip(const FilePath& path) { in ShouldSkip() 20 bool FileEnumerator::IsTypeMatched(bool is_dir) const { in IsTypeMatched() 22 (is_dir ? FileEnumerator::DIRECTORIES : FileEnumerator::FILES)) != 0; in IsTypeMatched()
|
D | file_util.cc | 40 FileEnumerator file_iter(root_path, true, FileEnumerator::FILES); in ComputeDirectorySize() 196 FileEnumerator files(dir_path, false, in IsDirectoryEmpty() 197 FileEnumerator::FILES | FileEnumerator::DIRECTORIES); in IsDirectoryEmpty()
|
D | file_util_posix.cc | 141 bool AdvanceEnumeratorWithStat(FileEnumerator* traversal, in AdvanceEnumeratorWithStat() 210 int traverse_type = FileEnumerator::FILES | FileEnumerator::SHOW_SYM_LINKS; in DoCopyDirectory() 212 traverse_type |= FileEnumerator::DIRECTORIES; in DoCopyDirectory() 213 FileEnumerator traversal(from_path, recursive, traverse_type); in DoCopyDirectory() 365 FileEnumerator traversal(path, true, in DeleteFile() 366 FileEnumerator::FILES | FileEnumerator::DIRECTORIES | in DeleteFile() 367 FileEnumerator::SHOW_SYM_LINKS); in DeleteFile()
|
D | file_path_watcher_linux.cc | 580 FileEnumerator enumerator( in UpdateRecursiveWatchesForPath() 583 FileEnumerator::DIRECTORIES | FileEnumerator::SHOW_SYM_LINKS); in UpdateRecursiveWatchesForPath()
|
/external/libbrillo/brillo/ |
D | osrelease_reader.cc | 37 base::FileEnumerator enumerator( in Load() 38 osreleased, false, base::FileEnumerator::FILES); in Load()
|
/external/libbrillo/policy/ |
D | resilient_policy_util.cc | 27 base::FileEnumerator file_iter(directory, false, base::FileEnumerator::FILES); in GetSortedResilientPolicyFilePaths()
|
/external/libchrome/mojo/core/test/ |
D | test_support_impl.cc | 68 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false, in EnumerateSourceRootRelativeDirectory() 69 base::FileEnumerator::FILES); in EnumerateSourceRootRelativeDirectory()
|