HomeSort by relevance Sort by last modified time
    Searched refs:Exists (Results 1 - 25 of 41) sorted by null

1 2

  /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)
70 // If the lock file already exists, don't bother to try to create our own
188 // If the file no longer exists, we're done.
189 bool Exists = false;
190 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/llvm/unittests/Support/
FileOutputBufferTest.cpp 62 // Verify file exists and starts with special header.
83 bool Exists = false;
84 ASSERT_NO_ERROR(fs::exists(Twine(File2), Exists));
85 EXPECT_FALSE(Exists);
101 // Verify file exists and starts with special header.
124 // Verify file exists and is executable.
  /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 {
  /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/llvm/tools/llvm-ar/
llvm-ar.cpp 282 // Make sure it exists and is a directory
309 bool Exists;
310 if (sys::fs::exists(aPath.str(), Exists) || !Exists)
713 bool Exists;
714 if (llvm::sys::fs::exists(ArchivePath.str(), Exists) || !Exists) {
  /external/clang/lib/Driver/
ToolChains.cpp 310 bool Exists;
311 if (!llvm::sys::fs::exists(P.str(), Exists) && Exists)
451 // exists.
452 if (llvm::sys::path::is_absolute(env) && llvm::sys::fs::exists(env)) {
629 bool Exists;
636 if (llvm::sys::fs::exists(P.str(), Exists) || !Exists) {
    [all...]
Driver.cpp 1059 bool exists = false; local
    [all...]
  /external/clang/lib/Frontend/
CompilerInstance.cpp 538 // Only create the temporary if the parent directory exists (or create
545 if (llvm::sys::fs::exists(llvm::sys::path::parent_path(AbsPath.str()),
548 bool Exists;
550 ((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 545 /// If the element exists in the map, the returned iterator points to the
546 /// entry and Exists=true. If not, the iterator points to the newly
547 /// inserted entry and returns Exists=false. Newly inserted entries have
551 bool &Exists) {
553 Exists = !IP.second;

Completed in 487 milliseconds

1 2