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

12

/external/llvm/lib/Support/
H A DLockFileManager.cpp34 bool Exists = false; local
35 if (sys::fs::exists(LockFileName, Exists) || !Exists)
195 bool Exists = false; local
201 if (!sys::fs::exists(LockFileName.str(), Exists) && !Exists) {
204 Exists = false;
211 if (!sys::fs::exists(FileName.str(), Exists) && Exists) {
/external/chromium_org/third_party/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
103 if (Exists(path)) return false;
H A Dgoogletest.cc72 while (!File::Exists(prefix + "/src/google/protobuf")) {
73 if (!File::Exists(prefix)) {
/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
103 if (Exists(path)) return false;
H A Dgoogletest.cc72 while (!File::Exists(prefix + "/src/google/protobuf")) {
73 if (!File::Exists(prefix)) {
/external/chromium/testing/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/llvm/unittests/Support/
H A DFileOutputBufferTest.cpp71 bool Exists = false; local
72 ASSERT_NO_ERROR(fs::exists(Twine(File2), Exists));
73 EXPECT_FALSE(Exists);
/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set.h67 bool Exists(SBPrefix prefix) const;
100 // for |Exists()| under control.
H A Dprefix_set_unittest.cc55 EXPECT_TRUE(prefix_set->Exists(prefixes[i]));
59 EXPECT_FALSE(prefix_set->Exists(left_sibling));
63 EXPECT_FALSE(prefix_set->Exists(right_sibling));
163 EXPECT_FALSE(prefix_set.Exists(shared_prefixes_[i]));
171 EXPECT_FALSE(prefix_set.Exists(-1));
172 EXPECT_TRUE(prefix_set.Exists(prefixes[0]));
173 EXPECT_FALSE(prefix_set.Exists(1));
236 // Use artificial inputs to test various edge cases in Exists().
293 EXPECT_FALSE(prefix_set.Exists(kVeryNegative - 100));
294 EXPECT_FALSE(prefix_set.Exists(kVeryPositiv
[all...]
H A Dbloom_filter_unittest.cc53 EXPECT_TRUE(filter_copy->Exists(*i));
65 if (filter_copy->Exists(value))
H A Dbloom_filter.h43 bool Exists(SBPrefix hash) const;
H A Dfilter_false_positive_perftest.cc180 if (bloom_filter->Exists(prefix))
346 if (bloom_filter->Exists(prefix))
H A Dbloom_filter.cc79 bool BloomFilter::Exists(SBPrefix hash) const { function in class:BloomFilter
/external/chromium_org/chrome/browser/safe_browsing/
H A Dprefix_set.h68 bool Exists(SBPrefix prefix) const;
81 // for |Exists()| under control.
H A Dprefix_set_unittest.cc73 EXPECT_TRUE(prefix_set.Exists(prefixes[i]));
77 EXPECT_FALSE(prefix_set.Exists(left_sibling));
81 EXPECT_FALSE(prefix_set.Exists(right_sibling));
183 EXPECT_FALSE(prefix_set.Exists(shared_prefixes_[i]));
191 EXPECT_FALSE(prefix_set.Exists(-1));
192 EXPECT_TRUE(prefix_set.Exists(prefixes[0]));
193 EXPECT_FALSE(prefix_set.Exists(1));
256 // Use artificial inputs to test various edge cases in Exists().
313 EXPECT_FALSE(prefix_set.Exists(kVeryNegative - 100));
314 EXPECT_FALSE(prefix_set.Exists(kVeryPositiv
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DANTLRFileStream.cs142 if (file.Exists)
/external/chromium_org/chrome/browser/extensions/
H A Dcomponent_loader.h63 bool Exists(const std::string& id) const;
/external/chromium_org/webkit/browser/fileapi/
H A Dfile_system_usage_cache.h53 bool Exists(const base::FilePath& usage_file_path);
/external/chromium/testing/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();
216 static bool Exists() { function in class:testing::DefaultValue
217 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists();
236 static bool Exists() { retur function in class:testing::DefaultValue
[all...]
/external/llvm/lib/Support/Unix/
H A DPath.inc158 bool Exists;
159 error_code EC = sys::fs::exists(ResultPath.begin(), Exists);
162 if (Exists)
/external/chromium_org/v8/src/
H A Dglobal-handles.h370 ASSERT(Exists(singleton));
375 inline bool Exists(SingletonHandle singleton) { function in class:v8::internal::EternalHandles
/external/chromium_org/content/child/fileapi/
H A Dfile_system_dispatcher.h99 void Exists(const GURL& path,
/external/chromium_org/chrome/browser/drive/
H A Dfake_drive_service_unittest.cc61 bool Exists(const std::string& resource_id) { function in class:drive::__anon4910::FakeDriveServiceTest
455 ASSERT_TRUE(Exists("file:2_file_resource_id"));
463 ASSERT_FALSE(Exists("file:2_file_resource_id"));
493 ASSERT_TRUE(Exists("file:2_file_resource_id"));
500 ASSERT_FALSE(Exists("file:2_file_resource_id"));
888 ASSERT_TRUE(Exists("file:2_file_resource_id"));
898 EXPECT_FALSE(Exists("file:2_file_resource_id"));
906 EXPECT_FALSE(Exists("file:2_file_resource_id"));
940 EXPECT_TRUE(Exists("file:2_file_resource_id"));
949 EXPECT_FALSE(Exists("fil
[all...]

Completed in 547 milliseconds

12