/external/llvm/lib/Support/ |
LockFileManager.cpp | 23 /// \brief Attempt to read the lock file with the given name, if it exists. 30 // Check whether the lock file exists. If not, clearly there's nothing 32 bool Exists = false; 33 if (sys::fs::exists(LockFileName, Exists) || !Exists) 71 // If the lock file already exists, don't bother to try to create our own 189 // If the file no longer exists, we're done. 190 bool Exists = false; 191 if (!sys::fs::exists(LockFileName.str(), Exists) && !Exists [all...] |
/external/llvm/tools/llvm-ranlib/ |
llvm-ranlib.cpp | 72 // Make sure it exists, we don't create empty archives 73 bool Exists; 74 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists)
|
/external/protobuf/src/google/protobuf/testing/ |
file.h | 48 // Check if the file exists. 49 static bool Exists(const string& name);
|
file.cc | 61 bool File::Exists(const string& name) { 103 if (Exists(path)) return false;
|
googletest.cc | 72 while (!File::Exists(prefix + "/src/google/protobuf")) { 73 if (!File::Exists(prefix)) {
|
/external/chromium/testing/gmock/test/ |
gmock-actions_test.cc | 90 // 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/ |
bloom_filter.h | 43 bool Exists(SBPrefix hash) const;
|
prefix_set.h | 67 bool Exists(SBPrefix prefix) const; 100 // for |Exists()| under control.
|
prefix_set_unittest.cc | 55 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(kVeryPositive + 100)) [all...] |
bloom_filter_unittest.cc | 51 // Check no false negatives by ensuring that every time we inserted exists. 53 EXPECT_TRUE(filter_copy->Exists(*i)); 65 if (filter_copy->Exists(value))
|
filter_false_positive_perftest.cc | 180 if (bloom_filter->Exists(prefix)) 346 if (bloom_filter->Exists(prefix))
|
bloom_filter.cc | 79 bool BloomFilter::Exists(SBPrefix hash) const {
|
prefix_set.cc | 108 bool PrefixSet::Exists(SBPrefix prefix) const {
|
safe_browsing_database.cc | 608 bool found = prefix_set_->Exists(full_hashes[i].prefix); 610 if (browse_bloom_filter_->Exists(full_hashes[i].prefix)) { 620 // there's a bug with how |Exists()| is implemented. 630 // error in |PrefixSet::Exists()|. If the item is in the [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRFileStream.cs | 142 if (file.Exists)
|
/external/chromium/testing/gmock/include/gmock/ |
gmock-actions.h | 74 static bool Exists() { return false; } 89 static bool Exists() { return BuiltInDefaultValue<T>::Exists(); } 98 static bool Exists() { return true; } 108 static bool Exists() { return true; } \ 180 // exists a built-in default value. 181 static bool Exists() { 182 return IsSet() || internal::BuiltInDefaultValue<T>::Exists(); 215 // exists a built-in default value. 216 static bool Exists() { [all...] |
/external/llvm/lib/Archive/ |
Archive.cpp | 70 bool Exists; 71 if (sys::fs::exists(newFile.str(), Exists) || !Exists) {
|
ArchiveWriter.cpp | 160 bool Exists; 161 if (sys::fs::exists(filePath.str(), Exists) || !Exists) {
|
/external/clang/lib/Driver/ |
ToolChains.cpp | 349 bool Exists; 350 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) 355 bool Exists; 356 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists) 396 bool Exists; 397 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists [all...] |
Driver.cpp | 988 bool exists = false; local [all...] |
/external/llvm/tools/llvm-ar/ |
llvm-ar.cpp | 287 // Make sure it exists and is a directory 314 bool Exists; 315 if (sys::fs::exists(aPath.str(), Exists) || !Exists) 720 bool Exists; 721 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists) {
|
/external/clang/lib/Frontend/ |
CompilerInstance.cpp | 543 // Only create the temporary if the parent directory exists (or create 550 if (llvm::sys::fs::exists(llvm::sys::path::parent_path(AbsPath.str()), 553 bool Exists; 555 ((llvm::sys::fs::exists(AbsPath.str(), Exists) || !Exists) || [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
importer_unittest.cc | 336 if (File::Exists(dirnames_[i])) {
|
command_line_interface_unittest.cc | 211 // If the temp directory already exists, it must be left over from a 213 if (File::Exists(temp_directory_)) { [all...] |
/external/llvm/lib/VMCore/ |
ConstantsContext.h | 538 /// If the element exists in the map, the returned iterator points to the 539 /// entry and Exists=true. If not, the iterator points to the newly 540 /// inserted entry and returns Exists=false. Newly inserted entries have 544 bool &Exists) { 546 Exists = !IP.second;
|