/external/chromium_org/chrome/installer/util/ |
D | self_cleaning_temp_dir_unittest.cc | 77 EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); in TEST_F() 79 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); in TEST_F() 80 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir)); in TEST_F() 81 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName())); in TEST_F() 82 EXPECT_TRUE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); in TEST_F() 84 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); in TEST_F() 104 EXPECT_TRUE(base::DirectoryExists(temp_dir1.path())); in TEST_F() 105 EXPECT_TRUE(base::DirectoryExists(temp_dir2.path())); in TEST_F() 109 EXPECT_FALSE(base::DirectoryExists(temp_dir1.path())); in TEST_F() 111 EXPECT_TRUE(base::DirectoryExists(parent_temp_dir)); in TEST_F() [all …]
|
D | copy_tree_work_item.cc | 41 (!base::DirectoryExists(source_path_)) && in Do() 42 (!base::DirectoryExists(dest_path_)) && in Do() 50 (!base::DirectoryExists(source_path_)) && in Do() 51 (!base::DirectoryExists(dest_path_)) && in Do()
|
/external/chromium/base/memory/ |
D | scoped_temp_dir_unittest.cc | 16 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()
|
D | scoped_temp_dir.cc | 53 if (!file_util::DirectoryExists(path) && in Set() 83 return !path_.empty() && file_util::DirectoryExists(path_); in IsValid()
|
/external/chromium_org/base/files/ |
D | scoped_temp_dir_unittest.cc | 20 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 26 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 32 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 38 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 45 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 56 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 61 EXPECT_FALSE(DirectoryExists(test_path)); in TEST() 75 EXPECT_TRUE(DirectoryExists(test_path)); in TEST() 79 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
|
D | scoped_temp_dir.cc | 53 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set() 80 return !path_.empty() && DirectoryExists(path_); in IsValid()
|
/external/chromium_org/content/browser/fileapi/ |
D | local_file_util_unittest.cc | 79 !base::DirectoryExists(LocalPath(file_name)); in FileExists() 82 bool DirectoryExists(const char *file_name) { in DirectoryExists() function in fileapi::LocalFileUtilTest 83 return base::DirectoryExists(LocalPath(file_name)); in DirectoryExists() 308 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F() 311 EXPECT_FALSE(DirectoryExists(to_dir)); in TEST_F() 318 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F() 321 EXPECT_TRUE(DirectoryExists(to_dir)); in TEST_F() 371 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F() 374 EXPECT_FALSE(DirectoryExists(to_dir)); in TEST_F() 382 EXPECT_FALSE(DirectoryExists(from_dir)); in TEST_F() [all …]
|
D | file_system_operation_impl_unittest.cc | 137 bool DirectoryExists(const std::string& path) { in DirectoryExists() function in fileapi::FileSystemOperationImplTest 138 return AsyncFileTestHelper::DirectoryExists( in DirectoryExists() 414 EXPECT_FALSE(DirectoryExists("src")); in TEST_F() 421 EXPECT_TRUE(DirectoryExists("dest")); in TEST_F() 422 EXPECT_FALSE(DirectoryExists("dest/src")); in TEST_F() 434 EXPECT_FALSE(DirectoryExists("src")); in TEST_F() 435 EXPECT_TRUE(DirectoryExists("dest/new")); in TEST_F() 454 EXPECT_TRUE(DirectoryExists("dest/dir")); in TEST_F() 613 EXPECT_TRUE(DirectoryExists("dest")); in TEST_F() 614 EXPECT_FALSE(DirectoryExists("dest/src")); in TEST_F() [all …]
|
D | copy_or_move_operation_delegate_unittest.cc | 361 bool DirectoryExists(const FileSystemURL& url) { in DirectoryExists() function in fileapi::CopyOrMoveOperationTestHelper 362 return AsyncFileTestHelper::DirectoryExists(file_system_context_.get(), in DirectoryExists() 465 ASSERT_TRUE(helper.DirectoryExists(src)); in TEST() 466 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST() 494 ASSERT_FALSE(helper.DirectoryExists(src)); in TEST() 495 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST() 530 ASSERT_TRUE(helper.DirectoryExists(src)); in TEST() 531 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST() 567 ASSERT_FALSE(helper.DirectoryExists(src)); in TEST() 568 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST() [all …]
|
/external/chromium_org/webkit/browser/fileapi/ |
D | native_file_util.cc | 129 if (!base::DirectoryExists(path.DirName())) { in CreateOrOpen() 133 if (base::DirectoryExists(path)) in CreateOrOpen() 150 if (!base::DirectoryExists(path.DirName())) in EnsureFileExists() 184 if (path_exists && !base::DirectoryExists(path)) in CreateDirectory() 251 bool NativeFileUtil::DirectoryExists(const base::FilePath& path) { in DirectoryExists() function in fileapi::NativeFileUtil 252 return base::DirectoryExists(path); in DirectoryExists() 308 if (base::DirectoryExists(path)) in DeleteFile() 318 if (!base::DirectoryExists(path)) in DeleteDirectory()
|
D | native_file_util_unittest.cc | 35 !base::DirectoryExists(path); in FileExists() 103 EXPECT_TRUE(NativeFileUtil::DirectoryExists(dir_name)); in TEST_F() 104 EXPECT_TRUE(base::DirectoryExists(dir_name)); in TEST_F() 113 EXPECT_FALSE(base::DirectoryExists(dir_name)); in TEST_F() 114 EXPECT_FALSE(NativeFileUtil::DirectoryExists(dir_name)); in TEST_F() 249 ASSERT_TRUE(base::DirectoryExists(dir)); in TEST_F() 315 ASSERT_TRUE(base::DirectoryExists(dir)); in TEST_F()
|
/external/protobuf/gtest/test/ |
D | gtest-filepath_test.cc | 321 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/ |
D | extension_file_util_unittest.cc | 40 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/chromium_org/testing/gtest/test/ |
D | gtest-filepath_test.cc | 376 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST() 378 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST() 393 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST() 403 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST() 411 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST() 412 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST() 416 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST() 417 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST() 551 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.string(); in TEST_F() 553 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F() [all …]
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_unittest.cc | 81 EXPECT_TRUE(base::DirectoryExists(normal_path)); in TEST_F() 82 EXPECT_FALSE(base::DirectoryExists(session_only_path)); in TEST_F() 115 EXPECT_TRUE(base::DirectoryExists(normal_path)); in TEST_F() 116 EXPECT_TRUE(base::DirectoryExists(session_only_path)); in TEST_F() 198 EXPECT_FALSE(base::DirectoryExists(test_path)); in TEST_F() 223 EXPECT_TRUE(base::DirectoryExists(test_path)); in TEST_F()
|
/external/gtest/test/ |
D | gtest-filepath_test.cc | 389 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/ |
D | gtest-filepath_test.cc | 389 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_org/chrome/common/extensions/ |
D | extension_file_util_unittest.cc | 54 ASSERT_TRUE(base::DirectoryExists(version_1)); in TEST_F() 57 ASSERT_FALSE(base::DirectoryExists(src)); in TEST_F() 69 ASSERT_TRUE(base::DirectoryExists(version_2)); in TEST_F() 72 ASSERT_FALSE(base::DirectoryExists(src)); in TEST_F() 84 ASSERT_TRUE(base::DirectoryExists(version_3)); in TEST_F() 94 ASSERT_FALSE(base::DirectoryExists(version_1)); in TEST_F() 95 ASSERT_TRUE(base::DirectoryExists(version_2)); in TEST_F() 96 ASSERT_TRUE(base::DirectoryExists(version_3)); in TEST_F() 100 ASSERT_FALSE(base::DirectoryExists(version_2.DirName())); in TEST_F() 101 ASSERT_FALSE(base::DirectoryExists(version_3.DirName())); in TEST_F() [all …]
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-filepath.cc | 125 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_org/chrome/common/mac/ |
D | app_mode_chrome_locator_unittest.mm | 34 EXPECT_TRUE(base::DirectoryExists(finder_bundle_path)); 58 ASSERT_TRUE(base::DirectoryExists(chrome_bundle_path)); 66 EXPECT_TRUE(base::DirectoryExists(version_path));
|
/external/chromium/chrome/browser/google/ |
D | google_update_settings_posix.cc | 35 if (!file_util::DirectoryExists(consent_dir)) in SetCollectStatsConsent() 58 if (!file_util::DirectoryExists(consent_dir) || in SetMetricsId()
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | zip.cc | 60 bool is_directory = base::DirectoryExists(path); in AddEntryToZip() 130 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback() 178 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
|
/external/chromium_org/chrome/browser/google/ |
D | google_update_settings_posix.cc | 41 if (!base::DirectoryExists(consent_dir)) in SetCollectStatsConsent() 71 if (!base::DirectoryExists(consent_dir) || in SetMetricsId()
|
/external/chromium_org/third_party/zlib/google/ |
D | zip.cc | 62 bool is_directory = base::DirectoryExists(path); in AddEntryToZip() 150 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback() 198 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
|
/external/chromium_org/components/autofill/core/browser/ |
D | data_driven_test.cc | 38 ASSERT_TRUE(base::DirectoryExists(input_directory)); in RunDataDrivenTest() 39 ASSERT_TRUE(base::DirectoryExists(output_directory)); in RunDataDrivenTest()
|