Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/llvm-project-15.0.7/llvm/test/TableGen/
H A Dexists.td8 int exists = !exists<A>(name);
20 int exists = !exists<B>(name);
32 int exists = !exists<Self_check>(name);
41 // CHECK: int exists = 1;
45 // CHECK: int exists = 0;
49 // CHECK: int exists = 0;
53 // CHECK: int exists = 1;
58 // CHECK: int exists = 0;
62 // CHECK: int exists = 1;
66 // CHECK: int exists = 1;
H A Dexists-error-non-string.td4 //CHECK: expected string type argument in !exists operator
8 defvar value = !exists<A>(123);
H A Dexists-error-uninitialized.td4 //CHECK: expected string type argument in !exists operator
8 defvar value = !exists<A>(?);
H A Dexists-error-record.td4 //CHECK: expected string type argument in !exists operator, please use !isa instead
8 defvar value = !exists<A>(a);
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/
H A Dexists.pass.cpp34 ASSERT_NOEXCEPT(exists(s)); in TEST_CASE()
35 ASSERT_NOEXCEPT(exists(p, ec)); in TEST_CASE()
36 ASSERT_NOT_NOEXCEPT(exists(p)); in TEST_CASE()
59 TEST_CHECK(exists(s) == TC.expect); in TEST_CASE()
67 TEST_CHECK(exists(p) == false); in TEST_CASE()
69 TEST_CHECK(exists(static_env.Dir) == true); in TEST_CASE()
70 TEST_CHECK(exists(static_env.Dir / "dne") == false); in TEST_CASE()
81 TEST_CHECK(exists(p, ec) == false); in TEST_CASE()
102 TEST_CHECK(exists(p, ec) == false); in TEST_CASE()
105 TEST_CHECK_THROW(filesystem_error, exists(p)); in TEST_CASE()
[all …]
/llvm-project-15.0.7/llvm/unittests/Testing/Support/
H A DTempPathTest.cpp30 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
34 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
37 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
40 ASSERT_FALSE(sys::fs::exists(Path)); in TEST()
58 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
62 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
65 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
68 ASSERT_FALSE(sys::fs::exists(Path)); in TEST()
87 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
91 ASSERT_TRUE(sys::fs::exists(Path)); in TEST()
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/omega/
H A Diter9-0.in1 …exists (e0: exprVar2 = 0 and 8e0 >= -15 + exprVar1 and exprVar1 <= 15 and In_1 >= 1 and 8e0 <= exp…
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Drefresh.pass.cpp46 TEST_CHECK(!e.exists()); in TEST_CASE()
82 TEST_CHECK(ent.exists()); in TEST_CASE()
87 TEST_CHECK(!ent.exists()); in TEST_CASE()
94 TEST_CHECK(ent.exists()); in TEST_CASE()
101 TEST_CHECK(!ent.exists()); in TEST_CASE()
126 TEST_CHECK(ent.exists()); in TEST_CASE()
135 TEST_CHECK(!ent.exists()); in TEST_CASE()
145 TEST_CHECK(ent.exists()); in TEST_CASE()
155 TEST_CHECK(!ent.exists()); in TEST_CASE()
309 TEST_CHECK(ent.exists()); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
H A Dfile_type_obs.pass.cpp46 TEST_FUNC(exists); in TEST_CASE()
74 TEST_REQUIRE(e.exists()); in TEST_CASE()
75 TEST_REQUIRE(!exists(p)); in TEST_CASE()
76 TEST_CHECK(e.exists() == exists(st)); in TEST_CASE()
119 TEST_REQUIRE(e.exists(ec)); in TEST_CASE()
121 TEST_REQUIRE(!exists(p)); in TEST_CASE()
123 TEST_CHECK(e.exists(ec) == exists(st)); in TEST_CASE()
179 TEST_CHECK(e.exists(ec) == exists(st)); in TEST_CASE()
245 TEST_CHECK(e.exists(ec) == exists(st)); in TEST_CASE()
/llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/
H A Droman.in3 …exists (e0 = [(np1 - i)/4294967296], e1 = [(-2 + i + i0)/4294967296], e2 = [(i1)/4294967296]: i0 >…
4 [np1, i] -> { : exists (e0 = [(np1 - i)/4294967296]: 4294967296e0 <= np1 - i and 4294967296e0 >= -…
H A Dstride7.in2 { s4[a, b] -> [a, 2, b] : exists (e0 = floor((-2 + a)/64):
4 s2[a, b] -> [a, 2, b] : exists (e0 = floor((-2 + a)/64):
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dcontainer-contains.rst18 ``bool exists = myMap.count(x)`` ``bool exists = myMap.contains(x)``
19 ``bool exists = myMap.count(x) > 0`` ``bool exists = myMap.contains(x)``
20 ``bool exists = myMap.count(x) >= 1`` ``bool exists = myMap.contains(x)``
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/
H A Drename.pass.cpp103 TEST_CHECK(!exists(file)); in TEST_CASE()
113 TEST_CHECK(!exists(file2)); in TEST_CASE()
124 TEST_CHECK(!exists(symlink_status(bad_sym))); in TEST_CASE()
139 TEST_CHECK(!exists(env.Dir)); in TEST_CASE()
141 TEST_CHECK(exists(new_dir / "file1")); in TEST_CASE()
150 TEST_CHECK(!exists(new_dir)); in TEST_CASE()
152 TEST_CHECK(exists(env.NonEmptyFile / "file1")); in TEST_CASE()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DLockFileManagerTest.cpp39 EXPECT_FALSE(sys::fs::exists(LockedFile.str())); in TEST()
75 EXPECT_FALSE(sys::fs::exists(LockedFile.str())); in TEST()
97 EXPECT_TRUE(sys::fs::exists(FileLock.str())); in TEST()
101 EXPECT_FALSE(sys::fs::exists(LockedFile.str())); in TEST()
102 EXPECT_FALSE(sys::fs::exists(FileLock.str())); in TEST()
/llvm-project-15.0.7/lld/MachO/
H A DDriverUtils.cpp116 if (fs::exists(s)) in rewritePath()
124 if (rerootPath(s) == s && fs::exists(s)) in rewriteInputPath()
192 bool tbdExists = fs::exists(tbdPath); in resolveDylibPath()
197 bool dylibExists = fs::exists(dylibPath); in resolveDylibPath()
266 bool exists = fs::exists(location); in findPathCombination() local
267 searchedDylib(location, exists); in findPathCombination()
268 if (exists) in findPathCombination()
292 if (fs::exists(stat)) in getModTime()
308 if (active && fs::exists(path) && !fs::can_write(path)) { in DependencyTracker()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/
H A Dremove_all.pass.cpp110 TEST_CHECK(!exists(symlink_status(p))); in TEST_CASE()
125 TEST_CHECK(!exists(symlink_status(link))); in TEST_CASE()
126 TEST_CHECK(exists(dir)); in TEST_CASE()
127 TEST_CHECK(exists(file)); in TEST_CASE()
151 TEST_CHECK(!exists(symlink_status(p))); in TEST_CASE()
153 TEST_CHECK(exists(out_of_dir_file)); in TEST_CASE()
/llvm-project-15.0.7/clang/test/Parser/
H A Dstmt-attributes.m32 …// expected-warning@-1 {{'nomerge' attribute is ignored because there exists no call expression in…
38 …// expected-warning@-1 {{'nomerge' attribute is ignored because there exists no call expression in…
52 …// expected-warning@-1 {{'nomerge' attribute is ignored because there exists no call expression in…
55 …// expected-warning@-1 {{'nomerge' attribute is ignored because there exists no call expression in…
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/
H A Dcreate_directories.pass.cpp82 TEST_CHECK(!exists(sym_dest_dead)); in TEST_CASE()
83 TEST_CHECK(!exists(dead_sym)); in TEST_CASE()
124 TEST_CHECK(!exists(dir)); in TEST_CASE()
138 TEST_CHECK(!exists(dir)); in TEST_CASE()
161 if (!exists("Q:\\")) in TEST_CASE()
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_from_cdb.py114 os.path.exists(os.path.join(reportdir, 'index.html')))
124 os.path.exists(os.path.join(reportdir, 'index.html')))
134 os.path.exists(os.path.join(reportdir, 'index.html')))
144 os.path.exists(os.path.join(reportdir, 'index.html')))
146 os.path.exists(os.path.join(reportdir, 'results-merged.sarif')))
156 os.path.exists(os.path.join(reportdir, 'index.html')))
158 os.path.exists(os.path.join(reportdir, 'results-merged.sarif')))
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
H A Dcopy.pass.cpp130 TEST_CHECK(!exists(dne)); in TEST_CASE()
137 TEST_CHECK(exists(dest)); in TEST_CASE()
164 TEST_CHECK(!exists(dest)); in TEST_CASE()
180 TEST_CHECK(exists(dest)); in TEST_CASE()
278 TEST_CHECK(exists(dest)); in TEST_CASE()
294 TEST_CHECK(!exists(dest)); in TEST_CASE()
301 TEST_CHECK(!exists(dest)); in TEST_CASE()
315 TEST_CHECK(!exists(dest)); in TEST_CASE()
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Ddirectory_entry.h108 bool exists() const { return _VSTD_FS::exists(file_status{__get_ft()}); } in exists() function
111 bool exists(error_code& __ec) const noexcept { in exists() function
112 return _VSTD_FS::exists(file_status{__get_ft(&__ec)}); in exists()
360 if (__ec && !_VSTD_FS::exists(__st))
380 if (__ec && !_VSTD_FS::exists(__st))
434 if (_VSTD_FS::exists(__st) && !_VSTD_FS::is_regular_file(__st)) {
478 if (_VSTD_FS::exists(__st) &&
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/disconnect/
H A DTestVSCode_disconnect.py46 self.assertFalse(os.path.exists(program + ".side_effect"))
78 self.assertFalse(os.path.exists(program + ".side_effect"))
83 self.assertTrue(os.path.exists(program + ".side_effect"))
/llvm-project-15.0.7/lldb/test/API/functionalities/module_cache/simple_exe/
H A DTestModuleCacheSimple.py67 self.assertEqual(os.path.exists(exe), False,
74 self.assertEqual(os.path.exists(exe), True,
93 self.assertEqual(os.path.exists(symtab_cache_path), True,
/llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/pldi2012/
H A Dfigure8_b.in1 [n] -> { s0[i] -> [i] : exists alpha: 1 <= i <= n and i = 4 alpha;
2 s1[i] -> [i] : exists alpha: 1 <= i <= n and i = 4 alpha + 2 }
/llvm-project-15.0.7/libcxx/utils/
H A Dgenerate_header_inclusion_tests.py9 assert os.path.exists(utils_path)
12 assert os.path.exists(test_path)
13 assert os.path.exists(os.path.join(test_path, 'algorithm.inclusions.compile.pass.cpp'))

12345678910>>...26