Home
last modified time | relevance | path

Searched refs:DirectoryExists (Results 1 – 25 of 31) sorted by relevance

12

/third_party/googletest/googletest/test/
Dgoogletest-filepath-test.cc363 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
365 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
380 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
390 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
398 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
399 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
403 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
404 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
520 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.string(); in TEST_F()
522 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/third_party/skia/third_party/externals/zlib/google/
Dzip.cc61 if (base::PathExists(path) && !base::DirectoryExists(path)) { in OpenFilesForReading()
69 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in zip::__anon397a2aea0111::DirectFileAccessor
70 return base::DirectoryExists(file); in DirectoryExists()
81 files.push_back(DirectoryContentEntry(path, base::DirectoryExists(path))); in ListDirectoryContent()
243 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
264 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
Dzip_unittest.cc102 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in __anon85fcb9c90111::VirtualFileSystem
206 !base::DirectoryExists(unzipped_entry_path)) { in TestUnzipFile()
523 EXPECT_TRUE(base::DirectoryExists(temp_dir.AppendASCII("d"))); in TEST_F()
547 EXPECT_TRUE(base::DirectoryExists(bar_dir)); in TEST_F()
Dzip.h45 virtual bool DirectoryExists(const base::FilePath& path) = 0;
Dzip_writer.cc191 DCHECK(file_accessor_->DirectoryExists(absolute_path)); in FlushEntriesIfNeeded()
/third_party/node/deps/zlib/google/
Dzip.cc61 if (base::PathExists(path) && !base::DirectoryExists(path)) { in OpenFilesForReading()
69 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in zip::__anon7961fee50111::DirectFileAccessor
70 return base::DirectoryExists(file); in DirectoryExists()
81 files.push_back(DirectoryContentEntry(path, base::DirectoryExists(path))); in ListDirectoryContent()
243 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
264 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
Dzip_unittest.cc101 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in __anon45be38240111::VirtualFileSystem
205 !base::DirectoryExists(unzipped_entry_path)) { in TestUnzipFile()
522 EXPECT_TRUE(base::DirectoryExists(temp_dir.AppendASCII("d"))); in TEST_F()
546 EXPECT_TRUE(base::DirectoryExists(bar_dir)); in TEST_F()
Dzip.h45 virtual bool DirectoryExists(const base::FilePath& path) = 0;
Dzip_writer.cc190 DCHECK(file_accessor_->DirectoryExists(absolute_path)); in FlushEntriesIfNeeded()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip.cc61 if (base::PathExists(path) && !base::DirectoryExists(path)) { in OpenFilesForReading()
69 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in zip::__anon03a3029f0111::DirectFileAccessor
70 return base::DirectoryExists(file); in DirectoryExists()
81 files.push_back(DirectoryContentEntry(path, base::DirectoryExists(path))); in ListDirectoryContent()
243 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
264 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
Dzip_unittest.cc101 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in __anonf8800d1e0111::VirtualFileSystem
205 !base::DirectoryExists(unzipped_entry_path)) { in TestUnzipFile()
522 EXPECT_TRUE(base::DirectoryExists(temp_dir.AppendASCII("d"))); in TEST_F()
546 EXPECT_TRUE(base::DirectoryExists(bar_dir)); in TEST_F()
Dzip.h45 virtual bool DirectoryExists(const base::FilePath& path) = 0;
Dzip_writer.cc190 DCHECK(file_accessor_->DirectoryExists(absolute_path)); in FlushEntriesIfNeeded()
/third_party/gn/src/base/files/
Dscoped_temp_dir.cc57 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set()
89 return !path_.empty() && DirectoryExists(path_); in IsValid()
Dfile_util_posix.cc270 bool DirectoryExists(const FilePath& path) { in DirectoryExists() function
445 if (DirectoryExists(*i)) in CreateDirectoryAndGetError()
454 if (!DirectoryExists(*i)) { in CreateDirectoryAndGetError()
470 if (DirectoryExists(real_path_result)) in NormalizeFilePath()
Dfile_util.h95 bool DirectoryExists(const FilePath& path);
Dfile_util_win.cc267 bool DirectoryExists(const FilePath& path) { in DirectoryExists() function
357 if (error_code == ERROR_ALREADY_EXISTS && DirectoryExists(full_path)) { in CreateDirectoryAndGetError()
/third_party/mesa3d/src/gtest/src/
Dgtest-filepath.cc219 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
306 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
331 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/third_party/googletest/googletest/src/
Dgtest-filepath.cc220 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
307 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
335 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/third_party/cef/libcef/common/
Dfile_util_impl.cc71 return base::DirectoryExists(path); in CefDirectoryExists()
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h161 bool DirectoryExists() const;
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h161 bool DirectoryExists() const;
/third_party/gn/src/gn/
Dqt_creator_writer.cc43 if (!base::DirectoryExists(project_dir)) { in RunAndWriteFile()
/third_party/cef/libcef/browser/
Dcontext.cc149 if (!base::DirectoryExists(cache_path) && in ValidateCachePath()
Ddownload_manager_delegate.cc93 if (!base::DirectoryExists(dir_path) && in GenerateFilename()

12