Home
last modified time | relevance | path

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

12345

/external/cronet/base/files/
Dscoped_temp_dir_unittest.cc25 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
31 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
37 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
43 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
50 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
61 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
75 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
89 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
93 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
115 EXPECT_TRUE(DirectoryExists(dir_path)); in TEST()
[all …]
Dscoped_temp_dir.cc67 if (!DirectoryExists(path) && !CreateDirectory(path)) in Set()
97 return !path_.empty() && DirectoryExists(path_); in IsValid()
/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/icing/icing/file/
Ddestructible-directory_test.cc52 EXPECT_FALSE(filesystem.DirectoryExists(dir_path.c_str())); in TEST()
63 ASSERT_TRUE(filesystem.DirectoryExists(filepath1.c_str())); in TEST()
76 EXPECT_FALSE(filesystem.DirectoryExists(filepath1.c_str())); in TEST()
80 EXPECT_TRUE(filesystem.DirectoryExists(filepath2.c_str())); in TEST()
102 EXPECT_TRUE(filesystem.DirectoryExists(filepath1.c_str())); in TEST()
112 EXPECT_FALSE(filesystem.DirectoryExists(filepath1.c_str())); in TEST()
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()
/external/cronet/third_party/googletest/src/googletest/test/
Dgoogletest-filepath-test.cc364 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
366 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
381 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
391 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
399 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
400 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
404 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
405 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/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/cronet/third_party/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/pdfium/testing/utils/
Dpath_service.cpp48 bool PathService::DirectoryExists(const std::string& path) { in DirectoryExists() function in PathService
138 if (PathService::DirectoryExists(potential_path)) { in GetTestDataDir()
151 if (PathService::DirectoryExists(potential_path)) { in GetTestDataDir()
185 if (PathService::DirectoryExists(bigint)) { in GetThirdPartyFilePath()
198 if (PathService::DirectoryExists(potential_path)) { in GetThirdPartyFilePath()
/external/cronet/base/process/
Dprocess_unittest.cc487 EXPECT_FALSE(base::DirectoryExists(FilePath(cgroup))); in TEST_F()
517 EXPECT_TRUE(base::DirectoryExists(FilePath(cgroup))); in TEST_F()
528 EXPECT_FALSE(base::DirectoryExists(FilePath(cgroup))); in TEST_F()
577 EXPECT_FALSE(base::DirectoryExists(FilePath(fake_cgroup))); in TEST_F()
580 EXPECT_TRUE(base::DirectoryExists(FilePath(cgroup))); in TEST_F()
583 EXPECT_TRUE(base::DirectoryExists(FilePath(root + "/foreground"))); in TEST_F()
584 EXPECT_TRUE(base::DirectoryExists(FilePath(root + "/background"))); in TEST_F()
590 EXPECT_FALSE(base::DirectoryExists(FilePath(cgroup))); in TEST_F()
620 EXPECT_TRUE(base::DirectoryExists(fake_cgroup)); in TEST_F()
621 EXPECT_TRUE(base::DirectoryExists(cgroup_path)); in TEST_F()
[all …]
/external/cronet/testing/data_driven_testing/
Ddata_driven_test.cc57 ASSERT_TRUE(base::DirectoryExists(input_directory)); in RunDataDrivenTest()
58 ASSERT_TRUE(base::DirectoryExists(output_directory)); in RunDataDrivenTest()
78 ASSERT_TRUE(base::DirectoryExists(output_directory)); in RunOneDataDrivenTest()
/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/libaom/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc220 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
306 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
334 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/cronet/third_party/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()
334 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/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()
334 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/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc220 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
306 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
334 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/cronet/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc220 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
306 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
334 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/icing/icing/legacy/index/
Dicing-mock-filesystem.h53 ON_CALL(*this, DirectoryExists).WillByDefault([this](const char *dir_name) { in IcingMockFilesystem()
54 return real_icing_filesystem_.DirectoryExists(dir_name); in IcingMockFilesystem()
176 MOCK_METHOD(bool, DirectoryExists, (const char *dir_name), (const, override));
/external/zlib/google/
Dzip.cc61 if (base::DirectoryExists(absolute_path)) { in Open()
249 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
267 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
/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/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

12345