/external/libchrome/base/files/ |
D | file_util_unittest.cc | 378 ASSERT_FALSE(PathExists(file_a_path)); in TEST_F() 383 ASSERT_TRUE(PathExists(file_a_path)); in TEST_F() 387 ASSERT_TRUE(PathExists(file_b_path)); in TEST_F() 615 EXPECT_TRUE(PathExists(temp_file)); in TEST_F() 632 EXPECT_TRUE(PathExists(temp_file)); in TEST_F() 722 ASSERT_TRUE(PathExists(file_name)); in TEST_F() 733 EXPECT_FALSE(PathExists(file_link)); in TEST_F() 734 EXPECT_TRUE(PathExists(file_name)); in TEST_F() 741 EXPECT_FALSE(PathExists(non_existent)); in TEST_F() 750 EXPECT_FALSE(PathExists(file_link)); in TEST_F() [all …]
|
D | important_file_writer_unittest.cc | 135 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() 141 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 147 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() 157 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 168 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 178 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 187 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() 197 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() 228 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 248 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() [all …]
|
D | file_util.cc | 270 if (!PathExists(path) && in GetUniquePathNumber() 271 (!have_suffix || !PathExists(FilePath(path.value() + suffix)))) { in GetUniquePathNumber() 278 if (!PathExists(new_path) && in GetUniquePathNumber() 279 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) { in GetUniquePathNumber()
|
D | file_unittest.cc | 107 EXPECT_FALSE(base::PathExists(file_path)); in TEST() 162 EXPECT_FALSE(base::PathExists(file_path)); in TEST() 540 ASSERT_FALSE(base::PathExists(file_path)); 606 ASSERT_TRUE(base::PathExists(file_path)); 622 ASSERT_FALSE(base::PathExists(file_path)); 639 ASSERT_TRUE(base::PathExists(file_path)); 661 ASSERT_FALSE(base::PathExists(file_path)); 685 ASSERT_TRUE(base::PathExists(file_path)); 687 ASSERT_FALSE(base::PathExists(file_path)); 702 ASSERT_TRUE(base::PathExists(file_path)); [all …]
|
D | file_proxy_unittest.cc | 117 EXPECT_TRUE(PathExists(TestPath())); in TEST_F() 123 ASSERT_TRUE(PathExists(TestPath())); in TEST_F() 146 EXPECT_FALSE(PathExists(TestPath())); in TEST_F() 160 EXPECT_TRUE(PathExists(TestPath())); in TEST_F() 192 EXPECT_TRUE(PathExists(path_)); in TEST_F()
|
/external/libchrome/base/ |
D | path_service_unittest.cc | 60 return result && !path.empty() && (!check_path_exists || PathExists(path)); in ReturnsValidPath() 138 EXPECT_TRUE(PathExists(fake_cache_dir)); in TEST_F() 146 EXPECT_FALSE(PathExists(fake_cache_dir2)); in TEST_F() 151 EXPECT_TRUE(PathExists(fake_cache_dir2)); in TEST_F() 157 EXPECT_FALSE(PathExists(non_existent)); in TEST_F() 174 EXPECT_FALSE(PathExists(non_existent)); in TEST_F() 188 EXPECT_TRUE(PathExists(fake_cache_dir1)); in TEST_F() 193 EXPECT_TRUE(PathExists(fake_cache_dir2)); in TEST_F() 200 EXPECT_TRUE(PathExists(result.AppendASCII("t1"))); in TEST_F() 202 EXPECT_TRUE(PathExists(result.AppendASCII("t2"))); in TEST_F()
|
D | base_paths.cc | 41 if (!PathExists(test_data_path)) // We don't want to create this. in PathProvider()
|
/external/perfetto/src/base/ |
D | temp_file_unittest.cc | 33 bool PathExists(const std::string& path) { in PathExists() function 47 ASSERT_TRUE(PathExists(path)); in TEST() 66 ASSERT_FALSE(PathExists(path)); in TEST() 109 ASSERT_FALSE(PathExists(path)); in TEST() 120 ASSERT_TRUE(PathExists(td.path())); in TEST() 123 ASSERT_FALSE(PathExists(path)); in TEST()
|
/external/libchrome/base/android/ |
D | path_utils_unittest.cc | 58 base::PathExists(path.Append("libbase_unittests.so")) || in TEST_F() 59 base::PathExists(path.Append("libbase_unittests.cr.so")) || in TEST_F() 60 base::PathExists(path.Append("lib_base_unittests__library.so")) || in TEST_F() 61 base::PathExists(path.Append("lib_base_unittests__library.cr.so"))); in TEST_F()
|
D | content_uri_utils_unittest.cc | 21 ASSERT_TRUE(PathExists(data_dir)); in TEST() 28 EXPECT_TRUE(PathExists(path)); in TEST()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | flag_changer_devicetest.py | 59 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy)) 65 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy)) 76 self.assertFalse(self.device.PathExists(self.cmdline_path)) 80 self.assertTrue(self.device.PathExists(self.cmdline_path)) 82 self.assertFalse(self.device.PathExists(self.cmdline_path))
|
D | flag_changer_test.py | 25 def PathExists(self, filepath): member in _FakeDevice 48 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy)) 54 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy)) 58 self.assertTrue(self.device.PathExists(self.cmdline_path)) 65 self.assertFalse(self.device.PathExists(self.cmdline_path))
|
D | flag_changer.py | 79 if self._device.PathExists(alternate_cmdline_path): 95 if self._device.PathExists(self._cmdline_path):
|
D | install_commands.py | 29 return device.PathExists(paths)
|
/external/zlib/google/ |
D | zip_unittest.cc | 189 ASSERT_TRUE(base::PathExists(path)) << "no file " << path.value(); in TestUnzipFile() 205 if (base::PathExists(unzipped_entry_path) && in TestUnzipFile() 325 ASSERT_FALSE(base::PathExists(evil_file)); in TEST_F() 340 ASSERT_FALSE(base::PathExists(evil_file)); in TEST_F() 359 ASSERT_TRUE(base::PathExists(test_dir_.AppendASCII("foo.txt"))); in TEST_F() 403 ASSERT_TRUE(base::PathExists(dir.AppendASCII("foo.txt"))); in TEST_F() 404 ASSERT_TRUE(base::PathExists(dir_foo)); in TEST_F() 405 ASSERT_TRUE(base::PathExists(dir_foo.AppendASCII("bar.txt"))); in TEST_F() 406 ASSERT_TRUE(base::PathExists(dir_foo_bar)); in TEST_F() 407 ASSERT_TRUE(base::PathExists(dir_foo_bar.AppendASCII(".hidden"))); in TEST_F() [all …]
|
/external/webrtc/tools_webrtc/vim/ |
D | webrtc.ycm_extra_conf.py | 78 def PathExists(*args): function 95 and PathExists(curdir, 'DEPS') 96 and (PathExists(curdir, '..', '.gclient') 97 or PathExists(curdir, '.git'))):
|
/external/angle/third_party/zlib/google/ |
D | zip_unittest.cc | 215 ASSERT_TRUE(base::PathExists(path)) << "no file " << path.value(); in TestUnzipFile() 232 if (base::PathExists(unzipped_entry_path) && in TestUnzipFile() 356 ASSERT_FALSE(base::PathExists(evil_file)); in TEST_F() 371 ASSERT_FALSE(base::PathExists(evil_file)); in TEST_F() 390 ASSERT_TRUE(base::PathExists(test_dir_.AppendASCII("foo.txt"))); in TEST_F() 434 ASSERT_TRUE(base::PathExists(dir.AppendASCII("foo.txt"))); in TEST_F() 435 ASSERT_TRUE(base::PathExists(dir_foo)); in TEST_F() 436 ASSERT_TRUE(base::PathExists(dir_foo.AppendASCII("bar.txt"))); in TEST_F() 437 ASSERT_TRUE(base::PathExists(dir_foo_bar)); in TEST_F() 438 ASSERT_TRUE(base::PathExists(dir_foo_bar.AppendASCII(".hidden"))); in TEST_F() [all …]
|
/external/libchrome/base/json/ |
D | json_value_serializer_unittest.cc | 410 ASSERT_TRUE(PathExists(original_file_path)); in TEST_F() 438 ASSERT_FALSE(PathExists(written_file_path)); in TEST_F() 441 ASSERT_TRUE(PathExists(written_file_path)); in TEST_F() 454 ASSERT_TRUE(PathExists(original_file_path)); in TEST_F() 464 ASSERT_FALSE(PathExists(written_file_path)); in TEST_F() 467 ASSERT_TRUE(PathExists(written_file_path)); in TEST_F() 479 ASSERT_TRUE(PathExists(source_file_path)); in TEST_F()
|
/external/libchrome/base/process/ |
D | memory_linux.cc | 78 if (PathExists(oom_file)) { in AdjustOOMScore() 89 if (PathExists(oom_file)) { in AdjustOOMScore()
|
/external/libcups/scheduler/ |
D | org.cups.cupsd.path.in | 6 PathExists=@CUPS_CACHEDIR@/org.cups.cupsd key
|
/external/libjpeg-turbo/gtest/ |
D | tjbench-gtest-wrapper.cpp | 68 ASSERT_TRUE(base::PathExists(resource_path)); in SetUpTestSuite() 138 ASSERT_TRUE(base::PathExists(resource_path)); in SetUpTestSuite()
|
D | gtest-utils.cpp | 48 ASSERT_TRUE(base::PathExists(*path)); in GetTestFilePath()
|
/external/libbrillo/policy/ |
D | policy_util.cc | 18 if (!base::PathExists(policy_path)) { in LoadPolicyFromPath()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 791 ASSERT_FALSE(PathExists(file_path)); in TEST() 801 ASSERT_TRUE(PathExists(file_path)); in TEST() 854 ASSERT_FALSE(PathExists(file_path)); in TEST() 860 ASSERT_TRUE(PathExists(file_path)); in TEST() 905 ASSERT_FALSE(PathExists(file_path)); in TEST() 911 ASSERT_TRUE(PathExists(file_path)); in TEST() 942 ASSERT_FALSE(PathExists(file_path)); in TEST_F() 957 ASSERT_TRUE(PathExists(file_path)); in TEST_F()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/ |
D | hadoop_filesystem_test.cc | 179 TEST_F(HadoopFileSystemTest, PathExists) { in TEST_F() argument 181 tf_hadoop_filesystem::PathExists(filesystem_, path.c_str(), status_); in TEST_F() 186 tf_hadoop_filesystem::PathExists(filesystem_, path.c_str(), status_); in TEST_F() 283 tf_hadoop_filesystem::PathExists(filesystem_, dst.c_str(), status_); in TEST_F()
|