Home
last modified time | relevance | path

Searched refs:Exists (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_shutil_test.py42 self.assertTrue(self.filesystem.Exists(directory))
44 self.assertFalse(self.filesystem.Exists(directory))
51 self.assertTrue(self.filesystem.Exists(src_file))
52 self.assertFalse(self.filesystem.Exists(dst_file))
54 self.assertTrue(self.filesystem.Exists(dst_file))
65 self.assertTrue(self.filesystem.Exists(src_file))
66 self.assertTrue(self.filesystem.Exists(parent_directory))
67 self.assertFalse(self.filesystem.Exists(dst_file))
69 self.assertTrue(self.filesystem.Exists(dst_file))
83 self.assertTrue(self.filesystem.Exists(src_file))
[all …]
Dfake_filesystem_unittest_test.py51 self.assertTrue(self.fs.Exists('/fake_file.txt'))
62 self.assertTrue(self.fs.Exists('/fake_file.txt'))
70 self.assertFalse(self.fs.Exists('/test/dir1/dir2'))
72 self.assertTrue(self.fs.Exists('/test/dir1/dir2'))
89 self.assertTrue(self.fs.Exists('/test/dir1/dir2b'))
90 self.assertTrue(self.fs.Exists('/test/dir1/dir2a'))
93 self.assertFalse(self.fs.Exists('/test/dir1'))
100 self.assertTrue(self.fs.Exists(tf.name))
Dfake_filesystem_test.py222 self.assertRaises(TypeError, self.filesystem.Exists, None)
225 self.assertFalse(self.filesystem.Exists(''))
228 self.assertTrue(self.filesystem.Exists(self.root_name))
231 self.assertFalse(self.filesystem.Exists(self.fake_file.name))
243 self.assertTrue(self.filesystem.Exists(self.fake_file.name))
248 self.assertTrue(self.filesystem.Exists('a/b/../c/file_two'))
249 self.assertTrue(self.filesystem.Exists('/a/c/../b/file_one'))
250 self.assertTrue(self.filesystem.Exists('/a/c/../../a/b/file_one'))
251 self.assertFalse(self.filesystem.Exists('a/b/../z/d'))
252 self.assertFalse(self.filesystem.Exists('a/b/../z/../c/file_two'))
[all …]
Dfake_filesystem_shutil.py84 if self.filesystem.Exists(dst):
112 if not self.filesystem.Exists(dst_dir):
125 if self.filesystem.Exists(dst):
159 if self.filesystem.Exists(dst):
Dfake_filesystem.py569 def Exists(self, file_path): member in FakeFilesystem
641 if not self.Exists(self.NormalizePath(file_path)):
886 if self.Exists(directory_path):
928 if self.Exists(file_path):
935 if not self.Exists(parent_directory):
1008 return self.filesystem.Exists(path)
1557 if not self.filesystem.Exists(old_file):
1562 if self.filesystem.Exists(new_file):
1569 if not self.filesystem.Exists(new_dir):
1651 if not self.filesystem.Exists(base_dir):
[all …]
Dfake_tempfile_test.py141 self.assertTrue(self.filesystem.Exists(temporary[1]))
158 self.assertTrue(self.filesystem.Exists(temporary[1]))
169 self.assertTrue(self.filesystem.Exists(dirname))
Dfake_tempfile.py76 while not filename or self._filesystem.Exists(filename):
244 while not entryname or self._filesystem.Exists(entryname):
/external/gmock/test/
Dgmock-actions_test.cc92 EXPECT_TRUE(BuiltInDefaultValue<int*>::Exists()); in TEST()
93 EXPECT_TRUE(BuiltInDefaultValue<const char*>::Exists()); in TEST()
94 EXPECT_TRUE(BuiltInDefaultValue<void*>::Exists()); in TEST()
128 EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::Exists()); in TEST()
129 EXPECT_TRUE(BuiltInDefaultValue<signed char>::Exists()); in TEST()
130 EXPECT_TRUE(BuiltInDefaultValue<char>::Exists()); in TEST()
132 EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::Exists()); in TEST()
133 EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::Exists()); in TEST()
136 EXPECT_TRUE(BuiltInDefaultValue<wchar_t>::Exists()); in TEST()
138 EXPECT_TRUE(BuiltInDefaultValue<unsigned short>::Exists()); // NOLINT in TEST()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc92 EXPECT_TRUE(BuiltInDefaultValue<int*>::Exists()); in TEST()
93 EXPECT_TRUE(BuiltInDefaultValue<const char*>::Exists()); in TEST()
94 EXPECT_TRUE(BuiltInDefaultValue<void*>::Exists()); in TEST()
128 EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::Exists()); in TEST()
129 EXPECT_TRUE(BuiltInDefaultValue<signed char>::Exists()); in TEST()
130 EXPECT_TRUE(BuiltInDefaultValue<char>::Exists()); in TEST()
132 EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::Exists()); in TEST()
133 EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::Exists()); in TEST()
136 EXPECT_TRUE(BuiltInDefaultValue<wchar_t>::Exists()); in TEST()
138 EXPECT_TRUE(BuiltInDefaultValue<unsigned short>::Exists()); // NOLINT in TEST()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsystem_stub_unittest.py83 self.assertFalse(self.cloud_storage.Exists(self.cloud_storage.PUBLIC_BUCKET,
85 self.assertFalse(self.cloud_storage.Exists(
87 self.assertFalse(self.cloud_storage.Exists(
93 self.assertTrue(self.cloud_storage.Exists(
95 self.assertTrue(self.cloud_storage.Exists(
97 self.assertTrue(self.cloud_storage.Exists(
99 self.assertFalse(self.cloud_storage.Exists(
101 self.assertFalse(self.cloud_storage.Exists(
103 self.assertFalse(self.cloud_storage.Exists(
111 self.assertFalse(self.cloud_storage.Exists(self.cloud_storage.PUBLIC_BUCKET,
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config_unittest.py238 uploader_cs_mock.Exists.return_value = False
272 uploader_cs_mock.Exists.call_args_list)
281 uploader_cs_mock.Exists.return_value = True
320 uploader_cs_mock.Exists.call_args_list)
329 uploader_cs_mock.Exists.return_value = True
362 uploader_cs_mock.Exists.call_args_list)
371 uploader_cs_mock.Exists.return_value = True
406 uploader_cs_mock.Exists.call_args_list)
415 uploader_cs_mock.Exists.return_value = False
456 uploader_cs_mock.Exists.call_args_list)
[all …]
Dcloud_storage_info.py40 return cloud_storage.Exists(self._cs_bucket, self._cs_remote_path)
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_shutil.py84 if self.filesystem.Exists(dst):
112 if not self.filesystem.Exists(dst_dir):
125 if self.filesystem.Exists(dst):
159 if self.filesystem.Exists(dst):
Dfake_filesystem.py587 def Exists(self, file_path): member in FakeFilesystem
659 if not self.Exists(self.NormalizePath(file_path)):
904 if self.Exists(directory_path):
946 if self.Exists(file_path):
953 if not self.Exists(parent_directory):
1026 return self.filesystem.Exists(path)
1575 if not self.filesystem.Exists(old_file):
1580 if self.filesystem.Exists(new_file):
1587 if not self.filesystem.Exists(new_dir):
1669 if not self.filesystem.Exists(base_dir):
[all …]
Dfake_tempfile.py77 while not filename or self._filesystem.Exists(filename):
245 while not entryname or self._filesystem.Exists(entryname):
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h74 static bool Exists() { return false; } in Exists() function
89 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); } in Exists() function
98 static bool Exists() { return true; } in Exists() function
108 static bool Exists() { return true; } \
181 static bool Exists() { in Exists() function
182 return IsSet() || internal::BuiltInDefaultValue<T>::Exists(); in Exists()
217 static bool Exists() { in Exists() function
218 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists(); in Exists()
238 static bool Exists() { return true; } in Exists() function
/external/gmock/include/gmock/
Dgmock-actions.h74 static bool Exists() { return false; } in Exists() function
89 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); } in Exists() function
98 static bool Exists() { return true; } in Exists() function
108 static bool Exists() { return true; } \
181 static bool Exists() { in Exists() function
182 return IsSet() || internal::BuiltInDefaultValue<T>::Exists(); in Exists()
217 static bool Exists() { in Exists() function
218 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists(); in Exists()
238 static bool Exists() { return true; } in Exists() function
/external/llvm/tools/msbuild/
DMicrosoft.Cpp.Win32.llvm.props.in2 …ts\@VS_VERSION@\Microsoft.Cpp.$(Platform).@VS_VERSION@.props" Condition="Exists('$(VCTargetsPath)\…
3 …orms\$(Platform)\PlatformToolsets\@VS_VERSION@\Toolset.props" Condition="Exists('$(VCTargetsPath)\…
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc72 while (!File::Exists(prefix + "/src/google/protobuf")) { in TestSourceDir()
73 if (!File::Exists(prefix)) { in TestSourceDir()
Dfile.cc61 bool File::Exists(const string& name) { in Exists() function in google::protobuf::File
121 if (Exists(path)) return false; in RecursivelyCreateDir()
Dfile.h49 static bool Exists(const string& name);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRFileStream.cs142 if (file.Exists) in GetFileLength()
/external/curl/tests/data/
Dtest53116 REPLY STOR 425 Permission Denied. File Exists.
/external/v8/src/
Dglobal-handles.h413 DCHECK(Exists(singleton)); in GetSingleton()
418 inline bool Exists(SingletonHandle singleton) { in Exists() function
/external/dng_sdk/source/
Ddng_xmp.cpp619 bool dng_xmp::Exists (const char *ns, in Exists() function in dng_xmp
623 return fSDK->Exists (ns, path); in Exists()
2295 else if (fSDK->Exists (XMP_NS_EXIF, "Flash")) in SyncFlash()
3566 if (Exists (XMP_NS_EXIF, "GPSVersionID" ) || in SyncExif()
3567 Exists (XMP_NS_EXIF, "GPSLatitude" ) || in SyncExif()
3568 Exists (XMP_NS_EXIF, "GPSLongitude" ) || in SyncExif()
3569 Exists (XMP_NS_EXIF, "GPSAltitude" ) || in SyncExif()
3570 Exists (XMP_NS_EXIF, "GPSTimeStamp" ) || in SyncExif()
3571 Exists (XMP_NS_EXIF, "GPSProcessingMethod")) in SyncExif()
4050 if (s.NotEmpty () && !Exists (XMP_NS_PHOTOSHOP, "DateCreated")) in UpdateExifDates()

12