Home
last modified time | relevance | path

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

12

/external/perf_data_converter/src/quipper/
Dscoped_temp_path_test.cc32 bool PathExists(const string& path) { in PathExists() function
76 EXPECT_TRUE(PathExists(path)) << path; in TEST()
82 EXPECT_FALSE(PathExists(path)) << path; in TEST()
92 EXPECT_TRUE(PathExists(path)) << path; in TEST()
96 EXPECT_FALSE(PathExists(path)) << path; in TEST()
106 EXPECT_TRUE(PathExists(paths[i])) << paths[i]; in TEST()
110 EXPECT_FALSE(PathExists(paths[i])) << paths[i]; in TEST()
120 EXPECT_TRUE(PathExists(path)) << path; in TEST()
127 EXPECT_FALSE(PathExists(path)) << path; in TEST()
137 EXPECT_TRUE(PathExists(path)) << path; in TEST()
[all …]
/external/libchrome/base/files/
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 …]
/external/perfetto/src/base/
Dtemp_file_unittest.cc28 bool PathExists(const std::string& path) { in PathExists() function
42 ASSERT_TRUE(PathExists(path)); in TEST()
61 ASSERT_FALSE(PathExists(path)); in TEST()
97 ASSERT_FALSE(PathExists(path)); in TEST()
108 ASSERT_TRUE(PathExists(td.path())); in TEST()
111 ASSERT_FALSE(PathExists(path)); in TEST()
/external/chromium-trace/catapult/devil/devil/android/
Dflag_changer_devicetest.py57 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy))
63 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy))
78 self.assertFalse(self.device.PathExists(self.cmdline_path))
82 self.assertTrue(self.device.PathExists(self.cmdline_path))
84 self.assertFalse(self.device.PathExists(self.cmdline_path))
Dflag_changer_test.py24 def PathExists(self, filepath): member in _FakeDevice
47 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy))
53 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy))
57 self.assertTrue(self.device.PathExists(self.cmdline_path))
64 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.py30 return device.PathExists(paths)
/external/v8/
D.ycm_extra_conf.py51 def PathExists(*args): function
67 while not (PathExists(curdir, 'v8') and PathExists(curdir, 'v8', 'DEPS')
68 and (PathExists(curdir, '.gclient')
69 or PathExists(curdir, 'v8', '.git'))):
/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()
Djson_file_value_serializer.cc72 if (!base::PathExists(json_file_path_)) in ReadFileToString()
/external/libchrome/base/process/
Dmemory_linux.cc78 if (PathExists(oom_file)) { in AdjustOOMScore()
89 if (PathExists(oom_file)) { in AdjustOOMScore()
/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()
Dpersistent_histogram_allocator.cc684 bool exists = PathExists(file_path); in CreateWithFile()
719 DCHECK(!base::PathExists(active_path)); in CreateWithActiveFile()
724 DCHECK(!base::PathExists(spare_path)); in CreateWithActiveFile()
/external/autotest/client/site_tests/camera_V4L2/src/
Dcamera_characteristics.cc91 return base::PathExists(kCameraCharacteristicsConfigFile); in ConfigFileExists()
106 CHECK(base::PathExists(config_file)) in InitFrom()
/external/libbrillo/policy/
Dpolicy_util.cc18 if (!base::PathExists(policy_path)) { in LoadPolicyFromPath()
Dresilient_policy_util.cc20 if (!base::PathExists(directory)) in GetSortedResilientPolicyFilePaths()
Ddevice_policy_impl.cc43 if (!base::PathExists(key_file)) in ReadPublicKeyFromFile()
668 if (!base::PathExists(policy_path) || !base::PathExists(keyfile_path_)) { in VerifyPolicyFile()
/external/libchrome/base/
Dbase_paths.cc41 if (!PathExists(test_data_path)) // We don't want to create this. in PathProvider()
Dbase_paths_posix.cc90 if (PathExists(path)) { in PathProviderPosix()
Dpath_service.cc255 if (!PathExists(file_path) && !CreateDirectory(file_path)) in OverrideAndCreateIfNeeded()
/external/libchrome/base/test/metrics/
Dhistogram_enum_reader.cc96 if (!PathExists(enums_xml)) { in ReadEnumFromEnumsXml()
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dwalt_agent.py72 if self._device_utils.PathExists(TRACE_FILE_PATH):
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py262 if device.PathExists(path):
374 if device.PathExists(path):

12