Home
last modified time | relevance | path

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

123

/external/libchrome/base/files/
Dscoped_temp_dir_unittest.cc21 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()
Dscoped_temp_dir.cc57 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set()
89 return !path_.empty() && DirectoryExists(path_); in IsValid()
/external/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 …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/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 …]
/external/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::__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/
Dpath_service.cpp41 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()
Dpath_service.h20 static bool DirectoryExists(const std::string& path);
/external/icing/icing/file/
Dfilesystem_test.cc156 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()
Dmock-filesystem.h62 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/
Dgtest-filepath.cc223 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/
Dgtest-filepath.cc221 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/
Dgtest-filepath.cc217 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/
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()
/external/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()
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc214 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/
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()
/external/icing/icing/legacy/index/
Dicing-mock-filesystem.h54 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));
Dicing-filesystem.cc257 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/
Dzip.cc60 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/
Dasset_manager_filesystem.cc210 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/
Dfile_utils_test.cc111 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/
Dgenerate_fontconfig_caches.cc19 CHECK(base::DirectoryExists(fontconfig_caches)); in main()
/external/libtextclassifier/native/lang_id/common/file/
Dfile-utils.cc55 bool DirectoryExists(const std::string &dirpath) { in DirectoryExists() function
Dfile-utils.h77 bool DirectoryExists(const std::string &dirpath);
/external/libchrome/base/metrics/
Dpersistent_histogram_storage_unittest.cc73 EXPECT_TRUE(DirectoryExists(test_storage_dir())); in TEST_F()

123