Searched refs:Exists (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A 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))
H A 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_fil
[all...]
H A 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('
[all...]
H A Dfake_filesystem_shutil.py34 >>> filesystem.Exists('/dst/new-file')
39 >>> filesystem.Exists('/src/new-file')
84 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):
H A Dfake_tempfile.py76 while not filename or self._filesystem.Exists(filename):
244 while not entryname or self._filesystem.Exists(entryname):
H A 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))
H A Dfake_filesystem.py569 def Exists(self, file_path): member in class: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_di
[all...]
/external/gmock/test/
H A Dgmock-actions_test.cc90 // Tests that BuiltInDefaultValue<T*>::Exists() return true.
92 EXPECT_TRUE(BuiltInDefaultValue<int*>::Exists());
93 EXPECT_TRUE(BuiltInDefaultValue<const char*>::Exists());
94 EXPECT_TRUE(BuiltInDefaultValue<void*>::Exists());
125 // Tests that BuiltInDefaultValue<T>::Exists() returns true when T is a
128 EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::Exists());
129 EXPECT_TRUE(BuiltInDefaultValue<signed char>::Exists());
130 EXPECT_TRUE(BuiltInDefaultValue<char>::Exists());
132 EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::Exists());
133 EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::Exists());
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
H A 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(sel
[all...]
/external/google-breakpad/src/testing/test/
H A Dgmock-actions_test.cc90 // Tests that BuiltInDefaultValue<T*>::Exists() return true.
92 EXPECT_TRUE(BuiltInDefaultValue<int*>::Exists());
93 EXPECT_TRUE(BuiltInDefaultValue<const char*>::Exists());
94 EXPECT_TRUE(BuiltInDefaultValue<void*>::Exists());
125 // Tests that BuiltInDefaultValue<T>::Exists() returns true when T is a
128 EXPECT_TRUE(BuiltInDefaultValue<unsigned char>::Exists());
129 EXPECT_TRUE(BuiltInDefaultValue<signed char>::Exists());
130 EXPECT_TRUE(BuiltInDefaultValue<char>::Exists());
132 EXPECT_TRUE(BuiltInDefaultValue<unsigned wchar_t>::Exists());
133 EXPECT_TRUE(BuiltInDefaultValue<signed wchar_t>::Exists());
[all...]
/external/protobuf/src/google/protobuf/testing/
H A Dfile.h49 static bool Exists(const string& name);
H A Dfile.cc61 bool File::Exists(const string& name) { function in class:google::protobuf::File
121 if (Exists(path)) return false;
H A Dgoogletest.cc72 while (!File::Exists(prefix + "/src/google/protobuf")) {
73 if (!File::Exists(prefix)) {
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DANTLRFileStream.cs142 if (file.Exists)
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem_shutil.py34 >>> filesystem.Exists('/dst/new-file')
39 >>> filesystem.Exists('/src/new-file')
84 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):
H A Dfake_tempfile.py77 while not filename or self._filesystem.Exists(filename):
245 while not entryname or self._filesystem.Exists(entryname):
H A Dfake_filesystem.py587 def Exists(self, file_path): member in class: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_di
[all...]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A 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
[all...]
H A Dcloud_storage_info.py40 return cloud_storage.Exists(self._cs_bucket, self._cs_remote_path)
H A Duploader.py51 if cloud_storage.Exists(self._cs_bucket, self._cs_remote_path):
/external/gmock/include/gmock/
H A Dgmock-actions.h74 static bool Exists() { return false; } function in class:testing::internal::BuiltInDefaultValue
89 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); } function in class:testing::internal::BuiltInDefaultValue
98 static bool Exists() { return true; } function in class:testing::internal::BuiltInDefaultValue
108 static bool Exists() { return true; } \
181 static bool Exists() { function in class:testing::DefaultValue
182 return IsSet() || internal::BuiltInDefaultValue<T>::Exists();
217 static bool Exists() { function in class:testing::DefaultValue
218 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists();
238 static bool Exists() { retur function in class:testing::DefaultValue
[all...]
/external/google-breakpad/src/testing/include/gmock/
H A Dgmock-actions.h74 static bool Exists() { return false; } function in class:testing::internal::BuiltInDefaultValue
89 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); } function in class:testing::internal::BuiltInDefaultValue
98 static bool Exists() { return true; } function in class:testing::internal::BuiltInDefaultValue
108 static bool Exists() { return true; } \
181 static bool Exists() { function in class:testing::DefaultValue
182 return IsSet() || internal::BuiltInDefaultValue<T>::Exists();
217 static bool Exists() { function in class:testing::DefaultValue
218 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists();
238 static bool Exists() { retur function in class:testing::DefaultValue
[all...]
/external/dng_sdk/source/
H A Ddng_xmp_sdk.h101 bool Exists (const char *ns,
H A Ddng_xmp.cpp619 bool dng_xmp::Exists (const char *ns, function in class:dng_xmp
623 return fSDK->Exists (ns, path);
2295 else if (fSDK->Exists (XMP_NS_EXIF, "Flash"))
3566 if (Exists (XMP_NS_EXIF, "GPSVersionID" ) ||
3567 Exists (XMP_NS_EXIF, "GPSLatitude" ) ||
3568 Exists (XMP_NS_EXIF, "GPSLongitude" ) ||
3569 Exists (XMP_NS_EXIF, "GPSAltitude" ) ||
3570 Exists (XMP_NS_EXIF, "GPSTimeStamp" ) ||
3571 Exists (XMP_NS_EXIF, "GPSProcessingMethod"))
4050 if (s.NotEmpty () && !Exists (XMP_NS_PHOTOSHO
[all...]
/external/v8/src/
H A Dglobal-handles.h417 DCHECK(Exists(singleton));
422 inline bool Exists(SingletonHandle singleton) { function in class:v8::internal::EternalHandles

Completed in 882 milliseconds

12