Home
last modified time | relevance | path

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

12

/external/chromium/base/memory/
Dscoped_temp_dir_unittest.cc16 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
22 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
28 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
34 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
41 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
52 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
57 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
71 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
75 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
Dscoped_temp_dir.cc53 if (!file_util::DirectoryExists(path) && in Set()
83 return !path_.empty() && file_util::DirectoryExists(path_); in IsValid()
/external/protobuf/gtest/test/
Dgtest-filepath_test.cc321 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
323 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
338 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
348 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
355 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
356 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
359 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
360 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
481 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
483 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium/chrome/common/extensions/
Dextension_file_util_unittest.cc40 ASSERT_TRUE(file_util::DirectoryExists(version_1)); in TEST()
43 ASSERT_FALSE(file_util::DirectoryExists(src)); in TEST()
54 ASSERT_TRUE(file_util::DirectoryExists(version_2)); in TEST()
62 ASSERT_FALSE(file_util::DirectoryExists(version_1)); in TEST()
63 ASSERT_TRUE(file_util::DirectoryExists(version_2)); in TEST()
67 ASSERT_FALSE(file_util::DirectoryExists(version_2.DirName())); in TEST()
68 ASSERT_TRUE(file_util::DirectoryExists(all_extensions)); in TEST()
/external/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()
571 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
573 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium/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/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-filepath.cc125 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
176 if (pathname_.GetLength() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
195 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/chromium/chrome/browser/google/
Dgoogle_update_settings_posix.cc35 if (!file_util::DirectoryExists(consent_dir)) in SetCollectStatsConsent()
58 if (!file_util::DirectoryExists(consent_dir) || in SetMetricsId()
/external/protobuf/gtest/src/
Dgtest-filepath.cc185 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
274 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
299 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/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/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/chromium/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/chromium/base/
Dfile_util_proxy.cc27 if (!file_util::DirectoryExists(dest_file_path.DirName())) in PerformCommonCheckAndPreparationForMoveAndCopy()
40 bool src_is_directory = file_util::DirectoryExists(src_file_path); in PerformCommonCheckAndPreparationForMoveAndCopy()
41 bool dest_is_directory = file_util::DirectoryExists(dest_file_path); in PerformCommonCheckAndPreparationForMoveAndCopy()
140 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
268 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
409 if (path_exists && !file_util::DirectoryExists(file_path_)) { in RunWork()
434 if (!file_util::DirectoryExists(file_path_)) { in RunWork()
Dmime_util_xdg.cc173 if (!file_util::DirectoryExists(theme_path)) in IconTheme()
394 if (!file_util::DirectoryExists(dir)) in TryAddIconDir()
401 if (!file_util::DirectoryExists(dir)) in AddXDGDataDir()
414 if (file_util::DirectoryExists(legacy_data_dir)) in InitIconDir()
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
Dgtest-filepath.h139 bool DirectoryExists() const;
/external/chromium/chrome/browser/
Dplatform_util_linux.cc61 if (!file_util::DirectoryExists(dir)) in ShowItemInFolder()
Dplatform_util_chromeos.cc41 if (!file_util::DirectoryExists(dir)) in ShowItemInFolder()
/external/gtest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;
/external/protobuf/gtest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;
/external/chromium/net/tools/testserver/
Drun_testserver.cc66 if (!file_util::DirectoryExists(test_server.document_root())) { in main()
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-filepath.h162 bool DirectoryExists() const;
/external/chromium/chrome/common/
Dzip.cc239 bool is_directory = file_util::DirectoryExists(path); in AddEntryToZip()
267 DCHECK(file_util::DirectoryExists(src_dir)); in Zip()
Dauto_start_linux.cc35 if (!file_util::DirectoryExists(autostart_directory) && in AddApplication()
/external/chromium/net/test/
Dpython_utils.cc50 while (!file_util::DirectoryExists(dir.Append(to_try))) { in TryRelativeToDir()

12