Home
last modified time | relevance | path

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

12

/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()
Dfile_util_posix.cc225 if (recursive && DirectoryExists(to_path)) { in DoCopyDirectory()
474 bool DirectoryExists(const FilePath& path) { in DirectoryExists() function
718 if (DirectoryExists(*i)) in CreateDirectoryAndGetError()
727 if (!DirectoryExists(*i)) { in CreateDirectoryAndGetError()
743 if (DirectoryExists(real_path_result)) in NormalizeFilePath()
/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/google-breakpad/src/testing/gtest/test/
Dgtest-filepath_test.cc389 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
391 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
406 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
416 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
424 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
425 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
429 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
430 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
567 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
569 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/google-breakpad/src/testing/gtest/src/
Dgtest-filepath.cc216 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/googletest/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.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/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-filepath.cc216 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/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.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/tensorflow/tensorflow/contrib/android/
Dasset_manager_filesystem.cc205 if (DirectoryExists(fname)) { in GetFileSize()
221 stat->is_directory = DirectoryExists(fname); in Stat()
237 bool AssetManagerFileSystem::DirectoryExists(const std::string& fname) { in DirectoryExists() function in tensorflow::AssetManagerFileSystem
/external/libchrome/base/test/
Dgenerate_fontconfig_caches.cc19 CHECK(base::DirectoryExists(fontconfig_caches)); in main()
/external/libtextclassifier/lang_id/common/file/
Dfile-utils.cc53 bool DirectoryExists(const string &dirpath) { in DirectoryExists() function
Dfile-utils.h76 bool DirectoryExists(const string &dirpath);
/external/libchrome/base/metrics/
Dpersistent_histogram_storage_unittest.cc73 EXPECT_TRUE(DirectoryExists(test_storage_dir())); in TEST_F()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-filepath.h158 bool DirectoryExists() const;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h158 bool DirectoryExists() const;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h158 bool DirectoryExists() const;
/external/libbrillo/brillo/
Dfile_utils.cc197 if (!base::DirectoryExists(path.DirName())) { in WriteToFile()
255 if (!base::DirectoryExists(path.DirName())) { in WriteToFileAtomic()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;
/external/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h161 bool DirectoryExists() const;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;

12