/external/libchrome/base/files/ |
D | scoped_temp_dir_unittest.cc | 21 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 27 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 33 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 39 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 46 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 57 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 62 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 76 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 80 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
|
D | scoped_temp_dir.cc | 57 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set() 89 return !path_.empty() && DirectoryExists(path_); in IsValid()
|
/external/googletest/googletest/test/ |
D | googletest-filepath-test.cc | 363 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 …]
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | googletest-filepath-test.cc | 363 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 …]
|
/external/zlib/google/ |
D | zip.cc | 61 if (base::PathExists(path) && !base::DirectoryExists(path)) { in OpenFilesForReading() 69 bool DirectoryExists(const base::FilePath& file) override { in DirectoryExists() function in zip::__anon87abe66b0111::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()
|
/external/pdfium/testing/utils/ |
D | path_service.cpp | 41 bool PathService::DirectoryExists(const std::string& path) { in DirectoryExists() function in PathService 131 if (PathService::DirectoryExists(potential_path)) { in GetTestDataDir() 144 if (PathService::DirectoryExists(potential_path)) { in GetTestDataDir()
|
D | path_service.h | 20 static bool DirectoryExists(const std::string& path);
|
/external/icing/icing/file/ |
D | filesystem_test.cc | 156 EXPECT_TRUE(filesystem.DirectoryExists(foo_dir)); in TEST_F() 158 EXPECT_FALSE(filesystem.DirectoryExists(foo_dir)); in TEST_F() 161 EXPECT_FALSE(filesystem.DirectoryExists(foo_dir)); in TEST_F() 162 EXPECT_FALSE(filesystem.DirectoryExists(bar_dir)); in TEST_F() 164 EXPECT_TRUE(filesystem.DirectoryExists(foo_dir)); in TEST_F() 165 EXPECT_TRUE(filesystem.DirectoryExists(bar_dir)); in TEST_F() 169 EXPECT_FALSE(filesystem.DirectoryExists(foo_dir)); in TEST_F() 170 EXPECT_FALSE(filesystem.DirectoryExists(bar_dir)); in TEST_F()
|
D | mock-filesystem.h | 62 ON_CALL(*this, DirectoryExists).WillByDefault([this](const char* dir_name) { in MockFilesystem() 63 return real_filesystem_.DirectoryExists(dir_name); in MockFilesystem() 246 MOCK_METHOD(bool, DirectoryExists, (const char* dir_name), (const));
|
/external/llvm-project/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 223 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath 313 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() 338 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-filepath.cc | 221 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath 311 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() 336 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 217 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath 303 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() 331 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/ |
D | gtest-filepath.cc | 219 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()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 219 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()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 214 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath 304 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() 329 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
|
/external/googletest/googletest/src/ |
D | gtest-filepath.cc | 220 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()
|
/external/icing/icing/legacy/index/ |
D | icing-mock-filesystem.h | 54 ON_CALL(*this, DirectoryExists).WillByDefault([this](const char *dir_name) { in IcingMockFilesystem() 55 return real_icing_filesystem_.DirectoryExists(dir_name); in IcingMockFilesystem() 177 MOCK_METHOD(bool, DirectoryExists, (const char *dir_name), (const, override));
|
D | icing-filesystem.cc | 257 bool IcingFilesystem::DirectoryExists(const char *dir_name) const { in DirectoryExists() function in icing::lib::IcingFilesystem 497 if (DirectoryExists(tmp_cstr) && !DeleteDirectoryRecursively(tmp_cstr)) { in SwapFiles() 516 bool success = DirectoryExists(dir_name); in CreateDirectory() 529 if ((strlen(dir_name) == 0) || DirectoryExists(dir_name)) { in CreateDirectoryRecursively()
|
/external/angle/third_party/zlib/google/ |
D | zip.cc | 60 if (base::DirectoryExists(absolute_path)) { in Open() 239 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback() 257 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
|
/external/tensorflow/tensorflow/tools/android/inference_interface/ |
D | asset_manager_filesystem.cc | 210 if (DirectoryExists(fname)) { in GetFileSize() 228 stat->is_directory = DirectoryExists(fname); in Stat() 244 bool AssetManagerFileSystem::DirectoryExists(const std::string& fname) { in DirectoryExists() function in tensorflow::AssetManagerFileSystem
|
/external/libbrillo/brillo/ |
D | file_utils_test.cc | 111 EXPECT_FALSE(base::DirectoryExists(file_path_)); in TEST_F() 196 EXPECT_TRUE(base::DirectoryExists(temp_dir_.GetPath().Append("a"))); in TEST_F() 197 EXPECT_TRUE(base::DirectoryExists(temp_dir_.GetPath().Append("a/b"))); in TEST_F() 198 EXPECT_TRUE(base::DirectoryExists(temp_dir_.GetPath().Append("a/b/c"))); in TEST_F() 226 EXPECT_TRUE(base::DirectoryExists(temp_dir_.GetPath().Append("a/b/c/d"))); in TEST_F()
|
/external/libchrome/base/test/ |
D | generate_fontconfig_caches.cc | 19 CHECK(base::DirectoryExists(fontconfig_caches)); in main()
|
/external/libtextclassifier/native/lang_id/common/file/ |
D | file-utils.cc | 55 bool DirectoryExists(const std::string &dirpath) { in DirectoryExists() function
|
D | file-utils.h | 77 bool DirectoryExists(const std::string &dirpath);
|
/external/libchrome/base/metrics/ |
D | persistent_histogram_storage_unittest.cc | 73 EXPECT_TRUE(DirectoryExists(test_storage_dir())); in TEST_F()
|