/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_util_unittest.cc | 252 FileEnumerator::FILES | FileEnumerator::DIRECTORIES; 270 explicit FindResultCollector(FileEnumerator* enumerator) { in FindResultCollector() 892 FileEnumerator f1(subdir_path, true, FileEnumerator::FILES); in TEST_F() 904 FileEnumerator f2(subdir_path, true, FileEnumerator::FILES); in TEST_F() 2559 FileEnumerator f0(temp_dir_.GetPath(), true, FILES_AND_DIRECTORIES); in TEST_F() 2564 FileEnumerator f0_dotdot( in TEST_F() 2566 FILES_AND_DIRECTORIES | FileEnumerator::INCLUDE_DOT_DOT); in TEST_F() 2592 FileEnumerator f1(temp_dir_.GetPath(), true, FileEnumerator::FILES); in TEST_F() 2601 FileEnumerator f2(temp_dir_.GetPath(), true, FileEnumerator::DIRECTORIES); in TEST_F() 2609 FileEnumerator f2_non_recursive(temp_dir_.GetPath(), false, in TEST_F() [all …]
|
D | file_path_watcher_linux.cc | 580 FileEnumerator enumerator( in UpdateRecursiveWatchesForPath() 583 FileEnumerator::DIRECTORIES | FileEnumerator::SHOW_SYM_LINKS); in UpdateRecursiveWatchesForPath()
|
/external/libchrome/components/policy/core/common/ |
D | config_dir_policy_loader.cc | 111 base::FileEnumerator file_enumerator(path, false, in LastModificationTime() 112 base::FileEnumerator::FILES); in LastModificationTime() 129 base::FileEnumerator file_enumerator(path, false, in LoadFromPath() 130 base::FileEnumerator::FILES); in LoadFromPath()
|
/external/libbrillo/brillo/ |
D | osrelease_reader.cc | 37 base::FileEnumerator enumerator( in Load() 38 osreleased, false, base::FileEnumerator::FILES); in Load()
|
D | file_utils.cc | 513 base::FileEnumerator file_iter(root_path, true, in ComputeDirectoryDiskUsage() 514 base::FileEnumerator::FILES | in ComputeDirectoryDiskUsage() 515 base::FileEnumerator::DIRECTORIES | in ComputeDirectoryDiskUsage() 516 base::FileEnumerator::SHOW_SYM_LINKS); in ComputeDirectoryDiskUsage()
|
/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()
|
/external/angle/third_party/zlib/google/ |
D | zip.cc | 81 base::FileEnumerator file_enumerator( in List() 83 base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); in List() 86 const base::FileEnumerator::FileInfo info = file_enumerator.GetInfo(); in List()
|
D | zip_unittest.cc | 222 base::FileEnumerator files( in TestUnzipFile() 224 base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); in TestUnzipFile() 391 base::FileEnumerator extractedFiles( in TEST_F() 394 base::FileEnumerator::FileType::FILES); in TEST_F() 400 base::FileEnumerator extractedDirs( in TEST_F() 403 base::FileEnumerator::FileType::DIRECTORIES); in TEST_F()
|
/external/zlib/google/ |
D | zip_unittest.cc | 196 base::FileEnumerator files(test_dir_, true, in TestUnzipFile() 197 base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); in TestUnzipFile() 360 base::FileEnumerator extractedFiles( in TEST_F() 363 base::FileEnumerator::FileType::FILES); in TEST_F() 369 base::FileEnumerator extractedDirs( in TEST_F() 372 base::FileEnumerator::FileType::DIRECTORIES); in TEST_F()
|
D | zip.cc | 76 base::FileEnumerator file_enumerator( in ListDirectoryContent() 78 base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); in ListDirectoryContent()
|
/external/libbrillo/brillo/blkdev_utils/ |
D | loop_device.cc | 250 base::FileEnumerator loopdev_enum( in SearchLoopDevicePaths() 252 base::FileEnumerator::FILES | base::FileEnumerator::SHOW_SYM_LINKS, in SearchLoopDevicePaths()
|
/external/libchrome/base/process/ |
D | process_util_unittest.cc | 331 base::FileEnumerator enumerator( in MULTIPROCESS_TEST_MAIN() 333 base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES); in MULTIPROCESS_TEST_MAIN()
|