/external/chromium/net/disk_cache/ |
D | cache_util_unittest.cc | 50 EXPECT_TRUE(file_util::PathExists(dest_dir_)); in TEST_F() 51 EXPECT_TRUE(file_util::PathExists(dest_file1_)); in TEST_F() 52 EXPECT_TRUE(file_util::PathExists(dest_file2_)); in TEST_F() 53 EXPECT_TRUE(file_util::PathExists(dest_dir1_)); in TEST_F() 55 EXPECT_TRUE(file_util::PathExists(cache_dir_)); // old cache dir stays in TEST_F() 57 EXPECT_FALSE(file_util::PathExists(cache_dir_)); // old cache is gone in TEST_F() 59 EXPECT_FALSE(file_util::PathExists(file1_)); in TEST_F() 60 EXPECT_FALSE(file_util::PathExists(file2_)); in TEST_F() 61 EXPECT_FALSE(file_util::PathExists(dir1_)); in TEST_F() 69 EXPECT_TRUE(file_util::PathExists(cache_dir_)); // cache dir stays in TEST_F() [all …]
|
/external/chromium/base/ |
D | file_util_unittest.cc | 398 ASSERT_FALSE(file_util::PathExists(file_a_path)); in TEST_F() 404 ASSERT_TRUE(file_util::PathExists(file_a_path)); in TEST_F() 409 ASSERT_TRUE(file_util::PathExists(file_b_path)); in TEST_F() 647 ASSERT_FALSE(file_util::PathExists(non_existent)); in TEST_F() 650 ASSERT_FALSE(file_util::PathExists(non_existent)); in TEST_F() 652 ASSERT_FALSE(file_util::PathExists(non_existent)); in TEST_F() 659 ASSERT_TRUE(file_util::PathExists(file_name)); in TEST_F() 663 EXPECT_FALSE(file_util::PathExists(file_name)); in TEST_F() 668 ASSERT_TRUE(file_util::PathExists(file_name)); in TEST_F() 672 EXPECT_FALSE(file_util::PathExists(file_name)); in TEST_F() [all …]
|
D | base_paths_linux.cc | 70 if (file_util::PathExists(path.Append(kThisSourceFile))) { in PathProviderPosix() 82 if (file_util::PathExists(path.Append(kThisSourceFile))) { in PathProviderPosix() 92 if (file_util::PathExists(path.Append(kThisSourceFile))) { in PathProviderPosix() 100 file_util::PathExists(path.Append(kThisSourceFile))) { in PathProviderPosix()
|
/external/chromium/chrome/browser/download/ |
D | base_file_unittest.cc | 51 EXPECT_EQ(expect_file_survives_, file_util::PathExists(full_path)); in TearDown() 93 EXPECT_TRUE(file_util::PathExists(base_file_->full_path())); in TEST_F() 95 EXPECT_FALSE(file_util::PathExists(base_file_->full_path())); in TEST_F() 129 EXPECT_TRUE(file_util::PathExists(initial_path)); in TEST_F() 131 EXPECT_FALSE(file_util::PathExists(new_path)); in TEST_F() 136 EXPECT_FALSE(file_util::PathExists(initial_path)); in TEST_F() 137 EXPECT_TRUE(file_util::PathExists(new_path)); in TEST_F() 196 EXPECT_TRUE(file_util::PathExists(initial_path)); in TEST_F() 198 EXPECT_FALSE(file_util::PathExists(new_path)); in TEST_F() 203 EXPECT_FALSE(file_util::PathExists(initial_path)); in TEST_F() [all …]
|
D | download_file_unittest.cc | 133 EXPECT_TRUE(file_util::PathExists(initial_path)); in TEST_F() 145 EXPECT_FALSE(file_util::PathExists(initial_path)); in TEST_F() 146 EXPECT_TRUE(file_util::PathExists(path_1)); in TEST_F() 158 EXPECT_FALSE(file_util::PathExists(path_1)); in TEST_F() 159 EXPECT_TRUE(file_util::PathExists(path_2)); in TEST_F() 169 EXPECT_FALSE(file_util::PathExists(path_2)); in TEST_F() 170 EXPECT_TRUE(file_util::PathExists(path_3)); in TEST_F() 184 EXPECT_FALSE(file_util::PathExists(path_3)); in TEST_F() 185 EXPECT_TRUE(file_util::PathExists(path_4)); in TEST_F()
|
D | save_page_browsertest.cc | 76 EXPECT_TRUE(file_util::PathExists(full_file_name)); in IN_PROC_BROWSER_TEST_F() 77 EXPECT_FALSE(file_util::PathExists(dir)); in IN_PROC_BROWSER_TEST_F() 105 EXPECT_TRUE(file_util::PathExists(full_file_name)); in IN_PROC_BROWSER_TEST_F() 106 EXPECT_FALSE(file_util::PathExists(dir)); in IN_PROC_BROWSER_TEST_F() 131 EXPECT_TRUE(file_util::PathExists(full_file_name)); in IN_PROC_BROWSER_TEST_F() 132 EXPECT_TRUE(file_util::PathExists(dir)); in IN_PROC_BROWSER_TEST_F() 173 EXPECT_TRUE(file_util::PathExists(full_file_name)); in IN_PROC_BROWSER_TEST_F() 174 EXPECT_TRUE(file_util::PathExists(dir)); in IN_PROC_BROWSER_TEST_F()
|
D | download_manager_unittest.cc | 515 EXPECT_FALSE(file_util::PathExists(new_path)); in TEST_F() 516 EXPECT_FALSE(file_util::PathExists(cr_path)); in TEST_F() 532 EXPECT_FALSE(file_util::PathExists(new_path)); in TEST_F() 538 EXPECT_TRUE(file_util::PathExists(new_path)); in TEST_F() 597 EXPECT_TRUE(file_util::PathExists(new_path)); in TEST_F() 598 EXPECT_FALSE(file_util::PathExists(cr_path)); in TEST_F() 599 EXPECT_FALSE(file_util::PathExists(unique_new_path)); in TEST_F()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_store_file_unittest.cc | 66 EXPECT_FALSE(file_util::PathExists(filename_)); in TEST_F() 67 EXPECT_FALSE(file_util::PathExists(temp_file)); in TEST_F() 71 EXPECT_TRUE(file_util::PathExists(temp_file)); in TEST_F() 77 EXPECT_FALSE(file_util::PathExists(filename_)); in TEST_F() 78 EXPECT_TRUE(file_util::PathExists(temp_file)); in TEST_F() 82 EXPECT_FALSE(file_util::PathExists(filename_)); in TEST_F() 83 EXPECT_FALSE(file_util::PathExists(temp_file)); in TEST_F()
|
D | safe_browsing_store_file.cc | 208 if (file_util::PathExists(original_filename)) { in CheckForOriginalAndDelete() 249 file_util::PathExists(filename_)) { in Delete() 256 file_util::PathExists(new_filename)) { in Delete() 266 if (file_util::PathExists(journal_filename)) in Delete() 406 if (file_util::PathExists(filename_)) in BeginUpdate() 653 file_util::PathExists(filename_)) in DoUpdate()
|
/external/chromium/chrome/common/extensions/ |
D | extension_file_util.cc | 52 if (!file_util::PathExists(extension_dir)) { in InstallExtension() 63 if (!file_util::PathExists(candidate)) { in InstallExtension() 95 if (!file_util::PathExists(manifest_path)) { in LoadExtension() 148 if (!file_util::PathExists(path)) { in ValidateExtension() 165 if (!file_util::PathExists(image_path)) { in ValidateExtension() 206 if (!file_util::PathExists(plugin.path)) { in ValidateExtension() 223 if (!file_util::PathExists(extension->GetResource(*iter).GetFilePath())) { in ValidateExtension() 239 !file_util::PathExists(extension->GetResource(path).GetFilePath())) { in ValidateExtension() 255 if (path.empty() || !file_util::PathExists(path)) { in ValidateExtension() 270 if (path.empty() || !file_util::PathExists(path)) { in ValidateExtension() [all …]
|
/external/chromium/chrome/browser/importer/ |
D | firefox_profile_lock_unittest.cc | 46 EXPECT_FALSE(file_util::PathExists(lock_file_path)); in TEST_F() 49 EXPECT_TRUE(file_util::PathExists(lock_file_path)); in TEST_F() 55 EXPECT_FALSE(file_util::PathExists(lock_file_path)); in TEST_F() 59 EXPECT_TRUE(file_util::PathExists(lock_file_path)); in TEST_F() 66 EXPECT_FALSE(file_util::PathExists(lock_file_path)); in TEST_F() 84 EXPECT_TRUE(file_util::PathExists(lock_file_path)); in TEST_F()
|
D | firefox_importer_utils_linux.cc | 17 if (file_util::PathExists(ini_file)) in GetProfilesINI()
|
/external/chromium/chrome/common/ |
D | important_file_writer_unittest.cc | 62 EXPECT_FALSE(file_util::PathExists(writer.path())); in TEST_F() 66 ASSERT_TRUE(file_util::PathExists(writer.path())); in TEST_F() 82 ASSERT_TRUE(file_util::PathExists(writer.path())); in TEST_F() 98 ASSERT_TRUE(file_util::PathExists(writer.path())); in TEST_F() 113 ASSERT_TRUE(file_util::PathExists(writer.path())); in TEST_F()
|
D | json_pref_store_unittest.cc | 31 ASSERT_TRUE(file_util::PathExists(data_dir_)); in SetUp() 46 ASSERT_FALSE(file_util::PathExists(bogus_input_file)); in TEST_F() 66 EXPECT_FALSE(file_util::PathExists(invalid_file)); in TEST_F() 68 EXPECT_TRUE(file_util::PathExists(moved_aside)); in TEST_F() 79 ASSERT_TRUE(file_util::PathExists(input_file)); in TEST_F() 157 ASSERT_TRUE(file_util::PathExists(golden_output_file)); in TEST_F()
|
D | chrome_paths.cc | 220 if (!file_util::PathExists(cur)) in PathProvider() 265 if (!file_util::PathExists(cur)) // we don't want to create this in PathProvider() 274 if (!file_util::PathExists(cur)) // we don't want to create this in PathProvider() 284 if (!file_util::PathExists(cur)) // we don't want to create this in PathProvider() 298 if (!file_util::PathExists(cur)) // we don't want to create this in PathProvider() 315 if (create_dir && !file_util::PathExists(cur) && in PathProvider()
|
D | json_value_serializer_unittest.cc | 256 ASSERT_TRUE(file_util::PathExists(original_file_path)); in TEST_F() 288 ASSERT_FALSE(file_util::PathExists(written_file_path)); in TEST_F() 291 ASSERT_TRUE(file_util::PathExists(written_file_path)); in TEST_F() 306 ASSERT_TRUE(file_util::PathExists(original_file_path)); in TEST_F() 317 ASSERT_FALSE(file_util::PathExists(written_file_path)); in TEST_F() 320 ASSERT_TRUE(file_util::PathExists(written_file_path)); in TEST_F() 333 ASSERT_TRUE(file_util::PathExists(source_file_path)); in TEST_F()
|
D | zip_unittest.cc | 52 ASSERT_TRUE(file_util::PathExists(path)) << "no file " << path.value(); in TestUnzipFile() 106 ASSERT_FALSE(file_util::PathExists(evil_file)); in TEST_F() 116 ASSERT_FALSE(file_util::PathExists(evil_file)); in TEST_F()
|
/external/chromium/chrome/browser/extensions/ |
D | convert_user_script_unittest.cc | 48 EXPECT_TRUE(file_util::PathExists( in TEST() 50 EXPECT_TRUE(file_util::PathExists( in TEST() 87 EXPECT_TRUE(file_util::PathExists( in TEST() 89 EXPECT_TRUE(file_util::PathExists( in TEST()
|
D | extension_creator.cc | 48 !file_util::PathExists(private_key_path)) { in InitializeInput() 58 file_util::PathExists(private_key_output_path)) { in InitializeInput() 79 if (!file_util::PathExists(private_key_path)) { in ReadInputKey() 192 if (file_util::PathExists(crx_path)) in WriteCRX()
|
D | sandboxed_extension_unpacker_unittest.cc | 78 ASSERT_TRUE(file_util::PathExists(original_path)) << original_path.value(); in SetupUnpacker() 171 EXPECT_FALSE(file_util::PathExists(install_path)); in TEST_F() 176 EXPECT_FALSE(file_util::PathExists(install_path)); in TEST_F()
|
D | extension_service_unittest.cc | 553 ASSERT_TRUE(file_util::PathExists(pem_path)); in PackAndInstallCrx() 564 ASSERT_TRUE(file_util::PathExists(crx_path)); in PackAndInstallCrx() 579 ASSERT_TRUE(file_util::PathExists(crx_path)) in StartCrxInstall() 596 ASSERT_TRUE(file_util::PathExists(crx_path)) in InstallCrxWithLocation() 649 ASSERT_TRUE(file_util::PathExists(in_path)); in UpdateExtension() 693 EXPECT_FALSE(file_util::PathExists(path)); in UpdateExtension() 904 ASSERT_TRUE(file_util::PathExists(private_key_path)); in OnPackSuccess() 1082 ASSERT_FALSE(file_util::PathExists(extension_dir)); in TEST_F() 1253 ASSERT_TRUE(file_util::PathExists(path)); in TEST_F() 1284 ASSERT_TRUE(file_util::PathExists(pem_path)); in TEST_F() [all …]
|
/external/chromium/chrome/browser/first_run/ |
D | first_run_unittest.cc | 20 EXPECT_TRUE(file_util::PathExists(sentinel_path_)); in TEST_F() 23 EXPECT_FALSE(file_util::PathExists(sentinel_path_)); in TEST_F()
|
D | upgrade_util_win.cc | 75 return file_util::PathExists(new_chrome_exe); in IsUpdatePendingRestart() 82 if (!file_util::PathExists(new_chrome_exe)) in SwapNewChromeExeIfPresent()
|
/external/chromium/chrome/browser/prefs/ |
D | pref_service_uitest.cc | 48 ASSERT_TRUE(file_util::PathExists(reference_pref_file)); in SetUp() 64 if (!file_util::PathExists(tmp_pref_file_)) in LaunchAppWithProfile() 94 ASSERT_TRUE(file_util::PathExists(tmp_pref_file_)); in TEST_F() 152 ASSERT_TRUE(file_util::PathExists(tmp_pref_file_)); in TEST_F()
|
/external/chromium/chrome/browser/google/ |
D | google_update_settings_posix.cc | 40 if ((!file_util::PathExists(consent_file)) || in SetCollectStatsConsent() 41 (file_util::PathExists(consent_file) && in SetCollectStatsConsent()
|