Home
last modified time | relevance | path

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

12

/external/llvm/lib/Support/
DLockFileManager.cpp32 bool Exists = false; in readLockFile() local
33 if (sys::fs::exists(LockFileName, Exists) || !Exists) in readLockFile()
191 bool Exists = false; in waitForUnlock() local
193 if (!sys::fs::exists(LockFileName.str(), Exists) && !Exists) { in waitForUnlock()
195 Exists = false; in waitForUnlock()
199 if (!sys::fs::exists(FileName.str(), Exists) && Exists) in waitForUnlock()
/external/chromium/testing/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/chromium/chrome/browser/safe_browsing/
Dprefix_set_unittest.cc55 EXPECT_TRUE(prefix_set->Exists(prefixes[i])); in CheckPrefixes()
59 EXPECT_FALSE(prefix_set->Exists(left_sibling)); in CheckPrefixes()
63 EXPECT_FALSE(prefix_set->Exists(right_sibling)); in CheckPrefixes()
163 EXPECT_FALSE(prefix_set.Exists(shared_prefixes_[i])); in TEST_F()
171 EXPECT_FALSE(prefix_set.Exists(-1)); in TEST_F()
172 EXPECT_TRUE(prefix_set.Exists(prefixes[0])); in TEST_F()
173 EXPECT_FALSE(prefix_set.Exists(1)); in TEST_F()
293 EXPECT_FALSE(prefix_set.Exists(kVeryNegative - 100)); in TEST_F()
294 EXPECT_FALSE(prefix_set.Exists(kVeryPositive + 100)); in TEST_F()
300 EXPECT_TRUE(prefix_set.Exists(prefixes[i])); in TEST_F()
[all …]
Dbloom_filter_unittest.cc53 EXPECT_TRUE(filter_copy->Exists(*i)); in TEST()
65 if (filter_copy->Exists(value)) in TEST()
Dprefix_set.h67 bool Exists(SBPrefix prefix) const;
Dbloom_filter.h43 bool Exists(SBPrefix hash) const;
Dfilter_false_positive_perftest.cc180 if (bloom_filter->Exists(prefix)) in GeneratePrefixHits()
346 if (bloom_filter->Exists(prefix)) in TEST()
Dbloom_filter.cc79 bool BloomFilter::Exists(SBPrefix hash) const { in Exists() function in BloomFilter
/external/llvm/tools/llvm-ranlib/
Dllvm-ranlib.cpp73 bool Exists; in main() local
74 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists) { in main()
/external/llvm/unittests/Support/
DFileOutputBufferTest.cpp75 bool Exists = false; in TEST() local
76 ASSERT_NO_ERROR(fs::exists(Twine(File2), Exists)); in TEST()
77 EXPECT_FALSE(Exists); in TEST()
/external/chromium/testing/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()
216 static bool Exists() { in Exists() function
217 return IsSet() || internal::BuiltInDefaultValue<T&>::Exists(); in Exists()
236 static bool Exists() { return true; } in Exists() function
/external/clang/lib/Driver/
DToolChains.cpp254 bool Exists; in AddLinkRuntimeLib() local
255 if (AlwaysLink || (!llvm::sys::fs::exists(P.str(), Exists) && Exists)) in AddLinkRuntimeLib()
380 bool Exists; in AddDeploymentTarget() local
381 if (llvm::sys::fs::exists(A->getValue(), Exists) || !Exists) in AddDeploymentTarget()
542 bool Exists; in AddCXXStdlibLibArgs() local
549 if (llvm::sys::fs::exists(P.str(), Exists) || !Exists) { in AddCXXStdlibLibArgs()
552 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) { in AddCXXStdlibLibArgs()
562 if ((llvm::sys::fs::exists("/usr/lib/libstdc++.dylib", Exists) || !Exists)&& in AddCXXStdlibLibArgs()
563 (!llvm::sys::fs::exists("/usr/lib/libstdc++.6.dylib", Exists) && Exists)){ in AddCXXStdlibLibArgs()
596 bool Exists; in AddCCKextLibArgs() local
[all …]
DDriver.cpp1514 bool Exists; in GetFilePath() local
1515 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) in GetFilePath()
1521 bool Exists; in GetFilePath() local
1522 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) in GetFilePath()
1535 bool Exists; in GetFilePath() local
1536 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) in GetFilePath()
/external/llvm/lib/Archive/
DArchive.cpp71 bool Exists; in replaceWith() local
72 if (sys::fs::exists(newFile.str(), Exists) || !Exists) { in replaceWith()
DArchiveWriter.cpp161 bool Exists; in addFileBefore() local
162 if (sys::fs::exists(filePath.str(), Exists) || !Exists) { in addFileBefore()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp329 bool Exists; in buildPaths() local
330 if (sys::fs::exists(aPath.str(), Exists) || !Exists) in buildPaths()
734 bool Exists; in main() local
735 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists) { in main()
/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
103 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/llvm/lib/Support/Windows/
DPath.inc693 bool Exists;
694 if (fs::exists(path, Exists) || !Exists)
868 bool Exists;
869 if (reuse_current && (fs::exists(path, Exists) || !Exists))
896 } while (!fs::exists(path, Exists) && Exists);
/external/protobuf/gtest/codegear/
Dgtest.groupproj53 …<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\B…
/external/chromium/testing/gtest/codegear/
Dgtest.groupproj53 …<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\B…
/external/libvpx/libvpx/third_party/googletest/src/codegear/
Dgtest.groupproj53 …<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\B…
/external/llvm/lib/Support/Unix/
DProgram.inc363 bool Exists;
364 if (result == 127 && !llvm::sys::fs::exists(path.str(), Exists) && Exists)

12