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

12

/external/llvm/tools/llvm-ranlib/
H A Dllvm-ranlib.cpp73 bool Exists; local
74 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists)
/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/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
H A Dprefix_set.cc108 bool PrefixSet::Exists(SBPrefix prefix) const { function in class:safe_browsing::PrefixSet
/external/clang/lib/Driver/
H A DToolChains.cpp351 bool Exists; local
352 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
357 bool Exists; local
358 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
398 bool Exists; local
399 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
659 bool Exists;
1394 bool Exists; local
1477 bool Exists; local
1489 bool Exists; local
[all...]
H A DDriver.cpp1448 bool Exists; local
1449 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
1455 bool Exists; local
1456 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
1469 bool Exists; local
1470 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
1478 bool Exists; local
[all...]
/external/llvm/lib/Archive/
H A DArchive.cpp70 bool Exists; local
71 if (sys::fs::exists(newFile.str(), Exists) || !Exists) {
H A DArchiveWriter.cpp160 bool Exists; local
161 if (sys::fs::exists(filePath.str(), Exists) || !Exists) {
/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/tools/llvm-ar/
H A Dllvm-ar.cpp314 bool Exists; local
315 if (sys::fs::exists(aPath.str(), Exists) || !Exists)
720 bool Exists; local
721 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists) {
/external/clang/lib/Frontend/
H A DCompilerInstance.cpp514 bool Exists; local
515 if ((llvm::sys::fs::exists(OutPath.str(), Exists) || !Exists) ||
749 bool Exists = false; local
750 if (llvm::sys::fs::exists(LockFileName, Exists) || !Exists)
906 bool Exists = false; local
907 if (!llvm::sys::fs::exists(LockFileName.str(), Exists) && !Exists)
/external/llvm/lib/Support/Unix/
H A DPathV2.inc410 bool Exists;
411 if (error_code ec = exists(Twine(dir_to_create), Exists)) return ec;
412 if (!Exists) {
H A DProgram.inc363 bool Exists;
364 if (result == 127 && !llvm::sys::fs::exists(path.str(), Exists) && Exists)
/external/clang/lib/Lex/
H A DHeaderSearch.cpp265 bool Exists; local
266 if (llvm::sys::fs::exists(FrameworkName.str(), Exists) || !Exists)
/external/llvm/lib/Support/Windows/
H A DPathV2.inc609 bool Exists;
610 if (error_code ec = exists(Twine(dir_to_create), Exists)) return ec;
611 if (!Exists) {
/external/llvm/lib/VMCore/
H A DConstants.cpp1952 bool Exists; local
1954 pImpl->ArrayConstants.InsertOrGetItem(Lookup, Exists);
1956 if (Exists) {
2029 bool Exists; local
2031 pImpl->StructConstants.InsertOrGetItem(Lookup, Exists);
2033 if (Exists) {
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc336 if (File::Exists(dirnames_[i])) {

Completed in 302 milliseconds

12