Home
last modified time | relevance | path

Searched refs:PathExists (Results 1 – 25 of 66) sorted by relevance

123

/external/libchrome/base/files/
Dfile_util_unittest.cc378 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 …]
Dimportant_file_writer_unittest.cc135 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 …]
Dfile_util.cc270 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()
Dfile_unittest.cc107 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 …]
Dfile_proxy_unittest.cc117 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/
Dpath_service_unittest.cc60 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()
Dbase_paths.cc41 if (!PathExists(test_data_path)) // We don't want to create this. in PathProvider()
/external/perfetto/src/base/
Dtemp_file_unittest.cc33 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/
Dpath_utils_unittest.cc58 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()
Dcontent_uri_utils_unittest.cc21 ASSERT_TRUE(PathExists(data_dir)); in TEST()
28 EXPECT_TRUE(PathExists(path)); in TEST()
/external/chromium-trace/catapult/devil/devil/android/
Dflag_changer_devicetest.py59 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))
Dflag_changer_test.py25 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))
Dflag_changer.py79 if self._device.PathExists(alternate_cmdline_path):
95 if self._device.PathExists(self._cmdline_path):
Dinstall_commands.py29 return device.PathExists(paths)
/external/zlib/google/
Dzip_unittest.cc189 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/
Dwebrtc.ycm_extra_conf.py78 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/
Dzip_unittest.cc215 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/
Djson_value_serializer_unittest.cc410 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/
Dmemory_linux.cc78 if (PathExists(oom_file)) { in AdjustOOMScore()
89 if (PathExists(oom_file)) { in AdjustOOMScore()
/external/libcups/scheduler/
Dorg.cups.cupsd.path.in6 PathExists=@CUPS_CACHEDIR@/org.cups.cupsd key
/external/libjpeg-turbo/gtest/
Dtjbench-gtest-wrapper.cpp68 ASSERT_TRUE(base::PathExists(resource_path)); in SetUpTestSuite()
138 ASSERT_TRUE(base::PathExists(resource_path)); in SetUpTestSuite()
Dgtest-utils.cpp48 ASSERT_TRUE(base::PathExists(*path)); in GetTestFilePath()
/external/libbrillo/policy/
Dpolicy_util.cc18 if (!base::PathExists(policy_path)) { in LoadPolicyFromPath()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc791 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/
Dhadoop_filesystem_test.cc179 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()

123